共用方式為


PFN_GET_PROTOCOL_MANAGER函數

定義動態連結程式庫的預設進入點 (DLL) ,讓背景工作進程能夠具現化 IProtocolManager

語法

typedef HRESULT (*PFN_GET_PROTOCOL_MANAGER)(  
   IN IWorkerProcessFramework* pWpFramework,  
   OUT IProtocolManager** ppProtocolManager  
);  

參數

pWpFramework
呼叫 的 IWorkerProcessFramework 實例。

ppProtocolManager
IProtocolManager 回的 實例。

傳回值

HRESULT

備註

ppProtocolManager 只有在傳 HRESULT 回的 不是零時,才為非 Null。

規格需求

類型 描述
Client - Windows Vista 上的 IIS 7.0
- Windows 7 上的 IIS 7.5
- Windows 8 上的 IIS 8.0
- Windows 10上的 IIS 10.0
伺服器 - Windows Server 2008 上的 IIS 7.0
- Windows Server 2008 R2 上的 IIS 7.5
- Windows Server 2012 上的 IIS 8.0
- Windows Server 2012 R2 上的 IIS 8.5
- Windows Server 2016上的 IIS 10.0
產品 - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0
- IIS Express 7.5、IIS Express 8.0、IIS Express 10.0
標頭 Wpframework.h

另請參閱

背景工作進程架構 API 參考