EN
本內容沒有您的語言版本,但有英文版本。

GetPointerDeviceProperties function

Gets device properties that aren't included in the POINTER_DEVICE_INFO structure.

Syntax


 BOOL GetPointerDeviceProperties(
  _In_       HANDLE device,
  _Inout_    UINT32 *propertyCount,
  _Out_opt_  POINTER_DEVICE_PROPERTY *pointerProperties
);

Parameters

device [in]

The pointer device to query properties from.

A call to the GetPointerDevices function returns this handle in the POINTER_DEVICE_INFO structure.

propertyCount [in, out]

The number of properties.

Returns the count that's written or needed if pointerProperties is NULL.

If this value is less than the number of properties that the pointer device supports and pointerProperties is not NULL, the function returns the actual number of properties in this variable and fails.

pointerProperties [out, optional]

The array of properties.

Return value

TRUE if the function succeeds; otherwise, FALSE. If the function fails, call the GetLastError function for more information.

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

 

 

社群新增項目

新增
顯示:
© 2014 Microsoft