Share via


FindMediaType

Send Feedback

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

Syntax

HRESULT FindMediaType(
  LPCSTR rgszTypes,
  CLIPFORMAT * rgcfTypes
);

Parameters

  • rgszTypes
    Address of a string value that identifies the media type.
  • rgcfTypes
    Address of the CLIPFORMAT value assigned to the specified media type.

Return Values

Returns S_OK if successful, or an error value otherwise.

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.