IITResultSet::Add(PROPID,DWORD,PRIORITY) method (infotech.h)

Adds a column to the result set.

Syntax

HRESULT Add(
  [in] PROPID   PropID,
  [in] DWORD    dwDefaultData,
  [in] PRIORITY Priority
);

Parameters

[in] PropID

Property ID associated with column.

[in] dwDefaultData

Default data value.

[in] Priority

Download priority of column (PRIORITY_LOW, PRIORITY_NORMAL, or PRIORITY_HIGH).

Return value

This method can return one of these values.

Return code Description
S_OK
The column was successfully added.
E_OUTOFMEMORY
Memory allocation failed.

Remarks

This method is used to add a column for numerical properties.

Requirements

Requirement Value
Target Platform Windows
Header infotech.h

See also

IITResultSet