Function SDL_TimeFromWindows

pub unsafe extern "C" fn SDL_TimeFromWindows(
    dwLowDateTime: u32,
    dwHighDateTime: u32,
) -> i64 
Available on crate feature dep_sdl3 only.
Expand description

Converts a Windows FILETIME (100-nanosecond intervals since January 1, 1601) to an SDL time.

This function takes the two 32-bit values of the FILETIME structure as parameters.

§Parameters

  • dwLowDateTime: the low portion of the Windows FILETIME value.
  • dwHighDateTime: the high portion of the Windows FILETIME value.

§Return value

Returns the converted SDL time.

§Availability

This function is available since SDL 3.2.0.