Compartir a través de


GetCursor (Compact 2013)

3/28/2014

This function retrieves the handle to the current cursor.

Syntax

HCURSOR GetCursor(void);

Return Value

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

Header

winuser.h

Library

Cursor.lib,
Mcursor.lib

See Also

Reference

Mouse Functions
CreateCursor
SetCursor