Source code of Windows XP (NT5)
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.

24 lines
456 B

  1. // TitleDB.h
  2. #ifndef _TITLEDB_H_
  3. #define _TITLEDB_H_
  4. #include <windows.h>
  5. #include <tchar.h>
  6. class CTitleLibrary
  7. {
  8. protected:
  9. TCHAR* m_tcsDataBlock; // The title / index data block
  10. TCHAR** m_atcsNames; // The lookup table w/ pointers indexed into the data block
  11. long m_lMaxIndex; // The upper index limit
  12. HRESULT Initialize();
  13. public:
  14. CTitleLibrary();
  15. ~CTitleLibrary();
  16. HRESULT GetName (long lID, TCHAR** ptcsName);
  17. };
  18. #endif //_TITLEDB_H_