Windows NT 4.0 source code leak
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.
 
 
 
 
 
 

34 lines
601 B

#ifndef _CPHRASE_INCLUDED
#define _CPHRASE_INCLUDED
#ifndef _CTABLE_INCLUDED
#include "..\common\ctable.h"
#endif
const int CCH_MAX_PHRASE = 255; // Maximum length for a phrase
#pragma warning(disable:4200) // ignore warning about zero-length array
typedef struct {
HASH hash;
DWORD count;
char sz[];
} HASH_PHRASE;
typedef HASH_PHRASE FAR* FAR* PPHR;
class CPhrase : public CTable
{
public:
CPhrase();
BOOL STDCALL AddPhrase(PSTR pszString);
DWORD STDCALL GetPhrase(PSTR pszDst);
void SortTable(void);
protected:
BOOL fWordPhrasing;
};
extern CPhrase* pphrase;
#endif // CPHRASE