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.

61 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. classfactory.hxx
  5. Abstract:
  6. IIS Services IISADMIN Extension
  7. class factory for CLSID_SSLCONFIGPROV
  8. Jaroslav DUnajsky 24-Apr-2001
  9. - used code brom svcext.dll to write new metabase extension that gets started
  10. - during iisadmin startup and starts SSL CONFIG PROVIDER
  11. Author:
  12. Michael W. Thomas 16-Sep-97
  13. --*/
  14. #ifndef __CLASSFACTORY_HXX__
  15. #define __CLASSFACTORY_HXX__
  16. extern ULONG g_dwRefCount;
  17. class CAdmExtSrvFactory : public IClassFactory {
  18. public:
  19. CAdmExtSrvFactory();
  20. ~CAdmExtSrvFactory();
  21. HRESULT _stdcall
  22. QueryInterface(REFIID riid, void** ppObject);
  23. ULONG _stdcall
  24. AddRef();
  25. ULONG _stdcall
  26. Release();
  27. HRESULT _stdcall
  28. CreateInstance(IUnknown *pUnkOuter, REFIID riid,
  29. void ** pObject);
  30. HRESULT _stdcall
  31. LockServer(BOOL fLock);
  32. CAdmExt m_admextObject;
  33. private:
  34. ULONG m_dwRefCount;
  35. };
  36. #endif