title: IResultData::DeleteItem and IResultData::DeleteAllRsltItems return E_UNEXPECTED
body: <p>We have a problem with an ATL-based Visual C++ MMC snapin. We have a scope item that is only showed in the scope pane. When this item is selected it populates the result pane with a set of result items.</p>
  
  <p>When the user selects "delete all items" popup menu command our snapin code is invoked - first it does some work, then proceeds to clearing the result view. We want the following behavior: the user clicks that menu item, our custom code is called to do useful work, then all items disappear from the result pane, the scope item remains selected.</p>
  
  <p>I tried two variations of what to do to remove all result items.</p>
  
  <p>Variation 1 - it calls <code>IResultData::DeleteAllRsltItems()</code> which returns <code>E_UNEXPECTED</code> and items are not removed - they just stay there.</p>
  
  <p>VAriation 2 - it calls <code>IResultData::DeleteItem()</code> for each item previosuly inserted into result pane. Again each call returns <code>E_UNEXPECTED</code> and items are not removed.</p>
  
  <p>How do I properly remove all result items from the MMC view?</p>