CWiauPropertyList::SetCurrentValue(INT,BYTE*,INT) method (wiautil.h)

The CWiauPropertyList::SetCurrentValue(INT,BYTE,INT) method sets the current value of a property consisting of an array of bytes, and sets its type to VT_UI1 | VT_VECTOR.

Syntax

void SetCurrentValue(
  INT  index,
  BYTE *value,
  INT  size
);

Parameters

index

Specifies the property index. Set this parameter to the value in *pIdx when the CWiauPropertyList::DefineProperty method returns.

value

Pointer to a memory location containing the value that is written to the device property in the property list. This pointer must remain valid until the CWiauPropertyList::SendToWia method is called.

size

Specifies the number of elements in the array of bytes.

Return value

None

Requirements

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

See also

CWiauPropertyList

CWiauPropertyList::DefineProperty

CWiauPropertyList::SendToWia