CWiauPropertyList::SetAccessSubType method (wiautil.h)

The CWiauPropertyList::SetAccessSubType method resets a property's access and subtype.

Syntax

void 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

None

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