Microsoft DirectX 9.0 |
The EnumMediaTypes method enumerates the pin's preferred media types. This method implements the IPin::EnumMediaTypes method.
Syntax
HRESULT EnumMediaTypes(
IEnumMediaTypes **ppEnum
);
Parameters
ppEnum
Address of a variable that receives a pointer to the IEnumMediaTypes interface.
Return Value
Returns an HRESULT value. Possible values include those shown in the following table.
Value | Description |
S_OK | Success. |
E_OUTOFMEMORY | Insufficient memory. |
E_POINTER | NULL pointer. |
VFW_E_NOT_CONNECTED | The output pin is not connected. |
Remarks
This method returns the IEnumMediaTypes interface from downstream input pin.
See Also