SDL Wiki
(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)


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

Header File

Defined in <SDL3/SDL_time.h>


SDL_Time SDL_TimeFromWindows(Uint32 dwLowDateTime, Uint32 dwHighDateTime);

Function Parameters

Uint32 dwLowDateTime the low portion of the Windows FILETIME value.
Uint32 dwHighDateTime the high portion of the Windows FILETIME value.

Return Value

(SDL_Time) Returns the converted SDL time.


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


This function is available since SDL 3.0.0.

CategoryAPI, CategoryAPIFunction, CategoryTime

[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.