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.

65 lines
2.3 KiB

  1. //=--------------------------------------------------------------------------=
  2. // Globals.H
  3. //=--------------------------------------------------------------------------=
  4. // Copyright 1995-1996 Microsoft Corporation. All Rights Reserved.
  5. //
  6. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  7. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  8. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  9. // PARTICULAR PURPOSE.
  10. //=--------------------------------------------------------------------------=
  11. //
  12. // contains externs and stuff for Global variables, etc ..
  13. //
  14. #ifndef _GLOBALS_H_
  15. // the library that we are
  16. //
  17. extern const CLSID *g_pLibid;
  18. //=--------------------------------------------------------------------------=
  19. // support for licensing
  20. //
  21. extern BOOL g_fMachineHasLicense;
  22. extern BOOL g_fCheckedForLicense;
  23. //=--------------------------------------------------------------------------=
  24. // does our server have a type library?
  25. //
  26. extern BOOL g_fServerHasTypeLibrary;
  27. //=--------------------------------------------------------------------------=
  28. // our instance handle, and various pieces of information interesting to
  29. // localization
  30. //
  31. extern HINSTANCE g_hInstance;
  32. extern const VARIANT_BOOL g_fSatelliteLocalization;
  33. extern VARIANT_BOOL g_fHaveLocale;
  34. extern LCID g_lcidLocale;
  35. //=--------------------------------------------------------------------------=
  36. // apartment threading support.
  37. //
  38. extern CRITICAL_SECTION g_CriticalSection;
  39. //=--------------------------------------------------------------------------=
  40. // our global memory allocator and global memory pool
  41. //
  42. extern HANDLE g_hHeap;
  43. //=--------------------------------------------------------------------------=
  44. // global parking window for parenting various things.
  45. //
  46. extern HWND g_hwndParking;
  47. //=--------------------------------------------------------------------------=
  48. // system information
  49. //
  50. extern BOOL g_fSysWin95; // we're under Win95 system, not just NT SUR
  51. extern BOOL g_fSysWinNT; // we're under some form of Windows NT
  52. extern BOOL g_fSysWin95Shell; // we're under Win95 or Windows NT SUR { > 3/51)
  53. #define _GLOBALS_H_
  54. #endif // _GLOBALS_H_
  55.