AyaNova CE Archive added as recovered from storage during attempt to upgrade a customer from v1.7 to v8!

This commit is contained in:
2023-07-14 18:22:24 +00:00
parent 5789b3658a
commit 3683e8cc7a
262 changed files with 118078 additions and 4 deletions

View File

@@ -0,0 +1,25 @@
#ifndef _CRC32STATIC_H_
#define _CRC32STATIC_H_
#include "Common.h"
class CCrc32Static
{
public:
CCrc32Static();
virtual ~CCrc32Static();
static DWORD StringCrc32(LPCTSTR szString, DWORD &dwCrc32);
//static DWORD FileCrc32Streams(LPCTSTR szFilename, DWORD &dwCrc32);
static DWORD FileCrc32Win32(LPCTSTR szFilename, DWORD &dwCrc32);
static DWORD FileCrc32Filemap(LPCTSTR szFilename, DWORD &dwCrc32);
static DWORD FileCrc32Assembly(LPCTSTR szFilename, DWORD &dwCrc32);
protected:
static bool GetFileSizeQW(const HANDLE hFile, QWORD &qwSize);
static inline void CalcCrc32(const BYTE byte, DWORD &dwCrc32);
static DWORD s_arrdwCrc32Table[256];
};
#endif