IResultData::SetItem method (mmc.h)
The IResultData::SetItem method enables the snap-in to set a single item in the result pane.
HRESULT SetItem( LPRESULTDATAITEM item );
A pointer to a RESULTDATAITEM structure that contains information about the item to be changed.
This method can return one of these values.
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.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|