OpenHIDPath()

Syntax

Result = OpenHIDPath(#HID, Path$)
Description
Open the specified HID device for read or write operations using a device path.

Parameters

#HID The number to identify the HID device.
Path$ The platform-specific device path to open.

Return value

Returns nonzero if the device was opened successfully and zero if there was an error.

Remarks

This function opens a HID device by its specific device path, which can be obtained through device enumeration with ExamineHIDs().

See Also

OpenHID(), CloseHID(), ExamineHIDs()

Supported OS

All

<- OpenHID() - HID Index - ReadHIDData() ->