IPortableDeviceValuesCollection::Add method
The Add method adds an item to the collection.
Syntax
HRESULT Add(
[in] 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 value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
There is not enough memory available to add the value to the collection. |
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|