The D3DValidateCallback function is an application-defined callback function for the IDirect3DExecuteBuffer::Validate method. The IDirect3DExecuteBuffer::Validate method is not currently implemented.
IDirect3DExecuteBuffer::Validate is a debugging routine that checks the execute buffer and returns an offset into the buffer when any errors are encountered.
HRESULT CALLBACK D3DValidateCallback(
LPVOID lpUserArg,
DWORD dwOffset
);
Applications should return D3DENUMRET_OK to continue the enumeration, or D3DENUMRET_CANCEL to cancel it.
When determining the order in which to call callback functions, the system searches the objects highest in the hierarchy first, and then calls their callback functions in the order in which they were created.
The LPD3DVALIDATECALLBACK data type is defined as a pointer to this callback function:
typedef HRESULT (WINAPI* LPD3DVALIDATECALLBACK)(LPVOID lpUserArg, DWORD dwOffset);
Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in d3dtypes.h.
Import Library: User-defined.