IResultData::SetItem method (mmc.h)

The IResultData::SetItem method enables the snap-in to set a single item in the result pane.

Syntax

HRESULT SetItem(
  [in] LPRESULTDATAITEM item
);

Parameters

[in] item

A pointer to a RESULTDATAITEM structure that contains information about the item to be changed.

Return value

This method can return one of these values.

Remarks

The itemID member of the structure pointed to by the item parameter should be set to refer to the item or subitem to be changed in the list. The mask and all appropriate associated fields in the RESULTDATAITEM structure should be filled out with the preferred changes. The nCol member should be set to 0 (zero) because it is the only column in which anything can be set or obtained. The str member of RESULTDATAITEM should always be set to MMC_CALLBACK.

This method does not support virtual lists.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h
DLL Mmcndmgr.dll

See also

IResultData

IResultData2

IResultData::GetItem