MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / hid_close

Function hid_close

lib/hidapi/windows/hid.c:1276–1283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1274}
1275
1276void HID_API_EXPORT HID_API_CALL hid_close(hid_device *dev)
1277{
1278 if (!dev)
1279 return;
1280
1281 CancelIo(dev->device_handle);
1282 free_hid_device(dev);
1283}
1284
1285int HID_API_EXPORT_CALL HID_API_CALL hid_get_manufacturer_string(hid_device *dev, wchar_t *string, size_t maxlen)
1286{

Callers 1

mainFunction · 0.50

Calls 1

free_hid_deviceFunction · 0.70

Tested by

no test coverage detected