SDL_TimeFromWindows - Man Page

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

Header File

Defined in SDL3/SDL_time.h

Synopsis

#include "SDL3/SDL.h"

SDL_Time SDL_TimeFromWindows(Uint32 dwLowDateTime, Uint32 dwHighDateTime);

Description

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

Function Parameters

dwLowDateTime

the low portion of the Windows FILETIME value.

dwHighDateTime

the high portion of the Windows FILETIME value.

Return Value

( SDL_Time ) Returns the converted SDL time.

Availability

This function is available since SDL 3.2.0.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS