共用方式為


(comsvcs.h) 的 IServicePoolConfig::get_ClassFactory 方法

擷取集區對象的類別處理站。

語法

HRESULT get_ClassFactory(
  [out] IClassFactory **pFactory
);

參數

[out] pFactory

IClassFactory 介面指標的指標。

傳回值

這個方法可以傳回標準傳回值E_INVALIDARG、E_OUTOFMEMORY、E_UNEXPECTED、E_FAIL和S_OK。

規格需求

需求
最低支援的用戶端 Windows XP with SP1 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限桌面應用程式]
目標平台 Windows
標頭 comsvcs.h

另請參閱

IServicePoolConfig