Microsoft DirectX 8.1 (C++) |
Creates a binary object and adds it as a child object.
HRESULT AddBinaryObject( LPCSTR szName, const GUID* pguid, LPCSTR szMimeType, LPVOID pvData, DWORD cbSize );
If the method succeeds, the return value is DXFILE_OK.
If the method fails, the return value can be one of the following values.
DXFILEERR_BADALLOC |
DXFILEERR_BADVALUE |
Header: Declared in Dxfile.h.
Import Library: Use D3dxof.lib.