Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Serial-Studio/Serial-Studio
/ get_vendor_id
Function
get_vendor_id
lib/hidapi/mac/hid.c:353–356 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
351
}
352
353
static unsigned short get_vendor_id(IOHIDDeviceRef device)
354
{
355
return get_int_property(device, CFSTR(kIOHIDVendorIDKey));
356
}
357
358
static unsigned short get_product_id(IOHIDDeviceRef device)
359
{
Callers
1
create_device_info_with_usage
Function · 0.85
Calls
1
get_int_property
Function · 0.85
Tested by
no test coverage detected