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.

39 lines
820 B

  1. //
  2. // Microsoft Corporation 1998
  3. //
  4. // MAIN.H - Precompiled Header
  5. //
  6. #define INLINE_HRESULT_FROM_WIN32
  7. #include <windows.h>
  8. #include <stdio.h>
  9. #include <windowsx.h>
  10. #include <lm.h>
  11. #include <ole2.h>
  12. #include <olectl.h>
  13. #include <shellapi.h>
  14. #include <shlobj.h>
  15. #include <commctrl.h>
  16. #include <prsht.h>
  17. #include <mmc.h>
  18. #include <gpedit.h>
  19. #include "rigpsnap.h"
  20. class CSnapIn;
  21. #include "layout.h"
  22. #include "compdata.h"
  23. #include "snapin.h"
  24. #include "dataobj.h"
  25. #include "debug.h"
  26. #include "util.h"
  27. #include "resource.h"
  28. // Global variables
  29. extern LONG g_cRefThisDll;
  30. extern HINSTANCE g_hInstance;
  31. // Macros
  32. #define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
  33. // Functions to create class factories
  34. HRESULT CreateComponentDataClassFactory (REFCLSID rclsid, REFIID riid, LPVOID* ppv);