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.

53 lines
1.4 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Job Scheduler
  4. //
  5. // Microsoft Windows
  6. // Copyright (C) Microsoft Corporation, 1992 - 1996.
  7. //
  8. // File: headers.hxx
  9. //
  10. // Contents: standard headers
  11. //
  12. // History: 23-May-95 EricB created
  13. //
  14. //-----------------------------------------------------------------------------
  15. #include <stddef.h>
  16. #include <stdio.h>
  17. #include <limits.h>
  18. #include <tchar.h>
  19. #include <wchar.h>
  20. #include <nt.h>
  21. #include <ntrtl.h> // LIST_ENTRY etc are used even for non-NT builds
  22. #include <nturtl.h>
  23. #include <windows.h>
  24. #include <windowsx.h>
  25. #include <regstr.h>
  26. #include <lmcons.h>
  27. #include <lmat.h>
  28. #include <prsht.h> // MUST be included BEFORE commctrl.h so that
  29. #include <commctrl.h> // DUMMYUNIONNAME4 & 5 will be defined
  30. #include <shlwapi.h>
  31. #include <shlwapip.h>
  32. #include <shlobj.h>
  33. #include <shlobjp.h>
  34. #include <shellapi.h>
  35. #include <shlapip.h>
  36. #include <winuserp.h>
  37. #include <winbase.h>
  38. #include <winbasep.h>
  39. #define OVERRIDE_SHLWAPI_PATH_FUNCTIONS
  40. #include <comctrlp.h>
  41. #define EXPORTDEF // Needed by cdlink.hxx
  42. #include <cdlink.hxx>
  43. #include <StrSafe.h>
  44. #include "..\..\smdebug\smdebug.h"
  45. #define ResultFromShort(i) MAKE_HRESULT(SEVERITY_SUCCESS, 0, (USHORT)(i))
  46. #define ShortFromResult(r) (short)HRESULT_CODE(r)
  47. #define SA_MAX_COMPUTERNAME_LENGTH 256