CWiauPropertyList::SetAccessSubType(INT,ULONG,ULONG) method (wiautil.h)

The CWiauPropertyList::SetAccessSubType(INT,ULONG,ULONG) method resets a property's access and subtype.

Syntax

HRESULT SetAccessSubType(
  INT   index,
  ULONG Access,
  ULONG SubType
);

Parameters

index

Specifies the property's index in the property list.

Access

Specifies the type of access for the property, usually either WIA_PROP_READ (read-only) or WIA_PROP_RW (read/write).

SubType

Specifies the property subtype, one of WIA_PROP_FLAG, WIA_PROP_LIST, WIA_PROP_RANGE, or WIA_PROP_NONE. The first three constants indicate, respectively, that a property is a set of flag values, a list of values, or a range of values. The fourth constant indicates that a property is none of these.

Return value

This method returns an NTSTATUS value.

Remarks

A property's access and subtype are set originally in a call to the CWiauPropertyList::DefineProperty method.

Requirements

Requirement Value
Target Platform Desktop
Header wiautil.h (include Wiautil.h, Wiamindr.h)

See also

CWiauPropertyList

CWiauPropertyList::DefineProperty