sdlGetJoystickGuidInfo function
void
sdlGetJoystickGuidInfo()
Get the device information encoded in a SDL_GUID structure.
\param guid the SDL_GUID you wish to get info about. \param vendor a pointer filled in with the device VID, or 0 if not available. \param product a pointer filled in with the device PID, or 0 if not available. \param version a pointer filled in with the device version, or 0 if not available. \param crc16 a pointer filled in with a CRC used to distinguish different products with the same VID/PID, or 0 if not available.
\since This function is available since SDL 3.1.3.
\sa SDL_GetJoystickGUIDForID
extern SDL_DECLSPEC void SDLCALL SDL_GetJoystickGUIDInfo(SDL_GUID guid, Uint16 *vendor, Uint16 *product, Uint16 *version, Uint16 *crc16)
Implementation
void sdlGetJoystickGuidInfo(SdlGuid guid, Pointer<Uint16> vendor,
Pointer<Uint16> product, Pointer<Uint16> version, Pointer<Uint16> crc16) {
final sdlGetJoystickGuidInfoLookupFunction = libSdl3.lookupFunction<
Void Function(
SdlGuid guid,
Pointer<Uint16> vendor,
Pointer<Uint16> product,
Pointer<Uint16> version,
Pointer<Uint16> crc16),
void Function(
SdlGuid guid,
Pointer<Uint16> vendor,
Pointer<Uint16> product,
Pointer<Uint16> version,
Pointer<Uint16> crc16)>('SDL_GetJoystickGUIDInfo');
return sdlGetJoystickGuidInfoLookupFunction(
guid, vendor, product, version, crc16);
}