ID3DXAnimationSet::GetCallback

Gets information about a specific callback in the animation set.

HRESULT GetCallback(
  DOUBLE Position,
  DWORD Flags,
  DOUBLE * pCallbackPosition,
  LPVOID * ppCallbackData
);

Parameters

Position
[in] Position from which to find callbacks.
Flags
[in] Callback search flags. This parameter can be set to a combination of one or more flags from D3DXCALLBACK_SEARCH_FLAGS.
pCallbackPosition
[out] Pointer to the position of the callback.
ppCallbackData
[out] Address of the callback data pointer.

Return Values

The return values of this method are implemented by an application programmer. In general, if no error occurs, program the method to return D3D_OK. Otherwise, program the method to return an appropriate error message from D3DERR or D3DXERR.

Requirements

Header: Declared in D3dx9anim.h.