iadmext.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef COM_NO_WINDOWS_H
  7. #include "windows.h"
  8. #include "ole2.h"
  9. #endif
  10. #ifndef __iadmext_h__
  11. #define __iadmext_h__
  12. #ifdef __cplusplus
  13. extern "C"{
  14. #endif
  15. #include "unknwn.h"
  16. #include "objidl.h"
  17. #include "ocidl.h"
  18. DEFINE_GUID(IID_IADMEXT,0x51dfe970,0xf6f2,0x11d0,0xb9,0xbd,0x0,0xa0,0xc9,0x22,0xe7,0x50);
  19. #define IISADMIN_EXTENSIONS_REG_KEYA "SOFTWARE\\Microsoft\\InetStp\\Extensions"
  20. #define IISADMIN_EXTENSIONS_REG_KEYW L"SOFTWARE\\Microsoft\\InetStp\\Extensions"
  21. #define IISADMIN_EXTENSIONS_REG_KEY TEXT("SOFTWARE\\Microsoft\\InetStp\\Extensions")
  22. #define IISADMIN_EXTENSIONS_CLSID_MD_KEYA "LM/IISADMIN/EXTENSIONS/DCOMCLSIDS"
  23. #define IISADMIN_EXTENSIONS_CLSID_MD_KEYW L"LM/IISADMIN/EXTENSIONS/DCOMCLSIDS"
  24. #define IISADMIN_EXTENSIONS_CLSID_MD_KEY TEXT("LM/IISADMIN/EXTENSIONS/DCOMCLSIDS")
  25. #define IISADMIN_EXTENSIONS_CLSID_MD_ID MD_IISADMIN_EXTENSIONS
  26. #ifndef __IADMEXT_INTERFACE_DEFINED__
  27. #define __IADMEXT_INTERFACE_DEFINED__
  28. EXTERN_C const IID IID_IADMEXT;
  29. #if defined(__cplusplus) && !defined(CINTERFACE)
  30. struct IADMEXT : public IUnknown {
  31. public:
  32. virtual HRESULT WINAPI Initialize(void) = 0;
  33. virtual HRESULT WINAPI EnumDcomCLSIDs(CLSID *pclsidDcom,DWORD dwEnumIndex) = 0;
  34. virtual HRESULT WINAPI Terminate(void) = 0;
  35. };
  36. #endif
  37. #endif
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41. #endif