添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
有爱心的回锅肉  ·  ruby on rails - ...·  1 年前    · 
魁梧的书签  ·  Three.js (三) ...·  1 年前    · 
爽快的冲锋衣  ·  postgresql 和 mysql ...·  1 年前    · 
正直的钥匙扣  ·  Typora ...·  1 年前    · 

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

In this article

The HidD_GetPhysicalDescriptor routine returns the Physical Descriptor of a top-level collection that identifies the collection's physical device.

Physical Descriptor is used to indicate what physical part of the human body is used to activate the controls on a device. For example, a Physical Descriptor might indicate that the right hand thumb is used to activate button 5.

Note that Physical Descriptors are entirely optional. They add complexity and offer very little in return for most devices. However, some devices, particularly those with a large number of identical controls (for example, buttons) will find that Physical Descriptors help different applications assign functionality to these controls in a more consistent manner. See HID specification for more info.

Syntax

BOOLEAN HidD_GetPhysicalDescriptor(
  [in]  HANDLE HidDeviceObject,
  [out] PVOID  Buffer,
  [in]  ULONG  BufferLength

Parameters

[in] HidDeviceObject

Specifies an open handle to a top-level collection.

[out] Buffer

Pointer to a caller-allocated buffer that the routine uses to return the requested physical descriptor.

[in] BufferLength

Specifies the length, in bytes, of the buffer at Buffer.

Return value

HidD_GetPhysicalDescriptor returns TRUE if it succeeds; otherwise, it returns FALSE. Use GetLastError to get extended error information.

Remarks

Only user-mode applications can call HidD_GetPhysicalDescriptor. Kernel-mode drivers can use an IOCTL_GET_PHYSICAL_DESCRIPTOR request.

For more information, see HID Collections.

Requirements

Requirement Value