Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
572 B

  1. #ifndef __MYINF_H__
  2. #define __MYINF_H__
  3. #include "filemap.h"
  4. class CMyInf : public CFileMap {
  5. public:
  6. CMyInf();
  7. ~CMyInf();
  8. BOOL FindStringSection();
  9. BOOL bOpen(LPCSTR FileName,LPCTSTR Locale);
  10. BOOL AppendNonStringSectionPart(CMemFile& MemFile);
  11. BOOL AppendStringSectionPart(CMemFile& MemFile);
  12. BOOL Duplicate(CMemFile& MemFile);
  13. private:
  14. BOOL _GenerateStringName(LPCSTR Locale);
  15. LPBYTE m_SectionStart;
  16. LPBYTE m_SectionEnd;
  17. WCHAR m_Locale[20];
  18. };
  19. #endif