Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 907 Bytes

FindMediaType.md

File metadata and controls

47 lines (32 loc) · 907 Bytes

Home

Function name : FindMediaType

Group: URL Monikers - Library: urlmon


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


Code examples:

Using the FindMediaType function

Declaration:

HRESULT FindMediaType(
	LPCSTR rgszTypes,
	CLIPFORMAT* rgcfTypes
);  

FoxPro declaration:

DECLARE INTEGER FindMediaType IN urlmon;
	STRING    rgszTypes,;
	INTEGER @ 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 value:

Returns S_OK (0) if successful, or an error value otherwise.