Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
WinQueryCursorInfo (1.2)
◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINCURSORS
BOOL WinQueryCursorInfo(hwndDesktop, pcsri)
HWND hwndDesktop; /* handle of the desktop */
PCURSORINFO pcsri; /* address of structure for cursor information */
The WinQueryCursorInfo function retrieves information about the current
cursor.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hwndDesktop Identifies the desktop window. This parameter can be
HWND_DESKTOP or the desktop window handle.
pcsri Points to a CURSORINFO structure that receives information
about the current cursor. The values are equivalent to the
parameters to the WinCreateCursor function, except that the fs
field never includes the CURSOR_SETPOS flag. The size and
position of the cursor are returned in window coordinates
relative to the window identified by the hwnd field of the
structure.
Return Value
The return value is TRUE if the cursor exists, or FALSE if the cursor does
not exist.
See Also
WinCreateCursor, WinDestroyCursor, WinShowCursor, CURSORINFO
♦