mirror of https://github.com/tongzx/nt5src
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.
25 lines
456 B
25 lines
456 B
// TitleDB.h
|
|
|
|
#ifndef _TITLEDB_H_
|
|
#define _TITLEDB_H_
|
|
|
|
#include <windows.h>
|
|
#include <tchar.h>
|
|
|
|
class CTitleLibrary
|
|
{
|
|
protected:
|
|
TCHAR* m_tcsDataBlock; // The title / index data block
|
|
TCHAR** m_atcsNames; // The lookup table w/ pointers indexed into the data block
|
|
long m_lMaxIndex; // The upper index limit
|
|
|
|
HRESULT Initialize();
|
|
|
|
public:
|
|
CTitleLibrary();
|
|
~CTitleLibrary();
|
|
|
|
HRESULT GetName (long lID, TCHAR** ptcsName);
|
|
};
|
|
|
|
#endif //_TITLEDB_H_
|