Skip to main content

SDL_TimeToWindows

Function SDL_TimeToWindows 

Source
pub unsafe extern "C" fn SDL_TimeToWindows(
    ticks: SDL_Time,
    dwLowDateTime: *mut Uint32,
    dwHighDateTime: *mut Uint32,
)
Expand description

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

This function fills in the two 32-bit values of the FILETIME structure.

Parameter: ticks the time to convert. Parameter: dwLowDateTime a pointer filled in with the low portion of the Windows FILETIME value. Parameter: dwHighDateTime a pointer filled in with the high portion of the Windows FILETIME value.

Thread Safety: It is safe to call this function from any thread.

Available Since: This function is available since SDL 3.2.0.