Source code of Windows XP (NT5)
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.

69 lines
1.7 KiB

  1. //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
  2. //
  3. // globals.h
  4. //
  5. // Contains defines for all of the global variables used in cdfview.
  6. //
  7. // History:
  8. //
  9. // 3/16/97 edwardp Created.
  10. //
  11. ////////////////////////////////////////////////////////////////////////////////
  12. //
  13. // Check for previous includes of this file.
  14. //
  15. #ifndef _GLOBALS_H_
  16. #define _GLOBALS_H_
  17. //
  18. // Extern global variable declarations.
  19. //
  20. extern DWORD g_dwCacheCount;
  21. extern HINSTANCE g_msxmlInst;
  22. #ifndef UNIX
  23. /* Unix does not use webcheck */
  24. extern HINSTANCE g_webcheckInst;
  25. #endif /* UNIX */
  26. extern HINSTANCE g_hinst;
  27. extern ULONG g_cDllRef;
  28. extern PCACHEITEM g_pCache;
  29. extern CRITICAL_SECTION g_csCache;
  30. extern TCHAR g_szModuleName[MAX_PATH];
  31. extern BOOL g_bRunningOnNT;
  32. extern const GUID CLSID_CDFVIEW;
  33. extern const GUID CLSID_CDFINI;
  34. extern const GUID CLSID_CDFICONHANDLER;
  35. extern const GUID CLSID_CDFMENUHANDLER;
  36. extern const GUID CLSID_CDFPROPPAGES;
  37. extern const TCHAR c_szChannel[];
  38. extern const TCHAR c_szCDFURL[];
  39. extern const TCHAR c_szHotkey[];
  40. extern const TCHAR c_szDesktopINI[];
  41. extern const TCHAR c_szScreenSaverURL[];
  42. extern const WCHAR c_szPropCrawlActualSize[];
  43. extern const WCHAR c_szPropStatusString[];
  44. extern const WCHAR c_szPropCompletionTime[];
  45. extern const TCHAR c_szHICKey[];
  46. extern const TCHAR c_szHICVal[];
  47. //
  48. // Trace flag definitions
  49. //
  50. #define TF_CDFPARSE 0x00000010
  51. #define TF_CDFICON 0x00000020
  52. #define TF_CDFLOGO 0x00000040
  53. #define TF_CDFENUM 0x00000080
  54. #define TF_OBJECTS 0x00000100
  55. #define TF_GLEAM 0x00000200
  56. #define TF_THUNK 0x00000400
  57. #endif // _GLOBALS_H_