DXUTSetCallbackKeyboard
Microsoft DirectX 9.0 SDK Update (October 2004)

DXUTSetCallbackKeyboard Function


Sets the keyboard event callback function.

Syntax

VOID DXUTSetCallbackKeyboard(      

    LPDXUTCALLBACKKEYBOARD pCallbackKeyboard );

Parameters

pCallbackKeyboard
[in] Pointer to a LPDXUTCALLBACKKEYBOARD keyboard event callback function. If supplied, the callback function will be called for keyboard events.

If NULL, the sample framework will not notify the application about keyboard events.

Return Value

No return value.

Remarks

The pCallbackKeyboard keyboard event callback function will be called when any one of the following keyboard events occurs:

This callback mechanism is provided to simplify handling keyboard messages through the windows message pump, but does not preclude the application from handling those messages directly through the Microsoft Windows WindowProc World Wide Web link callback function.

Function Information

Headerdxut.h
Import libraryNone
Minimum operating systems Windows 98

See Also

Message Events, LPDXUTCALLBACKKEYBOARD, LPDXUTCALLBACKMOUSE, LPDXUTCALLBACKMSGPROC, DXUTSetCallbackMouse, DXUTSetCallbackMsgProc, WindowProc World Wide Web link


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