We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b595f3b commit 1798adaCopy full SHA for 1798ada
windows/hid.c
@@ -936,7 +936,7 @@ HID_API_EXPORT hid_device * HID_API_CALL hid_open_path(const char *path)
936
937
interface_path = hid_internal_UTF8toUTF16(path);
938
if (!interface_path) {
939
- register_string_error(dev, L"Path conversion failure");
+ register_global_error(L"Path conversion failure");
940
goto end_of_function;
941
}
942
0 commit comments