WIAS_CHANGED_VALUE_INFO - NtDoc

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

typedef struct _WIAS_CHANGED_VALUE_INFO {
  BOOL  bChanged;
  LONG  vt;
  union {
    LONG  lVal;
    FLOAT fltVal;
    BSTR  bstrVal;
    GUID  guidVal;
  } Old;
  union {
    LONG  lVal;
    FLOAT fltVal;
    BSTR  bstrVal;
    GUID  guidVal;
  } Current;
} WIAS_CHANGED_VALUE_INFO, *PWIAS_CHANGED_VALUE_INFO;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wiamindr_lh-_wias_changed_value_info)

_WIAS_CHANGED_VALUE_INFO structure

Description

The WIAS_CHANGED_VALUE_INFO structure is used to store the current and previous values of a property.

Members

bChanged

Is a Boolean that indicates whether a property has changed. That is, if the property's current value is different from its value before IWiaMiniDrv::drvValidateItemProperties was called. Upon return from one of the wiasGetChangedValue_Xxx_ functions, this member is TRUE if the property changed, and FALSE if the property did not change.

vt

Specifies the variant data type for the property. This member can be one of the following:

VT_UI1

VT_UI2

VT_UI4

VT_I2

VT_I4

VT_R4

VT_R8

VT_CLSID

VT_BSTR

See the PROPVARIANT structure for more information.

Old

Old.lVal

Old.fltVal

Old.bstrVal

Old.guidVal

Current

Current.lVal

Current.fltVal

Current.bstrVal

Current.guidVal

Remarks

The wiasGetChangedValue_Xxx_ functions, use this structure to determine whether a property of a certain type has been changed by an application. These functions are used when the minidriver performs property validation, which occurs within the body of IWiaMiniDrv::drvValidateItemProperties.

See also

IWiaMiniDrv::drvValidateItemProperties

wiasGetChangedValueFloat

wiasGetChangedValueGuid

wiasGetChangedValueLong

wiasGetChangedValueStr