CWiauPropertyList::Init method (wiautil.h)

The CWiauPropertyList::Init method initializes a property list object.

Syntax

HRESULT Init(
  INT NumProps
);

Parameters

NumProps

Specifies the number of properties within the property list for which to reserve space. This number can be larger than the actual number of properties in the property list, but it cannot be smaller.

Return value

On success, the CWiauPropertyList::Init method returns S_OK. If the method has already been called on a given property list, the method returns E_FAIL.

Requirements

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

See also

CWiauPropertyList

CWiauPropertyList::CWiauPropertyList

CWiauPropertyList::DefineProperty