GetCursor

This function retrieves the handle to the current cursor.

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

Syntax

HCURSOR GetCursor(VOID)

Return Values

The handle to the current cursor indicates success. NULL indicates that there is no cursor.

Remarks

If GetCursor is called after the CreateCursor function creates a cursor of zero dimensions, GetCursor retrieves that new cursor.

See also

SetCursor