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.

47 lines
893 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Scheduling Agent Service
  4. //
  5. // Microsoft Windows
  6. // Copyright (C) Microsoft Corporation, 1992 - 1996.
  7. //
  8. // File: sageset.hxx
  9. //
  10. // Contents: Support for Sage Settings
  11. //
  12. //----------------------------------------------------------------------------
  13. #ifndef __SAGESET_HXX__
  14. #define __SAGESET_HXX__
  15. // Constants
  16. extern const TCHAR SAGERUN_PARAM[];
  17. #define MAX_CCH_SAGERUN_PARAM 20 // " /sagerun:4294967295"
  18. // Prototypes
  19. BOOL
  20. IsSageAware(
  21. CHAR * pszCmd,
  22. const CHAR * pszParams,
  23. int * pnSetNum);
  24. BOOL
  25. IsSageAwareW(
  26. WCHAR *pwzCmd,
  27. WCHAR *pwzParams,
  28. int *pnSetNum);
  29. HRESULT
  30. CreateSageRunKey(
  31. LPCSTR szSageAwareExe,
  32. UINT uiKey);
  33. HRESULT
  34. DoSageSettings(
  35. LPSTR szCommand,
  36. LPSTR szSageRun);
  37. #endif // __SAGESET_HXX__