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.

66 lines
1.2 KiB

  1. #pragma once
  2. //#define COM_NO_WINDOWS_H
  3. #define RPC_NO_WINDOWS_H
  4. //#define NOCOMM
  5. #define NOCRYPT
  6. //#define NOGDI
  7. //#define NOICONS
  8. #define NOIME
  9. //#define NOMCX
  10. //#define NOMDI
  11. //#define NOMENUS
  12. //#define NOMETAFILE
  13. #define NOSOUND
  14. //#define NOSYSPARAMSINFO
  15. //#define NOWH
  16. //#define NOWINABLE
  17. //#define NOWINRES
  18. //#include <nt.h>
  19. //#include <ntrtl.h>
  20. //#include <nturtl.h>
  21. // This avoids duplicate definitions with Shell PIDL functions
  22. // and MUST BE DEFINED!
  23. #define AVOID_NET_CONFIG_DUPLICATES
  24. #include <windows.h>
  25. #include <objbase.h>
  26. #include <devguid.h>
  27. #include <wchar.h>
  28. #include <tchar.h>
  29. #include <upnp.h>
  30. #include <upnpp.h>
  31. #include "ncmem.h"
  32. #include "ncdefine.h"
  33. #include "ncdebug.h"
  34. #include <shellapi.h>
  35. // This avoids duplicate definitions with Shell PIDL functions
  36. // and MUST BE DEFINED!
  37. #define AVOID_NET_CONFIG_DUPLICATES
  38. // Undocument shell32 stuff. Sigh.
  39. #define DONT_WANT_SHELLDEBUG 1
  40. #define NO_SHIDLIST 1
  41. #define USE_SHLWAPI_IDLIST
  42. #define ResultFromShort(i) MAKE_HRESULT(SEVERITY_SUCCESS, 0, (USHORT)(i))
  43. #include <upnpatl.h>
  44. #include "nsbase.h"
  45. #include "upsres.h"
  46. #include <ncdebug.h>
  47. #include <upnpshell.h>
  48. #include <commui.h>
  49. #include "upnpfold.h"
  50. #include "shutil.h"
  51. #include "openfold.h"
  52. #include "updpidl.h"