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.

53 lines
1.7 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1996.
  5. //
  6. // File: globals.cxx
  7. //
  8. // Contents: Globals shared between two or more modules.
  9. //
  10. // History: 09-27-94 DavidMun Created
  11. //
  12. //----------------------------------------------------------------------------
  13. #include <headers.hxx>
  14. #pragma hdrstop
  15. #include "jt.hxx"
  16. CLog g_Log("JT");
  17. WCHAR g_wszLastStringToken[MAX_TOKEN_LEN + 1];
  18. WCHAR g_wszLastNumberToken[11]; // "4294967295" is max number
  19. ULONG g_ulLastNumberToken;
  20. ITask *g_pJob;
  21. IUnknown *g_pJobQueue;
  22. ITaskScheduler * g_pJobScheduler;
  23. IEnumWorkItems *g_apEnumJobs[NUM_ENUMERATOR_SLOTS];
  24. const IID IID_ITaskTrigger = {0x148BD52B,0xA2AB,0x11CE,{0xB1,0x1F,0x00,0xAA,0x00,0x53,0x05,0x03}};
  25. const IID IID_ITask = {0x148BD524,0xA2AB,0x11CE,{0xB1,0x1F,0x00,0xAA,0x00,0x53,0x05,0x03}};
  26. const IID IID_IEnumTasks = {0x148BD528,0xA2AB,0x11CE,{0xB1,0x1F,0x00,0xAA,0x00,0x53,0x05,0x03}};
  27. const IID IID_ITaskScheduler = {0x148BD527,0xA2AB,0x11CE,{0xB1,0x1F,0x00,0xAA,0x00,0x53,0x05,0x03}};
  28. const IID IID_IProvideTaskPage = {0x4086658a,0xcbbb,0x11cf,{0xb6,0x04,0x00,0xc0,0x4f,0xd8,0xd5,0x65}};
  29. #include <initguid.h>
  30. // {148BD520-A2AB-11CE-B11F-00AA00530503}
  31. DEFINE_GUID(CLSID_CTask, 0x148BD520, 0xA2AB, 0x11CE, 0xB1, 0x1F, 0x00, 0xAA, 0x00, 0x53, 0x05, 0x03);
  32. // {255b3f60-829e-11cf-8d8b-00aa0060f5bf}
  33. DEFINE_GUID(CLSID_CQueue, 0x255b3f60, 0x829e, 0x11cf, 0x8d, 0x8b, 0x00, 0xaa, 0x00, 0x60, 0xf5, 0xbf);
  34. // {148BD52A-A2AB-11CE-B11F-00AA00530503}
  35. DEFINE_GUID(CLSID_CTaskScheduler, 0x148BD52A, 0xA2AB, 0x11CE, 0xB1, 0x1F, 0x00, 0xAA, 0x00, 0x53, 0x05, 0x03);