InitMouse()

Syntax

Result = InitMouse()
Description
Initializes the Mouse environment for later use. You should call this function before any other functions in this library. If the result is null, no mouse is available.

Parameters

None.

Return value

Nonzero if the mouse functions are availables, zero otherwise. This function tries to open DirectX (v3.0 with NT4.0 compatibility or v7.0 else); if it fails then DirectX is either not available or is too old be used.

Supported OS

All

<- ExamineMouse() - Mouse Index - MouseButton() ->