Partager via


GetCursor

This function retrieves the handle to the current cursor.

HCURSOR GetCursor(void);

Return Values

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

Remarks

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

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.
Link Library: Cursor.lib, Mcursor.lib.

See Also

CreateCursor | SetCursor

 Last updated on Wednesday, April 14, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.