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.
 
 
 
 
 
 

70 lines
1.8 KiB

/*++
Copyright (c) 1990-1998 Microsoft Corporation, All Rights Reserved
Module Name:
DATA.C
++*/
#include "windows.h"
#include "immdev.h"
#define _NO_EXTERN_
#include "fakeime.h"
#include "resource.h"
HINSTANCE hInst;
HANDLE hMutex = NULL;
HKL hMyKL = 0;
/* for Translat */
LPTRANSMSGLIST lpCurTransKey= NULL;
UINT uNumTransKey;
BOOL fOverTransKey = FALSE;
/* for UI */
#ifdef FAKEIMEM
WCHAR wszUIClassName[] = L"FAKEIMEMUI";
char szUIClassName[] = "FAKEIMEMUI";
char szCompStrClassName[] = "FAKEIMEMCompStr";
char szCandClassName[] = "FAKEIMEMCand";
char szStatusClassName[] = "FAKEIMEMStatus";
char szGuideClassName[] = "FAKEIMEMGuide";
#elif defined(UNICODE)
TCHAR szUIClassName[] = TEXT("FAKEIMEUUI");
TCHAR szCompStrClassName[] = TEXT("FAKEIMEUCompStr");
TCHAR szCandClassName[] = TEXT("FAKEIMEUCand");
TCHAR szStatusClassName[] = TEXT("FAKEIMEUStatus");
TCHAR szGuideClassName[] = TEXT("FAKEIMEUGuide");
#else
char szUIClassName[] = "FAKEIMEUI";
char szCompStrClassName[] = "FAKEIMECompStr";
char szCandClassName[] = "FAKEIMECand";
char szStatusClassName[] = "FAKEIMEStatus";
char szGuideClassName[] = "FAKEIMEGuide";
#endif
MYGUIDELINE glTable[] = {
{GL_LEVEL_ERROR, GL_ID_NODICTIONARY, IDS_GL_NODICTIONARY, 0},
{GL_LEVEL_WARNING, GL_ID_TYPINGERROR, IDS_GL_TYPINGERROR, 0},
{GL_LEVEL_WARNING, GL_ID_PRIVATE_FIRST,IDS_GL_TESTGUIDELINESTR, IDS_GL_TESTGUIDELINEPRIVATE}
};
/* for DIC */
TCHAR szDicFileName[256]; /* Dictionary file name stored buffer */
#ifdef DEBUG
/* for DebugOptions */
#pragma data_seg("SHAREDDATA")
DWORD dwLogFlag = 0L;
DWORD dwDebugFlag = 0L;
#pragma data_seg()
#endif