Export (0) Print
Expand All

FindMediaTypeClass function

Retrieves the CLSID for the specified media type.

Syntax


HRESULT FindMediaTypeClass(
  _In_        LPBC pbc,
  _In_        LPCSTR szType,
  _Out_       CLSID *pclsID,
  _Reserved_  DWORD dwReserved
);

Parameters

pbc [in]

A pointer to the bind context on which the media type is registered.

szType [in]

A string identifying the media types. This parameter cannot be NULL.

pclsID [out]

A pointer to the CLSID corresponding to the specified media types in szType.

dwReserved [in]

Reserved. Must be set to 0.

Return value

Returns S_OK if successful, or E_INVALIDARG if one or more parameters are invalid.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 3.0

Header

Urlmon.h

Library

Urlmon.lib

DLL

Urlmon.dll

See also

Reference
RegisterMediaTypeClass
RegisterMediaTypes

 

 

Show:
© 2014 Microsoft