SetSystemCursorPreference (Compact 2013)
3/28/2014
This function sets the system's cursor preference.
Syntax
DWORD SetSystemCursorPreference(DWORD dwFlags);
Parameters
dwFlags
A DWORD value that specifies the current cursor preference:CURSORPREFERENCE_SYSTEM specifies that the default system preference be followed.
CURSORPREFERENCE_TOUCH specifies that the mouse cursor be preferred.
CURSORPREFERENCE_MOUSE specifies that the touch cursor be preferred.
Return Value
dwFlags on success. Error on failure.
Remarks
You can call this function on devices such as an HID mouse to set the default of the system to use the mouse cursor instead of the touch cursor when the device activates.
Requirements
Header |
pwinuser.h |