Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CloseDecompressor function

Call to close an open DECOMPRESSOR_HANDLE.

Syntax


BOOL CloseDecompressor(
  _In_ DECOMPRESSOR_HANDLE DecompressorHandle
);

Parameters

DecompressorHandle [in]

Handle to the decompressor to be closed. This is the handle to the compressor that was returned by CreateDecompressor.

Return value

If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

If the compression algorithm fails for some internal reason, the error from GetLastError can be ERROR_FUNCTION_FAILED. If the system cannot locate the compression algorithm handle, the error can be ERROR_INVALID_HANDLE.

Requirements

Header

Compressapi.h on Windows 8 and Windows Server 2012

Library

Cabinet.lib

DLL

Cabinet.dll

See also

Compression API Functions

 

 

Community Additions

Show:
© 2016 Microsoft