Windows Dev Center

GetPointerDevice function

Gets information about the pointer device.

Syntax


WINUSERAPI BOOL WINAPI WINAPI GetPointerDevice(
  _In_  HANDLE              device,
  _Out_ POINTER_DEVICE_INFO *pointerDevice
);

Parameters

device [in]

The handle to the device.

pointerDevice [out]

A POINTER_DEVICE_INFO structure that contains information about the pointer device.

Return value

If this function succeeds, it returns TRUE. Otherwise, it returns FALSE. To retrieve extended error information, call the GetLastError function.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Winuser.h

Library

User32.lib

DLL

User32.dll

See also

Functions

 

 

Community Additions

ADD
Show:
© 2015 Microsoft