Current News
Archived News
Search News
Discussion Forum


Old Forum
Install Programs More Downloads...
Troubleshooting
Source Code
Format Specs.
Misc. Information
Non-SF Stuff
Links




1 // SComp.h - Header for main compression/decompression routines
2 // License information for this code is in license.txt
4 #ifndef S_COMP_INCLUDED
5 #define S_COMP_INCLUDED
7 #if (defined(_WIN32) || defined(WIN32)) && !defined(NO_WINDOWS_H)
8 #include <windows.h>
9 #else
10 #include "wintypes.h"
11 #endif
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
17 extern const unsigned int UNSUPPORTED_COMPRESSION;
18 extern const unsigned int UNSUPPORTED_DECOMPRESSION;
20 BOOL WINAPI SCompCompress(LPVOID lpvDestinationMem, LPDWORD lpdwCompressedSize, LPVOID lpvSourceMem, DWORD dwDecompressedSize, DWORD dwCompressionType, DWORD dwCompressionSubType, DWORD dwCompressLevel);
21 BOOL WINAPI SCompDecompress(LPVOID lpvDestinationMem, LPDWORD lpdwDecompressedSize, LPVOID lpvSourceMem, DWORD dwCompressedSize);
23 #ifdef __cplusplus
24 };  // extern "C" 
25 #endif
27 #endif