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.

188 lines
5.4 KiB

  1. /*---------------------------------------------------------------------------*\
  2. | GLOBALS HEADER FILE
  3. | This module contains the external references for the global-variables
  4. | in globals.c
  5. |
  6. |
  7. | Copyright (c) Microsoft Corp., 1990-1993
  8. |
  9. | created: 29-Dec-92
  10. | history: 29-Dec-92 <chriswil> created with port to NT.
  11. | 19-Oct-93 <chriswil> unicode enhancements from a-dianeo.
  12. |
  13. \*---------------------------------------------------------------------------*/
  14. #ifndef WINCHAT_GLOBALS_H
  15. #define WINCHAT_GLOBALS_H
  16. #include <strsafe.h>
  17. #define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0]))
  18. extern HFONT hEditSndFont;
  19. extern HWND hwndSnd;
  20. extern HBRUSH hEditSndBrush;
  21. extern COLORREF SndColorref;
  22. extern COLORREF SndBrushColor;
  23. extern LOGFONT lfSnd;
  24. extern RECT SndRc;
  25. extern HFONT hEditRcvFont;
  26. extern HWND hwndRcv;
  27. extern HBRUSH hEditRcvBrush;
  28. extern COLORREF RcvColorref;
  29. extern COLORREF RcvBrushColor;
  30. extern COLORREF PartBrushColor;
  31. extern LOGFONT lfRcv;
  32. extern RECT RcvRc;
  33. extern DWORD idInst;
  34. extern HSZ hszServiceName;
  35. extern HSZ hszConnect;
  36. extern HSZ hszChatTopic;
  37. extern HSZ hszChatShare;
  38. extern HSZ hszTextItem;
  39. extern HSZ hszConvPartner;
  40. extern HSZ hszConnectTest;
  41. extern HSZ hszLocalName;
  42. extern HCONV ghConv;
  43. extern UINT_PTR idTimer;
  44. extern int dyStatus;
  45. extern int dyButtonBar;
  46. extern int dyBorder;
  47. extern int cxIcon;
  48. extern int cyIcon;
  49. extern int cbTextLen;
  50. extern DWORD StrXactID;
  51. extern DWORD XactID;
  52. extern HANDLE hInst;
  53. extern HACCEL hAccel;
  54. extern HDC hMemDC;
  55. extern HBITMAP hOldBitmap;
  56. extern HBITMAP hPhnBitmap;
  57. extern HBITMAP hOldMemObj;
  58. extern HICON hPhones[3];
  59. extern HFONT hFontStatus;
  60. extern HFONT hOldFont;
  61. extern HBRUSH hBtnFaceBrush;
  62. extern HPEN hShadowPen;
  63. extern HPEN hHilitePen;
  64. extern HPEN hFramePen;
  65. extern UINT cf_chatdata;
  66. extern HWND hwndActiveEdit;
  67. extern HWND hwndApp;
  68. extern HWND hwndToolbar;
  69. extern HWND hwndStatus;
  70. extern WNETCALL WNetServerBrowseDialog;
  71. extern int ASeq[];
  72. extern WORD cAnimate;
  73. extern HANDLE hMemTextBuffer;
  74. extern int nConnectAttempt;
  75. extern WNDPROC lpfnOldEditProc;
  76. extern WNDPROC lpfnOldRcvEditProc;
  77. extern LPBYTE lpbTextBuffer;
  78. extern CHOOSEFONT chf;
  79. extern CHOOSECOLOR chc;
  80. extern DWORD CustColors[16];
  81. extern CHATSTATE ChatState;
  82. extern CHATDATA ChatData;
  83. extern CHATDATA ChatDataRcv;
  84. extern WINDOWPLACEMENT Wpl;
  85. extern TCHAR szHelv [];
  86. extern TCHAR szAppName [];
  87. extern TCHAR szServiceName [];
  88. extern TCHAR szAlreadyConnect[];
  89. extern TCHAR szAbandonFirst [];
  90. extern TCHAR szDialing [];
  91. extern TCHAR szYouCaller [];
  92. extern TCHAR szNotCalled [];
  93. extern TCHAR szNotConnected [];
  94. extern TCHAR szConnectAbandon[];
  95. extern TCHAR szHangingUp [];
  96. extern TCHAR szHasTerminated [];
  97. extern TCHAR szConnectedTo [];
  98. extern TCHAR szConnecting [];
  99. extern TCHAR szIsCalling [];
  100. extern TCHAR szDialHelp [];
  101. extern TCHAR szAnswerHelp [];
  102. extern TCHAR szHangUpHelp [];
  103. extern TCHAR szNoConnect [];
  104. extern TCHAR szNoConnectionTo[];
  105. extern TCHAR szSysErr [];
  106. extern TCHAR szAlwaysOnTop [];
  107. extern TCHAR szNoNet [];
  108. extern TCHAR szBuf [];
  109. extern TCHAR szHelp [];
  110. extern TCHAR szConvPartner [];
  111. extern TCHAR szLocalName [];
  112. extern CONST TCHAR szChatTopic [];
  113. extern TCHAR szChatShare [];
  114. extern CONST TCHAR szWcRingIn [];
  115. extern CONST TCHAR szWcRingOut [];
  116. extern CONST TCHAR szSysIni [];
  117. extern CONST TCHAR szVredir [];
  118. extern CONST TCHAR szComputerName [];
  119. extern CONST TCHAR szChatText [];
  120. extern CONST TCHAR szConnectTest [];
  121. extern CONST TCHAR szWinChatClass [];
  122. extern CONST TCHAR szWinChatMenu [];
  123. extern CONST TCHAR szHelpFile [];
  124. extern CONST TCHAR szIni [];
  125. extern CONST TCHAR szFnt [];
  126. extern CONST TCHAR szPref [];
  127. extern CONST TCHAR szSnd [];
  128. extern CONST TCHAR szTool [];
  129. extern CONST TCHAR szStat [];
  130. extern CONST TCHAR szTop [];
  131. extern CONST TCHAR szUseOF [];
  132. extern CONST TCHAR szSbS [];
  133. extern CONST TCHAR szAutoAns [];
  134. extern CONST TCHAR szBkgnd [];
  135. extern CONST TCHAR szNull [];
  136. extern TCHAR szIniSection [];
  137. extern TCHAR szIniKey1 [];
  138. extern TCHAR szIniKey2 [];
  139. extern TCHAR szIniRingIn [];
  140. extern TCHAR szIniRingOut [];
  141. extern CONST TCHAR szHeight [];
  142. extern CONST TCHAR szWeight [];
  143. extern CONST TCHAR szPitchFam [];
  144. extern CONST TCHAR szItalic [];
  145. extern CONST TCHAR szUnderline [];
  146. extern CONST TCHAR szStrikeOut [];
  147. extern CONST TCHAR szFontName [];
  148. extern CONST TCHAR szWidth [];
  149. extern CONST TCHAR szCharSet [];
  150. extern CONST TCHAR szOutPrecision [];
  151. extern CONST TCHAR szClipPrec [];
  152. extern CONST TCHAR szQuality [];
  153. extern CONST TCHAR szColor [];
  154. extern CONST TCHAR szPlacement [];
  155. extern CONST TCHAR szPlcFmt [];
  156. extern UINT CONST nIDs[];
  157. extern BOOL gfDbcsEnabled;
  158. extern HIMC (WINAPI* pfnImmGetContext)(HWND);
  159. extern BOOL (WINAPI* pfnImmReleaseContext)(HWND, HIMC);
  160. extern LONG (WINAPI* pfnImmGetCompositionStringW)(HIMC, DWORD, LPVOID, DWORD);
  161. #endif // WINCHAT_GLOBALS_H