InitKeyboard()

语法

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

参数

无.

返回值

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.

已支持操作系统

所有

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