• <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++
            性欧美大战久久久久久久| 2020久久精品亚洲热综合一本 | 国内精品伊人久久久久AV影院| 久久99精品久久久大学生| 天天影视色香欲综合久久| 一本色道久久88综合日韩精品| 伊人久久大香线蕉亚洲五月天| 粉嫩小泬无遮挡久久久久久| 91精品婷婷国产综合久久 | 久久国产色AV免费看| 91久久精品国产91性色也| 久久这里有精品| 久久综合久久综合久久| 免费无码国产欧美久久18| 丰满少妇人妻久久久久久| 模特私拍国产精品久久| 久久香蕉国产线看观看99| 久久精品亚洲AV久久久无码| 精品久久人人妻人人做精品| 欧美丰满熟妇BBB久久久| 色婷婷噜噜久久国产精品12p| 久久精品亚洲日本波多野结衣| 欧美久久一区二区三区| 国产日产久久高清欧美一区| 精品综合久久久久久97| 亚洲国产成人久久综合一区77| 精品久久久久久综合日本| 亚洲av日韩精品久久久久久a| 久久最新免费视频| 久久久久亚洲AV无码去区首| 狠狠色丁香婷婷久久综合不卡| 青青热久久国产久精品 | 久久精品人人做人人爽97| 亚洲精品99久久久久中文字幕| 国产精品美女久久久久av爽 | 久久综合精品国产二区无码| 久久婷婷五月综合色奶水99啪| 色综合久久天天综线观看| 久久国产美女免费观看精品 | 一本大道加勒比久久综合| 9久久9久久精品|