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.

51 lines
1.2 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Job Schedule Object Handler
  4. //
  5. // Microsoft Windows
  6. // Copyright (C) Microsoft Corporation, 1992 - 1996.
  7. //
  8. // File: job.hxx
  9. //
  10. // Contents: job object header
  11. //
  12. // History: 23-May-95 EricB created
  13. //
  14. //-----------------------------------------------------------------------------
  15. #ifndef _JOB_HXX_
  16. #define _JOB_HXX_
  17. #include <debug.hxx>
  18. #include <job_cls.hxx>
  19. #include <misc.hxx>
  20. #include "..\inc\resource.h"
  21. extern CLSID CLSID_JobShellExt;
  22. HRESULT GetTriggerRunTimes(
  23. TASK_TRIGGER &,
  24. const SYSTEMTIME *,
  25. const SYSTEMTIME *,
  26. WORD *,
  27. WORD,
  28. CTimeRunList *,
  29. LPTSTR,
  30. DWORD,
  31. DWORD,
  32. WORD,
  33. WORD);
  34. HRESULT GetServerNameFromPath(
  35. LPCWSTR pwszNetworkPath,
  36. DWORD cbBufferSize,
  37. WCHAR wszBuffer[],
  38. WCHAR ** ppwszServerName);
  39. void AddMinutesToFileTime(
  40. LPFILETIME pft,
  41. DWORD Minutes);
  42. BOOL
  43. IsValidMonthlyDateTrigger(
  44. PTASK_TRIGGER pTrigger);
  45. #endif // _JOB_HXX_