FindMediaType function

Retrieves the 32-bit value assigned to the specified media type.

Syntax

HRESULT FindMediaType(
   LPCSTR     rgszTypes,
   CLIPFORMAT *rgcfTypes
);

Parameters

  • rgszTypes
    The address of a string value that identifies the media type.

  • rgcfTypes
    The address of the CLIPFORMAT value assigned to the specified media type.

Return value

Returns S_OK if successful, or an error value otherwise.

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