Function SDL_GetJoystickGUID

pub unsafe extern "C" fn SDL_GetJoystickGUID(
    joystick: *mut SDL_Joystick,
) -> SDL_GUID
Available on crate feature dep_sdl3 only.
Expand description

Get the implementation-dependent GUID for the joystick.

This function requires an open joystick.

§Parameters

§Return value

Returns the GUID of the given joystick. If called on an invalid index, this function returns a zero GUID; call SDL_GetError() for more information.

§Availability

This function is available since SDL 3.2.0.

§See also