Επεξεργασία

Κοινή χρήση μέσω


IStorageProviderPropertyHandler::RetrieveProperties method (storageprovider.h)

Gets the properties managed by the sync engine.

Syntax

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

Parameters

[in] propertiesToRetrieve

The identifier for the properties to retrieve.

[in] propertiesToRetrieveCount

The number of properties to retrieve.

[out] retrievedProperties

A collection of properties.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

If the file or folder cannot be found, this method should return S_OK, but retrievedProperties should be empty.

Any properties that are not managed by the sync engine should return VT_EMPTY for those properties.

Requirements

Requirement Value
Target Platform Windows
Header storageprovider.h

See also

IStorageProviderPropertyHandler