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.

68 lines
2.7 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Job Scheduler
  4. //
  5. // Microsoft Windows
  6. // Copyright (C) Microsoft Corporation, 1992 - 1996.
  7. //
  8. // File: job-ids.hxx
  9. //
  10. // Contents: Property/Dispatch and other Job Scheduler IDs
  11. //
  12. // History: 23-May-95 EricB created
  13. //
  14. //-----------------------------------------------------------------------------
  15. // oleext.h used to define PROPID_FIRST_NAME_DEFAULT to be 4095; it doesn't
  16. // anymore...
  17. //#include <oleext.h>
  18. #ifndef PROPID_FIRST_NAME_DEFAULT
  19. #define PROPID_FIRST_NAME_DEFAULT ( 4095 )
  20. #endif
  21. //
  22. // Job object propterty set IDs/Dispatch IDs
  23. //
  24. #define PROPID_JOB_ID PROPID_FIRST_NAME_DEFAULT
  25. #define PROPID_JOB_Command (PROPID_FIRST_NAME_DEFAULT + 1)
  26. #define PROPID_JOB_WorkingDir (PROPID_FIRST_NAME_DEFAULT + 2)
  27. #define PROPID_JOB_EnvironStrs (PROPID_FIRST_NAME_DEFAULT + 3)
  28. #define PROPID_JOB_OleObjPath (PROPID_FIRST_NAME_DEFAULT + 4)
  29. #define PROPID_JOB_MethodName (PROPID_FIRST_NAME_DEFAULT + 5)
  30. #define PROPID_JOB_AccountSID (PROPID_FIRST_NAME_DEFAULT + 6)
  31. #define PROPID_JOB_Comment (PROPID_FIRST_NAME_DEFAULT + 7)
  32. #define PROPID_JOB_Priority (PROPID_FIRST_NAME_DEFAULT + 8)
  33. #define PROPID_JOB_LogCfgChanges (PROPID_FIRST_NAME_DEFAULT + 9)
  34. #define PROPID_JOB_LogRuns (PROPID_FIRST_NAME_DEFAULT + 10)
  35. #define PROPID_JOB_Interactive (PROPID_FIRST_NAME_DEFAULT + 11)
  36. #define PROPID_JOB_NotOnBattery (PROPID_FIRST_NAME_DEFAULT + 12)
  37. #define PROPID_JOB_NetSchedule (PROPID_FIRST_NAME_DEFAULT + 13)
  38. #define PROPID_JOB_InQueue (PROPID_FIRST_NAME_DEFAULT + 14)
  39. #define PROPID_JOB_Suspend (PROPID_FIRST_NAME_DEFAULT + 15)
  40. #define PROPID_JOB_DeleteWhenDone (PROPID_FIRST_NAME_DEFAULT + 16)
  41. #define PROPID_JOB_LastRunTime (PROPID_FIRST_NAME_DEFAULT + 17)
  42. #define PROPID_JOB_NextRunTime (PROPID_FIRST_NAME_DEFAULT + 18)
  43. #define PROPID_JOB_ExitCode (PROPID_FIRST_NAME_DEFAULT + 19)
  44. #define PROPID_JOB_Status (PROPID_FIRST_NAME_DEFAULT + 20)
  45. //
  46. // Job object property set boundary values
  47. //
  48. #define PROPID_JOB_First PROPID_JOB_ID
  49. #define PROPID_JOB_Last PROPID_JOB_Status
  50. #define NUM_JOB_PROPS (PROPID_JOB_Last - PROPID_JOB_First + 1)
  51. #define JOB_PROP_IDX(x) (x - PROPID_FIRST_NAME_DEFAULT)
  52. //
  53. // Version property set IDs
  54. //
  55. #define PROPID_VERSION_Major (PROPID_FIRST_NAME_DEFAULT + 100)
  56. #define PROPID_VERSION_Minor (PROPID_FIRST_NAME_DEFAULT + 101)
  57. //
  58. // Version property set boundary values
  59. //
  60. #define NUM_VERSION_PROPS 2
  61. #define VERSION_PROP_MAJOR 0
  62. #define VERSION_PROP_MINOR 1