FindMediaTypeClass
Retrieves the CLSID for the specified media type.
Syntax
HRESULT FindMediaTypeClass(
LPBC pBC,
LPCSTR szType,
CLSID * pclsID,
DWORD Reserved
);
Parameters
- pBC
[in] Address of the bind context on which the media type is registered. - szType
[in] String identifying the media types. This parameter cannot be NULL. - pclsID
[out] Address of the CLSID corresponding to the specified media types in szType. - Reserved
[in] Reserved. Must be set to zero.
Return Values
Returns S_OK if successful, or E_INVALIDARG if one or more parameters are invalid.
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: urlmon.h
Library: urlmon.lib
See Also
URL Moniker Services Functions | RegisterMediaTypeClass | RegisterMediaTypes
Send Feedback on this topic to the authors