Attempts to retrieve the CLSID for the specified media type.
HRESULT FindMediaTypeClass(
LPBC
pbc, //Pointer to the bind context
LPCSTR szType, //Media types
CLSID *pclsID, //Pointer to the CLSID
DWORD dwReserved //Reserved for future use; must be zero
);
Parameters
pbc
[in] Pointer to the bind context on which the media type is registered.
szType
[in] String identifying the media types. This parameter cannot be NULL.
pclsID
[out] Pointer to the CLSID corresponding to the specified media types in szType.
dwReserved
[in] Reserved for future use; must be zero.
Return Values
S_OK
The operation was successful.
E_INVALIDARG
One or more parameters are invalid.
See Also
RegisterMediaTypeClass, RegisterMediaTypes