GetCursor

The GetCursor function retrieves the handle to the current cursor.

HCURSOR GetCursor(VOID)
 

Parameters

This function has no parameters.

Return Values

The return value is the handle to the current cursor. If there is no cursor, the return value is NULL.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in winuser.h.
  Import Library: Use user32.lib.

See Also

Cursors Overview, Cursor Functions, SetCursor