Microsoft DirectX 8.0 (C++) |
Copies the private data associated with the resource to a provided buffer.
HRESULT GetPrivateData( REFGUID refguid, void* pData, DWORD* pSizeOfData );
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be one of the following values.
D3DERR_INVALIDCALL |
D3DERR_MOREDATA |
D3DERR_NOTFOUND |
This method applies to the following interfaces, which inherit from IDirect3DResource8.
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.
IDirect3DResource8::FreePrivateData, IDirect3DResource8::SetPrivateData