IPortableDeviceValues::GetIPortableDevicePropVariantCollectionValue 方法
GetIPortableDevicePropVariantCollectionValue 方法检索由键指定的 IPortableDevicePropVariantCollection 值 (类型VT_UNKNOWN) 。
语法
HRESULT GetIPortableDevicePropVariantCollectionValue(
[in] REFPROPERTYKEY key,
[out] IPortableDevicePropVariantCollection **ppValue
);
参数
-
键 [in]
-
一个 REFPROPERTYKEY 键,指定要检索的项。
-
ppValue [out]
-
接收指向检索到 的 IPortableDevicePropVariantCollection 接口的指针的变量的地址。 调用方负责在检索的接口上调用 Release 。
返回值
该方法返回 HRESULT。 可能的值包括(但并不限于)下表中的项。
返回代码 | 说明 |
---|---|
|
方法成功。 |
|
键指定的属性不是 IPortableDevicePropVariantCollection 接口。 |
|
由键指定的属性不在集合中。 |
要求
要求 | Value |
---|---|
标头 |
|
库 |
|