---
name: "SDL_GetJoystickGUIDInfo"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_GetJoystickGUIDInfo"
---

# SDL\_GetJoystickGUIDInfo(3)

Get the device information encoded in a SDL\_GUID structure.

## NAME

SDL\_GetJoystickGUIDInfo - Get the device information encoded in a  **SDL\_GUID**\
  structure.

## HEADER FILE

Defined in SDL3/SDL\_joystick.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**void SDL\_GetJoystickGUIDInfo(SDL\_GUID guid, Uint16 \*vendor, Uint16 \*product, Uint16 \*version, Uint16 \*crc16);**

## FUNCTION PARAMETERS

- *guid*

  the  **SDL\_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.

## SEE ALSO

**•**(3), [**SDL\_GetJoystickGUIDForID**(3)](/SDL_GetJoystickGUIDForID/3.md)
