HidDevice.GetDeviceSelector 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetDeviceSelector(UInt16, UInt16) |
根据给定的 usagePage 和 usageId 检索 AQS) 字符串 (高级查询语法。 |
GetDeviceSelector(UInt16, UInt16, UInt16, UInt16) |
根据给定的 usagePage、 usageId、 vendorId 和 productId 检索 AQS) 字符串 (高级查询语法。 |
GetDeviceSelector(UInt16, UInt16)
根据给定的 usagePage 和 usageId 检索 AQS) 字符串 (高级查询语法。
public:
static Platform::String ^ GetDeviceSelector(unsigned short usagePage, unsigned short usageId);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
static winrt::hstring GetDeviceSelector(uint16_t const& usagePage, uint16_t const& usageId);
[Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
public static string GetDeviceSelector(ushort usagePage, ushort usageId);
function getDeviceSelector(usagePage, usageId)
Public Shared Function GetDeviceSelector (usagePage As UShort, usageId As UShort) As String
参数
- usagePage
-
UInt16
unsigned short
uint16_t
指定给定 HID 设备的顶级集合的使用情况页。
- usageId
-
UInt16
unsigned short
uint16_t
指定给定 HID 设备的顶级集合的使用标识符。
返回
高级查询语法 (表示设备选择器的 AQS) 字符串。
- 属性
适用于
GetDeviceSelector(UInt16, UInt16, UInt16, UInt16)
根据给定的 usagePage、 usageId、 vendorId 和 productId 检索 AQS) 字符串 (高级查询语法。
public:
static Platform::String ^ GetDeviceSelector(unsigned short usagePage, unsigned short usageId, unsigned short vendorId, unsigned short productId);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorVidPid")]
static winrt::hstring GetDeviceSelector(uint16_t const& usagePage, uint16_t const& usageId, uint16_t const& vendorId, uint16_t const& productId);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorVidPid")]
public static string GetDeviceSelector(ushort usagePage, ushort usageId, ushort vendorId, ushort productId);
function getDeviceSelector(usagePage, usageId, vendorId, productId)
Public Shared Function GetDeviceSelector (usagePage As UShort, usageId As UShort, vendorId As UShort, productId As UShort) As String
参数
- usagePage
-
UInt16
unsigned short
uint16_t
指定给定 HID 设备的顶级集合的使用情况页。
- usageId
-
UInt16
unsigned short
uint16_t
指定给定 HID 设备的顶级集合的使用标识符。
- vendorId
-
UInt16
unsigned short
uint16_t
标识设备供应商。
- productId
-
UInt16
unsigned short
uint16_t
标识产品。
返回
高级查询语法 (表示设备选择器的 AQS) 字符串。
- 属性