D3DVALIDATECALLBACK

D3DVALIDATECALLBACK is the application-defined callback function supplied when an application calls 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.

typedef HRESULT (WINAPI* LPD3DVALIDATECALLBACK)

(LPVOID lpUserArg,

DWORD dwOffset

);

Parameters

lpUserArg

Address of application-defined data passed to this callback function.

dwOffset

Offset into the execute buffer at which the system found an error.

Remarks

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.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in d3dtypes.h.
  Import Library: User-defined.