DXUTIsKeyDown
Microsoft DirectX 9.0 SDK Update (October 2004)

DXUTIsKeyDown Function


Indicates whether a specified keyboard key is up or down at the time the function is called.

Syntax

BOOL DXUTIsKeyDown(      

    BYTE vKey );

Parameters

vKey
[in] Virtual key code World Wide Web link of a keyboard key. For example VK_F1, VK_LSHIFT, VK_RCONTROL, VK_RMENU, and 41 (representing the 'A' key).

Return Value

TRUE if the specified vKey keyboard key is down; FALSE otherwise.

Function Information

Headerdxut.h
Import libraryNone
Minimum operating systems Windows 98

See Also

DXUTIsMouseButtonDown


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