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.

48 lines
1.1 KiB

  1. //
  2. // Global variables
  3. //
  4. extern WbMainWindow * g_pMain;
  5. extern HINSTANCE g_hInstance;
  6. extern IWbClient * g_pwbCore;
  7. extern UINT g_uConfShutdown;
  8. extern HPALETTE g_hRainbowPaletteDisplay;
  9. extern WbPrinter * g_pPrinter;
  10. extern HINSTANCE g_hImmLib;
  11. extern IGC_PROC g_fnImmGetContext;
  12. extern INI_PROC g_fnImmNotifyIME;
  13. enum
  14. {
  15. CLIPBOARD_PRIVATE_SINGLE_OBJ = 0,
  16. CLIPBOARD_PRIVATE_MULTI_OBJ,
  17. CLIPBOARD_DIB,
  18. CLIPBOARD_ENHMETAFILE,
  19. CLIPBOARD_TEXT,
  20. CLIPBOARD_ACCEPTABLE_FORMATS
  21. };
  22. extern int g_ClipboardFormats[CLIPBOARD_ACCEPTABLE_FORMATS];
  23. extern BOOL g_bPalettesInitialized;
  24. extern BOOL g_bUsePalettes;
  25. extern UINT g_PenWidths[NUM_OF_WIDTHS];
  26. extern UINT g_HighlightWidths[NUM_OF_WIDTHS];
  27. #define NUM_COLOR_ENTRIES 21
  28. extern COLORREF g_ColorTable[NUM_COLOR_ENTRIES];
  29. //
  30. // Complex object globals
  31. //
  32. extern WbUserList * g_pUsers;
  33. extern WbDrawingArea * g_pDraw;
  34. extern DCWbColorToIconMap * g_pIcons;