Home | History | Annotate | Download | only in include
      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 
     11 #ifndef __iadmext_h__
     12 #define __iadmext_h__
     13 
     14 #ifdef __cplusplus
     15 extern "C"{
     16 #endif
     17 
     18 #include "unknwn.h"
     19 #include "objidl.h"
     20 #include "ocidl.h"
     21 
     22   DEFINE_GUID(IID_IADMEXT,0x51dfe970,0xf6f2,0x11d0,0xb9,0xbd,0x0,0xa0,0xc9,0x22,0xe7,0x50);
     23 
     24 #define IISADMIN_EXTENSIONS_REG_KEYA "SOFTWARE\\Microsoft\\InetStp\\Extensions"
     25 #define IISADMIN_EXTENSIONS_REG_KEYW L"SOFTWARE\\Microsoft\\InetStp\\Extensions"
     26 #define IISADMIN_EXTENSIONS_REG_KEY TEXT("SOFTWARE\\Microsoft\\InetStp\\Extensions")
     27 #define IISADMIN_EXTENSIONS_CLSID_MD_KEYA "LM/IISADMIN/EXTENSIONS/DCOMCLSIDS"
     28 #define IISADMIN_EXTENSIONS_CLSID_MD_KEYW L"LM/IISADMIN/EXTENSIONS/DCOMCLSIDS"
     29 #define IISADMIN_EXTENSIONS_CLSID_MD_KEY TEXT("LM/IISADMIN/EXTENSIONS/DCOMCLSIDS")
     30 #define IISADMIN_EXTENSIONS_CLSID_MD_ID MD_IISADMIN_EXTENSIONS
     31 
     32 #ifndef __IADMEXT_INTERFACE_DEFINED__
     33 #define __IADMEXT_INTERFACE_DEFINED__
     34   EXTERN_C const IID IID_IADMEXT;
     35 #if defined(__cplusplus) && !defined(CINTERFACE)
     36   struct IADMEXT : public IUnknown {
     37 public:
     38   virtual HRESULT WINAPI Initialize(void) = 0;
     39   virtual HRESULT WINAPI EnumDcomCLSIDs(CLSID *pclsidDcom,DWORD dwEnumIndex) = 0;
     40   virtual HRESULT WINAPI Terminate(void) = 0;
     41   };
     42 #endif
     43 #endif
     44 
     45 #ifdef __cplusplus
     46 }
     47 #endif
     48 #endif
     49