Skip to content

Latest commit

 

History

History
96 lines (73 loc) · 3.17 KB

nf-portabledevicetypes-iportabledevicevalues-setiportabledevicekeycollectionvalue.md

File metadata and controls

96 lines (73 loc) · 3.17 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames ms.custom f1_keywords topic_type api_type api_location api_name
NF:portabledevicetypes.IPortableDeviceValues.SetIPortableDeviceKeyCollectionValue
IPortableDeviceValues::SetIPortableDeviceKeyCollectionValue (portabledevicetypes.h)
Adds a new SetIPortableDeviceKeyCollectionValue value (type VT_UNKNOWN) or overwrites an existing one.
wpddk\iportabledevicevalues_setiportabledevicekeycollectionvalue.htm
wpd_dk
02/15/2018
IPortableDeviceValues::SetIPortableDeviceKeyCollectionValue
IPortableDeviceValues interface,SetIPortableDeviceKeyCollectionValue method, IPortableDeviceValues.SetIPortableDeviceKeyCollectionValue, IPortableDeviceValues::SetIPortableDeviceKeyCollectionValue, IPortableDeviceValuesSetIPortableDeviceKeyCollectionValue, SetIPortableDeviceKeyCollectionValue, SetIPortableDeviceKeyCollectionValue method, SetIPortableDeviceKeyCollectionValue method,IPortableDeviceValues interface, portabledevicetypes/IPortableDeviceValues::SetIPortableDeviceKeyCollectionValue, wpddk.iportabledevicevalues_setiportabledevicekeycollectionvalue
portabledevicetypes.h
Windows
Windows
RS5
IPortableDeviceValues::SetIPortableDeviceKeyCollectionValue
portabledevicetypes/IPortableDeviceValues::SetIPortableDeviceKeyCollectionValue
APIRef
kbSyntax
COM
PortableDeviceTypes.h
IPortableDeviceValues::SetIPortableDeviceKeyCollectionValue

IPortableDeviceValues::SetIPortableDeviceKeyCollectionValue

-description

Adds a new SetIPortableDeviceKeyCollectionValue value (type VT_UNKNOWN) or overwrites an existing one.

-parameters

-param key [in]

A REFPROPERTYKEY that specifies the item to create or overwrite.

-param pValue [in]

Pointer to an IPortableDeviceKeyCollection interface that specifies the new value. The SDK copies a reference to the submitted interface and calls AddRef on it.

-returns

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.

-remarks

If an existing value has the same key that is specified by the key parameter, it overwrites the existing value without any warning. The existing key memory is released appropriately.

-see-also

IPortableDeviceValues Interface

IPortableDeviceValues::GetIPortableDeviceKeyCollectionValue