IDirectXFileBinary::GetMimeType method

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

Syntax

HRESULT GetMimeType(
  [out] LPCSTR *pszMimeType
);

Parameters

pszMimeType [out]

Type: LPCSTR*

Address of a pointer to receive the MIME type string.

Return value

Type: HRESULT

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 DirectX file for a binary object, the function will set pszMimeType to NULL.

Requirements

Requirement Value
Header
DXFile.h
Library
D3dxof.lib

See also

IDirectXFileBinary