IResultData::SetItem

[This is preliminary documentation and subject to change.]

Enables the snap-in to set a single item in the result pane.

HRESULT SetItem(
  LPRESULTDATAITEM item  // Pointer to a RESULTDATAITEM structure
);
 

Parameters

[in] item
Pointer to a RESULTDATAITEM structure containing information about the item to be changed.

Return Values

S_OK
The item was successfully set.
E_UNEXPECTED
An unexpected error occurred.
E_INVALIDARG
The pItem parameter is NULL

Remarks

The itemID member of the item's structure 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 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.

See Also

IResultData::GetItem