IPortableDeviceValues::GetCount 方法 (portabledevicetypes.h)

检索集合中的项数。

语法

HRESULT GetCount(
  [in] DWORD *pcelt
);

参数

[in] pcelt

指向包含集合中项数的 DWORD 的指针。

返回值

该方法返回 HRESULT。 可能的值包括(但并不限于)下表中的项。

返回代码 说明
S_OK
方法成功。

备注

无。

要求

要求
目标平台 Windows
标头 portabledevicetypes.h

另请参阅

IPortableDeviceValues 接口