CreateValueMapItem (Opnum 20)

The CreateValueMapItem method creates an object implementing the IValueMapItem interface. This object can be configured and then passed to IValueMap::Add. This method exists to provide a means for populating ValueMaps.

 HRESULT CreateValueMapItem(
   [out, retval] IValueMapItem** Item

Item: Receives the newly created value map item.

Return Values: This method MUST return an HRESULT with the severity bit clear on success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.