Function SDL_GetJoystickGUIDInfo
pub unsafe extern "C" fn SDL_GetJoystickGUIDInfo(
guid: SDL_GUID,
vendor: *mut u16,
product: *mut u16,
version: *mut u16,
crc16: *mut u16,
)
Available on crate feature
dep_sdl3
only.Expand description
Get the device information encoded in a SDL_GUID
structure.
§Parameters
guid
: theSDL_GUID
you wish to get info about.vendor
: a pointer filled in with the device VID, or 0 if not available.product
: a pointer filled in with the device PID, or 0 if not available.version
: a pointer filled in with the device version, or 0 if not available.crc16
: a pointer filled in with a CRC used to distinguish different products with the same VID/PID, or 0 if not available.
§Availability
This function is available since SDL 3.2.0.