KeQueryAuxiliaryCounterFrequency - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

NTSTATUS KeQueryAuxiliaryCounterFrequency(
  [out, optional] PULONG64 AuxiliaryCounterFrequency
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-kequeryauxiliarycounterfrequency)

KeQueryAuxiliaryCounterFrequency function

Description

The KeQueryAuxiliaryCounterFrequency routine returns frequency of the auxiliary counter in units of Hz.

Parameters

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.

Return value

KeQueryAuxiliaryCounterFrequency can return one of the following:

Return code Description
STATUS_SUCCESS The query succeeded.
STATUS_NOT_SUPPORTED Auxiliary counter is not supported.

Remarks

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.

See also

KeConvertAuxiliaryCounterToPerformanceCounter

KeConvertPerformanceCounterToAuxiliaryCounter