SLAA453A january 2011 – may 2023
Description
Closes the device associated with this pstrHidDevice structure, and instructs the system to close the handle. This should always be performed by the application when it is done with the device.
Parameters
strHidDevice* pstrHidDevice | The structure to contain the newly-opened device. |
returns | HID_DEVICE_HANDLE_ERROR. The device handle is invalid. |
HID_DEVICE_SUCCESS. The device handle is successfully closed. | |
HID_DEVICE_NOT_OPENED. Attempted to close a device handle that was not opened before. |