windows-nt/Source/XPSP1/NT/admin/controls/smonctrl/strtable.h
2020-09-26 16:20:57 +08:00

44 lines
711 B
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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