Microsoft DirectX 8.1 (C++)

IVideoWindow::HideCursor

The HideCursor method hides the cursor.

Syntax

HRESULT HideCursor(
    long HideCursor
);

Parameters

HideCursor

[in] Specifies whether to hide or display the cursor. Must be one of the following values:

Value Description
OATRUE Hide the cursor.
OAFALSE Display the cursor.

Return Values

Possible return values include the following:

Value Description
E_INVALIDARG Invalid argument.
S_OK Success.
VFW_E_NOT_CONNECTED The pins are not connected.

See Also