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.
 
 
 
 
 
 

43 lines
753 B

/*++
Copyright (C) 1996-1999 Microsoft Corporation
Module Name:
strtable.h
Abstract:
<abstract>
--*/
class CStringTable
{
protected:
UINT m_idsMin;
UINT m_idsMax;
USHORT m_cStrings;
LPWSTR *m_ppszTable;
public:
CStringTable(void);
~CStringTable(void);
BOOL Init( UINT idsMin, UINT idsMax );
//Function to resolve an ID into a string pointer.
LPWSTR operator []( const UINT );
};
typedef CStringTable *PCStringTable;
#ifdef CCHSTRINGMAX
#undef CCHSTRINGMAX
#endif
#define CCHSTRINGMAX 256
// Global instance of string table
extern CStringTable StringTable;