【VC开源代码栏目提醒】:网学会员--在 VC开源代码编辑为广大网友搜集整理了:ATLWebServiceIsapi.cpp绩等信息,祝愿广大网友取得需要的信息,参考学习。
// ATLWebServiceIsapi.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
// For custom assert and trace handling with WebDbg.exe
#ifdef _DEBUG
CDebugReportHook g_ReportHook;
#endif
[ module(name="MyATLWebService", type="dll") ];
[ emitidl(restricted) ];
typedef CIsapiExtension<> ExtensionType;
// The ATL Server ISAPI extension
ExtensionType theExtension;
// Delegate ISAPI exports to theExtension
//
extern "C" DWORD WINAPI HttpExtensionProc(LPEXTENSION_CONTROL_BLOCK lpECB)
{
return theExtension.HttpExtensionProc(lpECB);
}
extern "C" BOOL WINAPI GetExtensionVersion(HSE_VERSION_INFO* pVer)
{
return theExtension.GetExtensionVersion(pVer);
}
extern "C" BOOL WINAPI TerminateExtension(DWORD dwFlags)
{
return theExtension.TerminateExtension(dwFlags);
}
上一篇:
ATLWebService.cpp
下一篇:
个人哪些方面的情况值得你在简历里做介绍?