winfilereader.h.svn-base
上传用户:market2
上传日期:2018-11-18
资源大小:18786k
文件大小:0k
源码类别:
外挂编程
开发平台:
Windows_Unix
- #ifndef _WINFILEREADER_H_
- #define _WINFILEREADER_H_
- #include <windows.h>
- #include "filereader.h"
- class WinFileReader: public FileReader {
- private:
- HANDLE hFile;
- HANDLE hMapFile;
- DWORD size;
- char *addr;
- public:
- WinFileReader (const char *filename);
- ~WinFileReader ();
- unsigned int getSize ();
- unsigned int readInt (unsigned int offset);
- const char *readStr (unsigned int offset);
- };
- #endif /* _WINFILEREADER_H_ */