- vih
- A VideoInfoHeader structure containing the format data to set.
Visual Basic (Declaration) | |
---|---|
Public Sub SetVideoFormatData( _ ByVal vih As VideoInfoHeader _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As MediaType Dim vih As VideoInfoHeader instance.SetVideoFormatData(vih) |
C# | |
---|---|
public void SetVideoFormatData( VideoInfoHeader vih ) |
C++/CLI | |
---|---|
public: void SetVideoFormatData( VideoInfoHeader vih ) |
Parameters
- vih
- A VideoInfoHeader structure containing the format data to set.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7