LEADTOOLS Multimedia (Leadtools.Multimedia assembly)
LEAD Technologies, Inc

SetVideoFormatData Method






A VideoInfoHeader structure containing the format data to set.
Copies data to the video format buffer.
Syntax
public void SetVideoFormatData( 
   VideoInfoHeader vih
)
'Declaration
 
Public Sub SetVideoFormatData( _
   ByVal vih As VideoInfoHeader _
) 
'Usage
 
Dim instance As MediaType
Dim vih As VideoInfoHeader
 
instance.SetVideoFormatData(vih)
public void SetVideoFormatData( 
   VideoInfoHeader vih
)
 function Leadtools.Multimedia.MediaType.SetVideoFormatData( 
   vih 
)
public:
void SetVideoFormatData( 
   VideoInfoHeader vih
) 

Parameters

vih
A VideoInfoHeader structure containing the format data to set.
Remarks
Copies data to the video format buffer. This is a helper method which internally sets the unmanaged memory size of the VideoInfoHeader structure and then calls MediaType.SetFormatData marshalling the structure to a byte array. If the method fails, an error is raised. For more information, refer to the Error Codes.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MediaType Class
MediaType Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Multimedia requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features