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.

49 lines
1.5 KiB

  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently,
  3. // but are changed infrequently
  4. #if !defined(AFX_STDAFX_H__664DE28F_B5C4_4970_8235_E7602E03D253__INCLUDED_)
  5. #define AFX_STDAFX_H__664DE28F_B5C4_4970_8235_E7602E03D253__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #define STRICT
  10. #ifndef _WIN32_WINNT
  11. #define _WIN32_WINNT 0x0400
  12. #endif
  13. #define _ATL_APARTMENT_THREADED
  14. #include <atlbase.h>
  15. //You may derive a class from CComModule and use it if you want to override
  16. //something, but do not change the name of _Module
  17. extern CComModule _Module;
  18. extern HMODULE g_hModule;
  19. #include <windows.h>
  20. #include <atlcom.h>
  21. #include <comdef.h>
  22. #include <string>
  23. #include <map>
  24. #include <vector>
  25. #include <list>
  26. #include <wbemidl.h>
  27. #include <wbemcli.h>
  28. #include <winsock2.h>
  29. #include "dglogsres.h"
  30. #include "network.h"
  31. #include <netsh.h>
  32. // Functions loaded from netsh.exe. We can not link to netsh.exe since it conflicts with wmi.exe or something like that.
  33. //
  34. typedef DWORD (WINAPI *RegisterHelper22)(CONST GUID *, CONST NS_HELPER_ATTRIBUTES *);
  35. typedef DWORD (WINAPI *RegisterContext22)(CONST NS_CONTEXT_ATTRIBUTES *);
  36. typedef DWORD (WINAPI *PrintMessage22)(LPCWSTR, ...);
  37. using namespace std;
  38. //{{AFX_INSERT_LOCATION}}
  39. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  40. #endif // !defined(AFX_STDAFX_H__664DE28F_B5C4_4970_8235_E7602E03D253__INCLUDED)