?/TD>
Microsoft DirectX 9.0

IDirectXFileBinary::GetMimeType Method


Retrieves the Multipurpose Internet Mail Extensions (MIME) type for the binary data.

Syntax

HRESULT GetMimeType(      

    LPCSTR *pszMimeType );

Parameters

pszMimeType
[out] Address of a pointer to receive the MIME type string.

Return Value

If the method succeeds, the return value is DXFILE_OK.

If the method fails, the return value can be DXFILEERR_BADVALUE.



Remarks

When there is no MIME type specified in a Microsoft?DirectX?file for a binary object, the function will set pszMimeType to NULL.



© 2002 Microsoft Corporation. All rights reserved.