PFN_GET_PROTOCOL_MANAGER 函数

定义动态链接库的默认入口点 (DLL) ,该入口点允许工作进程实例化 IProtocolManager

语法

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

parameters

pWpFramework
调用的 IWorkerProcessFramework 实例。

ppProtocolManager
返回的 IProtocolManager 实例。

返回值

HRESULT

备注

ppProtocolManager 仅当返回的 HRESULT 为非零时,才为非 NULL。

要求

类型 说明
客户端 - 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
Header Wpframework.h

另请参阅

工作进程框架 API 参考