共用方式為


ResetCompression 函式

重設壓縮內容。

語法

HRESULT WINAPI ResetCompression(  
   IN OUT PVOID context  
);  

參數

context
[OUT]要重設之壓縮內容的指標。

傳回值

HRESULT。 可能的值包括 (但不限於) 下表中的這些值。

描述
S_OK 表示作業成功。

備註

此函式是必要的匯出,但不適用於 Windows Vista 上的 IIS 7.0 或 Windows Server 2008。 此函式已被取代,而且不是 Windows 7 或 Windows Server 2008 R2 上 IIS 7.5 的必要匯出,或 Windows 8 用戶端或 Windows 8 Server 上的 IIS 8.0。

規格需求

類型 描述
Client - 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
標頭 Httpcompression.h

另請參閱

Web Server Core 函式