Microsoft DirectX 8.1 (C++) |
Retrieves the data for one of the object's members or the data for all members.
HRESULT GetData( LPCSTR szMember, DWORD* pcbSize, void** ppvData );
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_BADARRAYSIZE |
DXFILEERR_BADDATAREFERENCE |
DXFILEERR_BADVALUE |
This method retrieves the data for required members of a data object but no data for optional (child) members. Use IDirectXFileData::GetNextObject to retrieve child objects.
Header: Declared in Dxfile.h.
Import Library: Use D3dxof.lib.