다음을 통해 공유


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