Microsoft DirectX 8.1 (C++) |
The GetCompressor method retrieves a compression filter for the specified media type. This method is not supported.
Syntax
HRESULT GetCompressor(
AM_MEDIA_TYPE *pType,
AM_MEDIA_TYPE *pCompType,
IBaseFilter **ppFilter
);
Parameters
pType
Pointer to an AM_MEDIA_TYPE structure that describes the uncompressed media type.
pCompType
Pointer to an AM_MEDIA_TYPE structure that describes the compression format.
ppFilter
[out] Address of variable that receives a pointer to the compression filter's IBaseFilter interface. If the method fails, it sets this pointer to NULL.
Return Value
Returns S_OK if successful. Otherwise, returns an error code that depends on the implementation.
See Also