LPDXUTCALLBACKTIMER
Microsoft DirectX 9.0 SDK Update (October 2004)

LPDXUTCALLBACKTIMER Prototype


A timer to be called at specified time intervals by the sample framework.

Syntax

typedef VOID (CALLBACK *LPDXUTCALLBACKTIMER)(      

    UINT idEvent );

Parameters

idEvent
[in] Specifies a nonzero timer event identifier (ID). Indicates which timer generated the event, allowing the application to use a single callback function for multiple timers.

Return Value

No return value.

Remarks

The framework will call this function at the start of the frame, before calling LPDXUTCALLBACKFRAMEMOVE or LPDXUTCALLBACKFRAMERENDER.

In general, the framework timer is more accurate than the Microsoft Windows WM_TIMER World Wide Web link system timer, since the framework uses QueryPerformanceCounter World Wide Web link.

Prototype Information

Headerdxut.h
Import libraryNone
Minimum operating systems Windows 98

See Also

DXUTSetTimer, DXUTKillTimer


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.