The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
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
|
Header |
|
|---|---|
|
Library |
|
See also
Community Additions
Show: