IPortableDeviceValues class com
Holds a collection of PROPERTYKEY/PROPVARIANT pairs.
To learn more, see learn.microsoft.com/windows/win32/wpd_sdk/iportabledevicevalues.
- Inheritance
- Implemented types
Constructors
- IPortableDeviceValues(VTablePointer ptr)
- Creates a new instance of IPortableDeviceValues from a VTablePointer.
- IPortableDeviceValues.from(IUnknown interface)
-
Creates a new instance of IPortableDeviceValues from an existing
interface.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ptr → VTablePointer
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRef(
) → int -
Increments the reference count of this COM object.
inherited
-
clear(
) → void - IPortableDeviceValues::Clear method - The Clear method deletes all items from the collection.
-
copyValuesFromPropertyStore(
IPropertyStore? pStore) → void - Copies the contents of an IPropertyStore into the collection.
-
copyValuesToPropertyStore(
IPropertyStore? pStore) → void - Copies all the values from a collection into an IPropertyStore interface.
-
getAt(
int index, Pointer< PROPERTYKEY> pKey, Pointer<PROPVARIANT> pValue) → void - Retrieves a value from the collection using the supplied zero-based index.
-
getBoolValue(
Pointer< PROPERTYKEY> key) → bool - Retrieves a Boolean value (type VT_BOOL) specified by a key.
-
getBufferValue(
Pointer< PROPERTYKEY> key, Pointer<Pointer< ppValue, Pointer<Uint8> >Uint32> pcbValue) → void - Retrieves a byte array value (type VT_VECTOR | VT_UI1) specified by a key.
-
getCount(
Pointer< Uint32> pcelt) → void - IPortableDeviceValues::GetCount method - The GetCount method retrieves the number of items in the collection.
-
getErrorValue(
Pointer< PROPERTYKEY> key) → HRESULT - Retrieves an HRESULT value (type VT_ERROR) specified by a key.
-
getFloatValue(
Pointer< PROPERTYKEY> key) → double - Retrieves a FLOAT value (type VT_R4) specified by a key.
-
getGuidValue(
Pointer< PROPERTYKEY> key) → Pointer<GUID> - Retrieves a GUID value (type VT_CLSID) specified by a key.
-
getIPortableDeviceKeyCollectionValue(
Pointer< PROPERTYKEY> key) → IPortableDeviceKeyCollection? - Retrieves an IPortableDeviceKeyCollection value (type VT_UNKNOWN) specified by a key.
-
getIPortableDevicePropVariantCollectionValue(
Pointer< PROPERTYKEY> key) → IPortableDevicePropVariantCollection? - Retrieves an IPortableDevicePropVariantCollection value (type VT_UNKNOWN) specified by a key.
-
getIPortableDeviceValuesCollectionValue(
Pointer< PROPERTYKEY> key) → IPortableDeviceValuesCollection? - Retrieves an IPortableDeviceValuesCollection value (type VT_UNKNOWN) specified by a key.
-
getIPortableDeviceValuesValue(
Pointer< PROPERTYKEY> key) → IPortableDeviceValues? - Retrieves an IPortableDeviceValues value (type VT_UNKNOWN) specified by a key.
-
getIUnknownValue(
Pointer< PROPERTYKEY> key) → IUnknown? - Retrieves an IUnknown interface value (type VT_UNKNOWN) specified by a key.
-
getKeyValue(
Pointer< PROPERTYKEY> key) → Pointer<PROPERTYKEY> - Retrieves a PROPERTYKEY value specified by a key.
-
getSignedIntegerValue(
Pointer< PROPERTYKEY> key) → int - Retrieves a LONG value (type VT_I4) specified by a key.
-
getSignedLargeIntegerValue(
Pointer< PROPERTYKEY> key) → int - Retrieves a LONGLONG value (type VT_I8) specified by a key.
-
getStringValue(
Pointer< PROPERTYKEY> key) → PWSTR - Retrieves a string value (type VT_LPWSTR) specified by a key.
-
getUnsignedIntegerValue(
Pointer< PROPERTYKEY> key) → int - Retrieves a ULONG value (type VT_UI4) specified by a key.
-
getUnsignedLargeIntegerValue(
Pointer< PROPERTYKEY> key) → int - Retrieves a ULONGLONG value (type VT_UI8) specified by a key.
-
getValue(
Pointer< PROPERTYKEY> key) → Pointer<PROPVARIANT> - Retrieves a PROPVARIANT value specified by a key.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface<
T extends IUnknown> () → T -
Queries this COM object for a specific interface defined by the type
parameter
T.inherited -
release(
) → int -
Decrements the reference count of this COM object.
inherited
-
removeValue(
Pointer< PROPERTYKEY> key) → void - Removes an item from the collection.
-
setBoolValue(
Pointer< PROPERTYKEY> key, bool value) → void - Adds a new Boolean value (type VT_BOOL) or overwrites an existing one.
-
setBufferValue(
Pointer< PROPERTYKEY> key, Pointer<Uint8> pValue, int cbValue) → void - Adds a new BYTE* value (type VT_VECTOR | VT_UI1) or overwrites an existing one.
-
setErrorValue(
Pointer< PROPERTYKEY> key, HRESULT value) → void - Adds a new HRESULT value (type VT_ERROR) or overwrites an existing one.
-
setFloatValue(
Pointer< PROPERTYKEY> key, double value) → void - Adds a new FLOAT value (type VT_R4) or overwrites an existing one.
-
setGuidValue(
Pointer< PROPERTYKEY> key, Pointer<GUID> value) → void - Adds a new GUID value (type VT_CLSID) or overwrites an existing one.
-
setIPortableDeviceKeyCollectionValue(
Pointer< PROPERTYKEY> key, IPortableDeviceKeyCollection? pValue) → void - Adds a new SetIPortableDeviceKeyCollectionValue value (type VT_UNKNOWN) or overwrites an existing one.
-
setIPortableDevicePropVariantCollectionValue(
Pointer< PROPERTYKEY> key, IPortableDevicePropVariantCollection? pValue) → void - Adds a new IPortableDevicePropVariantCollection value (type VT_UNKNOWN) or overwrites an existing one.
-
setIPortableDeviceValuesCollectionValue(
Pointer< PROPERTYKEY> key, IPortableDeviceValuesCollection? pValue) → void - Adds a new IPortableDeviceValuesCollection value (type VT_UNKNOWN) or overwrites an existing one.
-
setIPortableDeviceValuesValue(
Pointer< PROPERTYKEY> key, IPortableDeviceValues? pValue) → void - Adds a new IPortableDeviceValues value (type VT_UNKNOWN) or overwrites an existing one.
-
setIUnknownValue(
Pointer< PROPERTYKEY> key, IUnknown? pValue) → void - Adds a new IUnknown value (type VT_UNKNOWN) or overwrites an existing one.
-
setKeyValue(
Pointer< PROPERTYKEY> key, Pointer<PROPERTYKEY> value) → void - Adds a new REFPROPERTYKEY value (type VT_UNKNOWN) or overwrites an existing one.
-
setSignedIntegerValue(
Pointer< PROPERTYKEY> key, int value) → void - Adds a new LONG value (type VT_I4) or overwrites an existing one.
-
setSignedLargeIntegerValue(
Pointer< PROPERTYKEY> key, int value) → void - Adds a new LONGLONG value (type VT_I8) or overwrites an existing one.
-
setStringValue(
Pointer< PROPERTYKEY> key, PCWSTR value) → void - Adds a new string value (type VT_LPWSTR) or overwrites an existing one.
-
setUnsignedIntegerValue(
Pointer< PROPERTYKEY> key, int value) → void - Adds a new ULONG value (type VT_UI4) or overwrites an existing one.
-
setUnsignedLargeIntegerValue(
Pointer< PROPERTYKEY> key, int value) → void - Adds a new ULONGLONG value (type VT_UI8) or overwrites an existing one.
-
setValue(
Pointer< PROPERTYKEY> key, Pointer<PROPVARIANT> pValue) → void - Adds a new PROPVARIANT value or overwrites an existing one.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited