Microsoft DirectX 8.0 (C++)

IDirectXFileBinary::GetMimeType

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

HRESULT GetMimeType(
  LPCSTR* pszMimeType
);

Parameters

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

Return Values

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.

Requirements

  Header: Declared in Dxfile.h.
  Import Library: Use D3dxof.lib.