Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HalFreeHardwareCounters routine

The HalFreeHardwareCounters routine frees a set of hardware performance counters that was acquired in a previous call to HalAllocateHardwareCounters routine.

Syntax


NTSTATUS HalFreeHardwareCounters(
  _In_ HANDLE CounterSetHandle
);

Parameters

CounterSetHandle [in]

A handle to the allocated counter resources. The caller acquired this handle in a previous call to HalAllocateHardwareCounters.

Return value

HalFreeHardwareCounters returns STATUS_SUCCESS if the call was successful. Possible error return values include the following:

Return codeDescription
STATUS_INVALID_PARAMETER

Parameter CounterSetHandle is not a valid counter resources handle.

 

Requirements

Target platform

Universal

Version

Available in Windows 7 and later versions of Windows.

Header

Ntddk.h (include Ntddk.h or Ntifs.h)

Library

Hal.lib

DLL

Hal.dll

IRQL

PASSIVE_LEVEL

See also

HalAllocateHardwareCounters

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft