IsHID()

Syntax

Result = IsHID(#HID)
Description
Check if the given '#HID' is an initialized HID object.

Parameters

#HID The HID device to check.

Return value

Returns nonzero if #HID is a valid HID device and zero otherwise.

Remarks

This function is bulletproof and may be used with any value to ensure a HID device is ready to use.

See Also

OpenHID(), OpenHIDPath()

Supported OS

All

<- HIDInfo() - HID Index - NextHID() ->