ID3DXAnimationSet::GetCallback method
Gets information about a specific callback in the animation set.
Syntax
HRESULT GetCallback(
[in] DOUBLE Position,
[in] DWORD Flags,
[out] DOUBLE *pCallbackPosition,
[out] LPVOID *ppCallbackData
);
Parameters
-
Position [in]
-
Type: DOUBLE
Position from which to find callbacks.
-
Flags [in]
-
Type: DWORD
Callback search flags. This parameter can be set to a combination of one or more flags from D3DXCALLBACK_SEARCH_FLAGS.
-
pCallbackPosition [out]
-
Type: DOUBLE*
Pointer to the position of the callback.
-
ppCallbackData [out]
-
Type: LPVOID*
Address of the callback data pointer.
Return value
Type: HRESULT
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
Requirement | Value |
---|---|
Header |
|
Library |
|
See also