Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The EngQueryPerformanceCounter function queries the performance counter.
Syntax
ENGAPI VOID EngQueryPerformanceCounter(
[out] LONGLONG *pPerformanceCount
);
Parameters
[out] pPerformanceCount
Pointer to a location that receives the performance counter value, in hertz.
Return value
None
Remarks
EngQueryPerformanceCounter always returns a 64-bit integer that represents the number of ticks per second. The count begins accumulating when the system is booted.
A driver should call this routine sparingly. Frequent calls to EngQueryPerformanceCounter can degrade the I/O performance for the calling driver and for the system as a whole.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Available in Windows 2000 and later versions of the Windows operating systems. |
| Target Platform | Universal |
| Header | winddi.h (include Winddi.h) |
| Library | Win32k.lib |
| DLL | Win32k.sys |