This topic has not yet been rated - Rate this topic

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Product

Internet Explorer 3.0

Header

Urlmon.h

Library

Urlmon.lib

DLL

Urlmon.dll

See also

Reference
RegisterMediaTypeClass
RegisterMediaTypes

 

 

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.