WdfDevStateNormalize - NtDoc

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

ULONG WdfDevStateNormalize(
  [in] ULONG State
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfdevice-wdfdevstatenormalize)

WdfDevStateNormalize function

Description

[Applies to KMDF and UMDF]

The WdfDevStateNormalize method removes extra bits from a specified framework state machine value so that the driver can use the value as an index into an array of machine states.

Parameters

State [in]

A state machine value that is returned from WdfDeviceGetDevicePnpState, WdfDeviceGetDevicePowerState, or WdfDeviceGetDevicePowerPolicyState.

Return value

WdfDevStateNormalize returns the specified State value with extra bits removed.