Skip to main content

SDL_TimeFromWindows

Function SDL_TimeFromWindows 

Source
pub extern "C" fn SDL_TimeFromWindows(
    dwLowDateTime: Uint32,
    dwHighDateTime: Uint32,
) -> SDL_Time
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.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.