AyaNova CE Archive added as recovered from storage during attempt to upgrade a customer from v1.7 to v8!
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user