// wdm.h
NTSTATUS KeQueryAuxiliaryCounterFrequency(
[out, optional] PULONG64 AuxiliaryCounterFrequency
);
View the official Windows Driver Kit DDI referenceNo description available.
The KeQueryAuxiliaryCounterFrequency routine returns frequency of the auxiliary counter in units of Hz.
AuxiliaryCounterFrequency [out, optional]A pointer to a variable to which KeQueryAuxiliaryCounterFrequency writes the auxiliary counter frequency, in ticks per second. This parameter can be NULL.
KeQueryAuxiliaryCounterFrequency can return one of the following:
| Return code | Description |
|---|---|
| STATUS_SUCCESS | The query succeeded. |
| STATUS_NOT_SUPPORTED | Auxiliary counter is not supported. |
Call this routine to programmatically determine whether auxiliary counter is supported. In that call, if you do not need the frequency of the counter, pass NULL. If not supported, the routine returns STATUS_NOT_SUPPORTED.
KeConvertAuxiliaryCounterToPerformanceCounter
KeConvertPerformanceCounterToAuxiliaryCounter