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

Adds a column to the result set.

Syntax

HRESULT Add(
  [in] PROPID   PropID,
  [in] LPVOID   lpvDefaultData,
  [in] DWORD    cbData,
  [in] PRIORITY Priority
);

Parameters

[in] PropID

Property ID associated with column.

[in] lpvDefaultData

Buffer containing default value of data.

[in] cbData

Buffer size.

[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 pointer properties.

Requirements

Requirement Value
Target Platform Windows
Header infotech.h

See also

IITResultSet