ExamineHIDs()

Syntax

Result = ExamineHIDs([VendorId [, ProductId]])
Description
Start the enumeration of available HID devices.

Parameters

VendorId (optional) Filter devices by specific vendor ID.
ProductId (optional) Filter devices by specific product ID.

Return value

Returns nonzero if the enumeration was started successfully and zero if there was an error.

Remarks

Use this function to begin enumerating HID devices. After calling ExamineHIDs(), use NextHID() to iterate through the available devices.

Example

  If ExamineHIDs()
    While NextHID()
      Debug "Found HID device: " + HIDInfo(#PB_HID_Product)
    Wend
  EndIf

See Also

NextHID(), HIDInfo()

Supported OS

All

<- DisableHIDBlockingMode() - HID Index - GetHIDIndexedString() ->