CWiauPropertyList::SetCurrentValue(INT,BSTR) method (wiautil.h)

The CWiauPropertyList::SetCurrentValue(INT,BSTR) method sets the current value of a property of type BSTR, and sets its type to VT_BSTR.

Syntax

void SetCurrentValue(
  INT  index,
  BSTR value
);

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.

Return value

None

Requirements

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

See also

CWiauPropertyList

CWiauPropertyList::DefineProperty

CWiauPropertyList::SendToWia