EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

GetSystemTimePreciseAsFileTime function

The GetSystemTimePreciseAsFileTime function retrieves the current system date and time with the highest possible level of precision (<1us). The retrieved information is in Coordinated Universal Time (UTC) format.

Syntax


VOID WINAPI GetSystemTimePreciseAsFileTime(
  _Out_  LPFILETIME lpSystemTimeAsFileTime
);

Parameters

lpSystemTimeAsFileTime [out]

Type: LPFILETIME

A pointer to a FILETIME structure that contains the current system date and time in UTC format.

Return value

This function doesn't return a value.

Remarks

Note  This function is best suited for high-resolution time-of-day measurements, or time stamps that are synchronized to UTC. For high-resolution interval measurements, use QueryPerformanceCounter or KeQueryPerformanceCounter. For more info about acquiring high-resolution time stamps, see Acquiring high-resolution time stamps.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

WinBase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

 

 

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft