GetWindowCursorPreference (Compact 2013)

3/28/2014

This function retrieved the current cursor preference of the specified window.

Syntax

DWORD GetWindowCursorPreference(HWND hwnd);

Parameters

  • hwnd
    An HWND handle to the window to be queried.

Return Value

A DWORD value that indicates the current cursor preference:

  • CURSORPREFERENCE_SYSTEM
    Follow the system preference.
  • CURSORPREFERENCE_TOUCH
    The mouse cursor is preferred.
  • CURSORPREFERENCE_MOUSE
    The touch cursor is preferred.

Requirements

Header

pwinuser.h

See Also

Reference

Cursor Reference