InitKeyboard()

Syntax

Result = InitKeyboard()
Description
Initializes the keyboard environment for later use. This function has to be called before any other function in this library.

Parameters

None.

Return value

Nonzero if the keyboard access can be initialized, zero otherwise. If this function fails while trying to open DirectX, it is most likely due to the fact that DirectX is not available on the system or the version currently installed is out of date. The DirectX recommendations are: DirectX version v3.0 for NT4.0 compatibility or DirectX version v7.0 under all other circumstances.

Supported OS

All

<- ExamineKeyboard() - Keyboard Index - KeyboardInkey() ->