Microsoft DirectX 8.1 (C++) |
Creates and adds a data reference object as a child object.
HRESULT AddDataReference( LPCSTR szRef, const GUID* pguidRef );
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 |
For this method to succeed, either the szRef or pguidRef parameter must be non-NULL.
Header: Declared in Dxfile.h.
Import Library: Use D3dxof.lib.