Function SDL_hid_get_serial_number_string
pub unsafe extern "C" fn SDL_hid_get_serial_number_string(
dev: *mut SDL_hid_device,
string: *mut u32,
maxlen: usize,
) -> i32
Available on crate feature
dep_sdl3
only.Expand description
Get The Serial Number String from a HID device.
§Parameters
dev
: a device handle returned fromSDL_hid_open()
.string
: a wide string buffer to put the data into.maxlen
: the length of the buffer in multiples of wchar_t.
§Return value
Returns 0 on success or a negative error code on failure; call
SDL_GetError()
for more information.
§Availability
This function is available since SDL 3.2.0.