PMI_THRESHOLD_CONFIGURATION structure (pmi.h)

The PMI_THRESHOLD_CONFIGURATION structure contains information about the threshold configuration of the power meter.

Syntax

typedef struct _PMI_THRESHOLD_CONFIGURATION {
  ULONG LowerThreshold;
  ULONG UpperThreshold;
} PMI_THRESHOLD_CONFIGURATION, *PPMI_THRESHOLD_CONFIGURATION;

Members

LowerThreshold

The lower threshold of the power meter, in units of milliwatts (mW).

UpperThreshold

The upper threshold of the power meter, in units of milliwatts (mW).

Remarks

The PMI_THRESHOLD_CONFIGURATION structure specifies the current configuration of the power meter's thresholds. The LowerThreshold and UpperThreshold members specify the lower and upper range of the threshold respectively.

A Power Meter Interface (PMI) event is signaled when the IOCTL_PMI_REGISTER_EVENT_NOTIFY I/O control (IOCTL) request completes when one of the following occurs:

  • Power levels that are monitored by the power meter drop below the LowerThreshold value.
  • Power levels that are monitored by the power meter drop below the UpperThreshold value.

Requirements

Requirement Value
Minimum supported client Available in Windows 7, Windows Server 2008 R2, and later versions of the Windows operating systems.
Header pmi.h (include Pmi.h)

See also

IOCTL_PMI_REGISTER_EVENT_NOTIFY