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.

55 lines
1.6 KiB

  1. // This is a part of the Microsoft Management Console.
  2. // Copyright (C) Microsoft Corporation, 1995 - 1999
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Management Console and related
  7. // electronic documentation provided with the interfaces.
  8. // stdafx.h : include file for standard system include files,
  9. // or project specific include files that are used frequently,
  10. // but are changed infrequently
  11. #undef _MSC_EXTENSIONS
  12. #define __DIR__ "capesnpn"
  13. #include <windows.h>
  14. #include <objbase.h>
  15. #include <coguid.h>
  16. #include <wincrypt.h>
  17. #include <certsrv.h>
  18. #include <atlbase.h>
  19. //You may derive a class from CComModule and use it if you want to override
  20. //something, but do not change the name of _Module
  21. extern CComModule _Module;
  22. extern const CLSID CLSID_CAPolicyExtensionSnapIn; // In-Proc server GUID
  23. extern const CLSID CLSID_CACertificateTemplateManager; // In-Proc server GUID
  24. extern const CLSID CLSID_Extension; // In-Proc server GUID
  25. extern const CLSID CLSID_CAPolicyAbout;
  26. extern const CLSID CLSID_CertTypeAbout;
  27. #define ARRAYLEN(x) (sizeof(x) / sizeof((x)[0]))
  28. #include <atlcom.h>
  29. #pragma comment(lib, "mmc")
  30. #include <mmc.h>
  31. extern HINSTANCE g_hInstance;
  32. // most common private includes
  33. #include "certlib.h"
  34. #include "tfc.h" // Thomlinson Foundation Classes
  35. #include "tmpllist.h"
  36. #include "uuids.h"
  37. #include "service.h"
  38. #include "compdata.h"
  39. #include "CSnapin.h"
  40. #include "DataObj.h"
  41. #include "resource.h"
  42. #include "ctshlext.h"
  43. #include "misc.h"
  44. #include "genpage.h"