共用方式為


IStorageProviderHandler::GetPropertyHandlerFromPath 方法 (storageprovider.h)

取得與所提供路徑相關聯的 IStorageProviderPropertyHandler 實例。

語法

HRESULT GetPropertyHandlerFromPath(
  [in]  LPCWSTR                         path,
  [out] IStorageProviderPropertyHandler **propertyHandler
);

參數

[in] path

相關檔案的路徑。

[out] propertyHandler

路徑所指定檔案相關聯的IStorageProviderPropertyHandler實例。

傳回值

如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。

需求

   
目標平台 Windows
標頭 storageprovider.h

另請參閱

IStorageProviderHandler