Contents Index Topic Contents | ||
Previous Topic: FindMediaType Next Topic: FindMimeFromData |
FindMediaTypeClass
HRESULT FindMediaTypeClass( [in] LPBC pbc, [in] LPCSTR szType, [out] CLSID *pclsID, [in] DWORD dwReserved );Retrieves the CLSID for the specified media type.
- Returns S_OK if successful, or E_INVALIDARG if one or more parameters are invalid.
- pbc
- Address of the bind context on which the media type is registered.
- szType
- String identifying the media types. This parameter cannot be NULL.
- pclsID
- Address of the CLSID corresponding to the specified media types in szType.
- dwReserved
- Reserved for future use; must be zero.
See also RegisterMediaTypeClass, RegisterMediaTypes
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.