• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 60  文章 - 5  trackbacks - 0
            <2025年7月>
            293012345
            6789101112
            13141516171819
            20212223242526
            272829303112
            3456789

            常用鏈接

            留言簿(2)

            隨筆分類(42)

            隨筆檔案(60)

            文章檔案(2)

            我收藏的博客

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            source:http://msdn.microsoft.com/en-us/library/ms524352.aspx
            For an ISAPI extension to be used by IIS, it must provide a standard interface. To provide a standard interface, each ISAPI extension DLL must implement and export two primary functions, GetExtensionVersion and HttpExtensionProc. A third function, TerminateExtension, is optional and is commonly used by extensions to perform cleanup operations.

            Initialization Using GetExtensionVersion
            Initialization is handled by the entry-point function GetExtensionVersion. This function's role is to perform all initialization, including the creation of worker threads, synchronization objects, and database connections, and to establish the version of ISAPI that was used to build the DLL.

            Adding Functionality Using HttpExtensionProc

            In general, an extension's functionality is exposed through the HttpExtensionProc entry-point function. This function receives a pointer to an EXTENSION_CONTROL_BLOCK structure, which contains data used for the required processing and is also used by the extension to communicate with IIS.
            When HttpExtensionProc in employed, it should first send a response header to the client. The header provides the client with information, such as the content type that is returned. After the header is sent, any other processing can be performed through the various callback functions provided in the EXTENSION_CONTROL_BLOCK.

            Termination Using TerminateExtension

            When an extension is no longer needed, IIS removes it from memory. If the extension provides the TerminateExtension function, IIS calls it before removing the extension. Use of TerminateExtension is recommended to close down any threads that an extension initialized during processing.

            After IIS finishes processing a request for an ISAPI extension, the connection can either be closed or kept open. A request can specify that the connection remain open by specifying the Connection: Keep-Alive header. If an ISAPI extension is designed to support Keep-Alive requests, this should be indicated to the client by calling the HSE_REQ_SEND_RESPONSE_HEADER server support function. The specified response header should contain Connection: Keep-Alive.

            posted on 2010-01-12 09:15 黃劍父 閱讀(270) 評論(0)  編輯 收藏 引用 所屬分類: C/C++
            亚洲中文字幕久久精品无码APP| 久久人人爽人人爽人人av东京热| 97久久精品无码一区二区| AV无码久久久久不卡蜜桃| 麻豆精品久久久一区二区| 奇米影视7777久久精品人人爽| 久久国产乱子伦免费精品| 人妻中文久久久久| 国产亚洲欧美精品久久久| 午夜精品久久久内射近拍高清| 国产91久久精品一区二区| 日韩久久无码免费毛片软件| 亚洲国产精品久久电影欧美| 久久精品国产精品亚洲艾草网美妙 | 国内精品久久久久久野外| 中文成人无码精品久久久不卡 | 国产精品99久久免费观看| 伊人久久大香线蕉AV一区二区 | 伊人久久大香线蕉精品不卡 | 久久久久久免费视频| 国产AV影片久久久久久| 久久精品中文闷骚内射| 久久精品日日躁夜夜躁欧美| 久久精品国产亚洲Aⅴ香蕉| 久久久久综合网久久| 久久精品国产一区二区三区日韩| 亚洲中文字幕久久精品无码喷水 | 国内精品久久久久久久影视麻豆| 69久久夜色精品国产69| 亚洲国产精品久久电影欧美| 狠狠色噜噜色狠狠狠综合久久| 久久综合伊人77777| 久久人人爽人人爽人人片AV东京热 | 日产精品久久久久久久| 97精品国产97久久久久久免费| 国产精品日韩深夜福利久久| 久久精品国产国产精品四凭| 日本亚洲色大成网站WWW久久| 伊人久久大香线蕉综合热线| 久久精品人人做人人爽电影| 色综合久久无码五十路人妻|