Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/26/2014
This function converts a VIDEOINFO stream format to a VIDEOINFOHEADER2 format.
Syntax
STDAPI ConvertVideoInfoToVideoInfo2(
AM_MEDIA_TYPE* pmt
);
Parameters
- pmt
[in/out] Pointer to the AM_MEDIA_TYPE enumerated type.
Return Value
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.
Value |
Description |
|---|---|
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.
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |