IPortableDeviceValuesCollection::Add
Previous | Next |
IPortableDeviceValuesCollection::Add
The Add method adds an item to the collection.
Syntax
HRESULT Add( IPortableDeviceValues* pValues );
Parameters
pValues
[in] Pointer to an IPortableDeviceValues interface to add to the collection. The interface is not actually copied, but AddRef is called on it.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
S_OK | The method succeeded. |
E_OUTOFMEMORY | There is not enough memory available to add the value to the collection. |
Requirements
Header: Defined in PortableDeviceTypes.h
Library: PortableDeviceGUIDs.lib
See Also
Previous | Next |