# Function Reference

# _WinAPI_QueryPerformanceCounter

Retrieves the current value of the high-resolution performance counter

#include <WinAPISys.au3>
_WinAPI_QueryPerformanceCounter ( )

## Return Value

Success: | The current performance-counter value, in counts.
Failure: | 0, call _WinAPI_GetLastError() to get extended error information.

## See Also

Search QueryPerformanceCounter in MSDN Library.