• <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
            <2009年10月>
            27282930123
            45678910
            11121314151617
            18192021222324
            25262728293031
            1234567

            常用鏈接

            留言簿(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 黃劍父 閱讀(264) 評論(0)  編輯 收藏 引用 所屬分類: C/C++
            少妇无套内谢久久久久| 久久综合亚洲色一区二区三区| 久久精品人人做人人妻人人玩| 久久久久久久99精品免费观看| 66精品综合久久久久久久| 久久亚洲2019中文字幕| 亚洲精品乱码久久久久久自慰| 国内精品九九久久久精品| 亚洲国产精品久久久久婷婷软件| 少妇人妻综合久久中文字幕| 精品无码久久久久久尤物| 国产成人综合久久精品红| 久久免费精品视频| 色综合久久无码五十路人妻| 国产精品热久久无码av| 久久精品国产亚洲av麻豆色欲| 国产精品免费久久久久电影网| 少妇高潮惨叫久久久久久| 久久影院午夜理论片无码| 日本三级久久网| 成人国内精品久久久久影院| 久久SE精品一区二区| 人妻系列无码专区久久五月天| 麻豆精品久久久一区二区| 久久精品无码一区二区无码| 国产成人精品三上悠亚久久| 午夜精品久久久久久影视777| 国产三级观看久久| 99久久精品国产高清一区二区| 无码人妻久久一区二区三区| 久久久久久精品久久久久| 日产久久强奸免费的看| 无码8090精品久久一区 | 欧美性猛交xxxx免费看久久久| 久久亚洲国产精品一区二区| 久久99精品国产99久久6男男| 精品国产一区二区三区久久久狼 | 国产精品久久久久久久久| 亚洲av成人无码久久精品| 久久国产精品99精品国产| 久久精品九九亚洲精品|