EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

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

 

 

Community-Beiträge

HINZUFÜGEN
Anzeigen:
© 2014 Microsoft