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




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