SDL_TimeFromWindows(3)

okay bestie, welcome to the SDL3 FUNCTIONS manual πŸ’– this page is all about SDL_TimeFromWindows β€” yes, the SDL_TimeFromWindows(3) one. No cap.

🌸 NAME 🌸

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


πŸŽ€ SYNOPSIS πŸŽ€

#include <SDL3/SDL_time.h>

SDL_Time SDL_TimeFromWindows(Uint32 dwLowDateTime, Uint32 dwHighDateTime);

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, this function takes the two 32-bit values of the FILETIME structure as parameters. That's the whole vibe. It smooshes them into an SDL time ✨


πŸ’… FUNCTION PARAMETERS πŸ’…

  • dwLowDateTime β€” the low portion of the Windows FILETIME value. the little half, but make it iconic
  • dwHighDateTime β€” the high portion of the Windows FILETIME value. the upper half, serving high-key importance

πŸ‘‘ RETURN VALUE πŸ‘‘

Returns the converted SDL time. periodt πŸ’–


🧚 THREAD SAFETY 🧚

It is safe to call this function from any thread. go off, multithreaded bestie 🫢


⭐ AVAILABILITY ⭐

This function is available since SDL 3.2.0. iykyk ✨


Okay that's the whole page, mwah πŸ’‹ This came from Simple Directmedia Layer, version SDL 3.4.18. The footer didn't give a date, so no date to spill β€” just source and version energy, bestie. bye babes πŸŽ€

πŸ“¦ where this page comes from