ConvertVideoInfoToVideoInfo2
Converts a VIDEOINFO stream format to a VIDEOINFOHEADER2 format.
STDAPI ConvertVideoInfoToVideoInfo2(
AM_MEDIA_TYPE *pmt);
Parameters
- pmt
[in/out] Pointer to the AM_MEDIA_TYPE enumerated type.
Return Values
Returns an HRESULT value that depends on the implementation of the interface. HRESULT can include one of the following standard constants, or other values not listed.
| E_OUTOFMEMORY | Operation ran out of memory. |
| S_OK | Success. |
Remarks
If successful, this function modifies the formattype member of AM_MEDIA_TYPE to change its registered GUID from a VIDEOINFO type to a VIDEOINFOHEADER2 type.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.