IStorageProviderPropertyHandler::RetrieveProperties 方法 (storageprovider.h)

获取由同步引擎管理的属性。

语法

HRESULT RetrieveProperties(
  [in]  const PROPERTYKEY *propertiesToRetrieve,
  [in]  ULONG             propertiesToRetrieveCount,
  [out] IPropertyStore    **retrievedProperties
);

参数

[in] propertiesToRetrieve

要检索的属性的标识符。

[in] propertiesToRetrieveCount

要检索的属性数。

[out] retrievedProperties

属性的集合。

返回值

如果该方法成功,则返回 S_OK。 否则,将返回 HRESULT 错误代码。

注解

如果找不到文件或文件夹,此方法应返回 S_OK,但 retrievedProperties 应为空。

非同步引擎管理的任何属性都应返回 这些属性的VT_EMPTY

要求

   
目标平台 Windows
标头 storageprovider.h

另请参阅

IStorageProviderPropertyHandler