## Vanara.PInvoke.Cabinet PInvoke API (methods, structures and constants) imported from Windows Cabinet.dll. - Includes methods from cabinet.dll - Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.Cabinet?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.Cabinet?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.Cabinet) ### Methods - 100% API coverage (22 of 22 functions) Native Method | Header | Managed Method --- | --- | --- [CloseCompressor](https://www.google.com/search?num=5&q=CloseCompressor+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.CloseCompressor](https://github.com/dahall/Vanara/search?l=C%23&q=CloseCompressor) [CloseDecompressor](https://www.google.com/search?num=5&q=CloseDecompressor+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.CloseDecompressor](https://github.com/dahall/Vanara/search?l=C%23&q=CloseDecompressor) [Compress](https://www.google.com/search?num=5&q=Compress+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.Compress](https://github.com/dahall/Vanara/search?l=C%23&q=Compress) [CreateCompressor](https://www.google.com/search?num=5&q=CreateCompressor+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.CreateCompressor](https://github.com/dahall/Vanara/search?l=C%23&q=CreateCompressor) [CreateDecompressor](https://www.google.com/search?num=5&q=CreateDecompressor+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.CreateDecompressor](https://github.com/dahall/Vanara/search?l=C%23&q=CreateDecompressor) [Decompress](https://www.google.com/search?num=5&q=Decompress+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.Decompress](https://github.com/dahall/Vanara/search?l=C%23&q=Decompress) [FCIAddFile](https://www.google.com/search?num=5&q=FCIAddFile+site%3Adocs.microsoft.com) | fci.h | [Vanara.PInvoke.Cabinet.FCIAddFile](https://github.com/dahall/Vanara/search?l=C%23&q=FCIAddFile) [FCICreate](https://www.google.com/search?num=5&q=FCICreate+site%3Adocs.microsoft.com) | fci.h | [Vanara.PInvoke.Cabinet.FCICreate](https://github.com/dahall/Vanara/search?l=C%23&q=FCICreate) [FCIDestroy](https://www.google.com/search?num=5&q=FCIDestroy+site%3Adocs.microsoft.com) | fci.h | [Vanara.PInvoke.Cabinet.FCIDestroy](https://github.com/dahall/Vanara/search?l=C%23&q=FCIDestroy) [FCIFlushCabinet](https://www.google.com/search?num=5&q=FCIFlushCabinet+site%3Adocs.microsoft.com) | fci.h | [Vanara.PInvoke.Cabinet.FCIFlushCabinet](https://github.com/dahall/Vanara/search?l=C%23&q=FCIFlushCabinet) [FCIFlushFolder](https://www.google.com/search?num=5&q=FCIFlushFolder+site%3Adocs.microsoft.com) | fci.h | [Vanara.PInvoke.Cabinet.FCIFlushFolder](https://github.com/dahall/Vanara/search?l=C%23&q=FCIFlushFolder) [FDICopy](https://www.google.com/search?num=5&q=FDICopy+site%3Adocs.microsoft.com) | fdi.h | [Vanara.PInvoke.Cabinet.FDICopy](https://github.com/dahall/Vanara/search?l=C%23&q=FDICopy) [FDICreate](https://www.google.com/search?num=5&q=FDICreate+site%3Adocs.microsoft.com) | fdi.h | [Vanara.PInvoke.Cabinet.FDICreate](https://github.com/dahall/Vanara/search?l=C%23&q=FDICreate) [FDIDestroy](https://www.google.com/search?num=5&q=FDIDestroy+site%3Adocs.microsoft.com) | fdi.h | [Vanara.PInvoke.Cabinet.FDIDestroy](https://github.com/dahall/Vanara/search?l=C%23&q=FDIDestroy) [FDIIsCabinet](https://www.google.com/search?num=5&q=FDIIsCabinet+site%3Adocs.microsoft.com) | fdi.h | [Vanara.PInvoke.Cabinet.FDIIsCabinet](https://github.com/dahall/Vanara/search?l=C%23&q=FDIIsCabinet) [FDITruncateCabinet](https://www.google.com/search?num=5&q=FDITruncateCabinet+site%3Adocs.microsoft.com) | fdi.h | [Vanara.PInvoke.Cabinet.FDITruncateCabinet](https://github.com/dahall/Vanara/search?l=C%23&q=FDITruncateCabinet) [QueryCompressorInformation](https://www.google.com/search?num=5&q=QueryCompressorInformation+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.QueryCompressorInformation](https://github.com/dahall/Vanara/search?l=C%23&q=QueryCompressorInformation) [QueryDecompressorInformation](https://www.google.com/search?num=5&q=QueryDecompressorInformation+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.QueryDecompressorInformation](https://github.com/dahall/Vanara/search?l=C%23&q=QueryDecompressorInformation) [ResetCompressor](https://www.google.com/search?num=5&q=ResetCompressor+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.ResetCompressor](https://github.com/dahall/Vanara/search?l=C%23&q=ResetCompressor) [ResetDecompressor](https://www.google.com/search?num=5&q=ResetDecompressor+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.ResetDecompressor](https://github.com/dahall/Vanara/search?l=C%23&q=ResetDecompressor) [SetCompressorInformation](https://www.google.com/search?num=5&q=SetCompressorInformation+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.SetCompressorInformation](https://github.com/dahall/Vanara/search?l=C%23&q=SetCompressorInformation) [SetDecompressorInformation](https://www.google.com/search?num=5&q=SetDecompressorInformation+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.SetDecompressorInformation](https://github.com/dahall/Vanara/search?l=C%23&q=SetDecompressorInformation) ### Structures Native Structure | Header | Managed Structure --- | --- | --- [CCAB](https://www.google.com/search?num=5&q=CCAB+site%3Adocs.microsoft.com) | fci.h | [Vanara.PInvoke.Cabinet.CCAB](https://github.com/dahall/Vanara/search?l=C%23&q=CCAB) [COMPRESS_ALLOCATION_ROUTINES](https://www.google.com/search?num=5&q=COMPRESS_ALLOCATION_ROUTINES+site%3Adocs.microsoft.com) | compressapi.h | [Vanara.PInvoke.Cabinet.COMPRESS_ALLOCATION_ROUTINES](https://github.com/dahall/Vanara/search?l=C%23&q=COMPRESS_ALLOCATION_ROUTINES) [COMPRESSOR_HANDLE](https://www.google.com/search?num=5&q=COMPRESSOR_HANDLE+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Cabinet.COMPRESSOR_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=COMPRESSOR_HANDLE) [DECOMPRESSOR_HANDLE](https://www.google.com/search?num=5&q=DECOMPRESSOR_HANDLE+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Cabinet.DECOMPRESSOR_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=DECOMPRESSOR_HANDLE) [DECRYPT](https://www.google.com/search?num=5&q=DECRYPT+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Cabinet.FDIDECRYPT.DECRYPT](https://github.com/dahall/Vanara/search?l=C%23&q=DECRYPT) [ERF](https://www.google.com/search?num=5&q=ERF+site%3Adocs.microsoft.com) | fdi_fci_types.h | [Vanara.PInvoke.Cabinet.ERF](https://github.com/dahall/Vanara/search?l=C%23&q=ERF) [FDICABINETINFO](https://www.google.com/search?num=5&q=FDICABINETINFO+site%3Adocs.microsoft.com) | fdi.h | [Vanara.PInvoke.Cabinet.FDICABINETINFO](https://github.com/dahall/Vanara/search?l=C%23&q=FDICABINETINFO) [FDIDECRYPT](https://www.google.com/search?num=5&q=FDIDECRYPT+site%3Adocs.microsoft.com) | fdi.h | [Vanara.PInvoke.Cabinet.FDIDECRYPT](https://github.com/dahall/Vanara/search?l=C%23&q=FDIDECRYPT) [FDINOTIFICATION](https://www.google.com/search?num=5&q=FDINOTIFICATION+site%3Adocs.microsoft.com) | fdi.h | [Vanara.PInvoke.Cabinet.FDINOTIFICATION](https://github.com/dahall/Vanara/search?l=C%23&q=FDINOTIFICATION) [HFCI](https://www.google.com/search?num=5&q=HFCI+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Cabinet.HFCI](https://github.com/dahall/Vanara/search?l=C%23&q=HFCI) [HFDI](https://www.google.com/search?num=5&q=HFDI+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Cabinet.HFDI](https://github.com/dahall/Vanara/search?l=C%23&q=HFDI) [NEW_CABINET](https://www.google.com/search?num=5&q=NEW_CABINET+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Cabinet.FDIDECRYPT.NEW_CABINET](https://github.com/dahall/Vanara/search?l=C%23&q=NEW_CABINET) [NEW_FOLDER](https://www.google.com/search?num=5&q=NEW_FOLDER+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Cabinet.FDIDECRYPT.NEW_FOLDER](https://github.com/dahall/Vanara/search?l=C%23&q=NEW_FOLDER) [Union](https://www.google.com/search?num=5&q=Union+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Cabinet.FDIDECRYPT.Union](https://github.com/dahall/Vanara/search?l=C%23&q=Union) ### Classes Native Class | Header | Managed Class --- | --- | --- [SafeCOMPRESSOR_HANDLE](https://www.google.com/search?num=5&q=SafeCOMPRESSOR_HANDLE+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Cabinet.SafeCOMPRESSOR_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=SafeCOMPRESSOR_HANDLE) [SafeDECOMPRESSOR_HANDLE](https://www.google.com/search?num=5&q=SafeDECOMPRESSOR_HANDLE+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Cabinet.SafeDECOMPRESSOR_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=SafeDECOMPRESSOR_HANDLE) [SafeHFCI](https://www.google.com/search?num=5&q=SafeHFCI+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Cabinet.SafeHFCI](https://github.com/dahall/Vanara/search?l=C%23&q=SafeHFCI) [SafeHFDI](https://www.google.com/search?num=5&q=SafeHFDI+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.Cabinet.SafeHFDI](https://github.com/dahall/Vanara/search?l=C%23&q=SafeHFDI)