原文链接 -> 传送门
函数功能:
GetCursor 函数用于获取当前光标的句柄。
为获取全局光标的信息,即使它不是由当前线程所拥有的,请调用 GetCursorInfo 函数。
API 函数原型:
HCURSOR WINAPI GetCursor(void);
返回值:
返回值为当前光标的句柄。如果当前没有光标,则返回值为 NULL。
需求:
|
Minimum supported client |
Windows 2000 专业版 [仅桌面应用程序] |
|
Minimum supported server |
Windows 2000 服务器版 [仅桌面应用程序] |
|
Header |
Winuser.h (包含于 Windows.h) |
|
Library |
User32.lib |
|
DLL |
User32.dll |




