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.

49 lines
1.3 KiB

  1. #pragma once
  2. #ifndef INITGUID
  3. #define INITGUID
  4. #endif
  5. #ifndef WIN32_LEAN_AND_MEAN
  6. #define WIN32_LEAN_AND_MEAN
  7. #endif
  8. #ifndef _WIN32_WINNT
  9. #define _WIN32_WINNT 0x0500
  10. #endif
  11. #include <windows.h>
  12. #include <iwamreg.h> // MD_ & IIS_MD_ defines
  13. //#include "webcaum.h"
  14. #define APPPOOLNAME TEXT( "MSUDDIAppPool" )
  15. #define DEFAULTLOADFILE TEXT( "default.aspx" )
  16. #define UDDIAPPLICATIONNAME TEXT( "uddi" )
  17. #define UDDIAPPLICATIONFRIENDLYNAME TEXT( "UDDI Services User Interface" )
  18. #define APIAPPLICATIONNAME TEXT( "uddipublic" )
  19. #define APIAPPLICATIONFRIENDLYNAME TEXT( "UDDI Services API" )
  20. #ifndef MD_APPPOOL_IDENTITY_TYPE_LOCALSYSTEM
  21. #define MD_APPPOOL_IDENTITY_TYPE_LOCALSYSTEM 0
  22. #define MD_APPPOOL_IDENTITY_TYPE_LOCALSERVICE 1
  23. #define MD_APPPOOL_IDENTITY_TYPE_NETWORKSERVICE 2
  24. #define MD_APPPOOL_IDENTITY_TYPE_SPECIFICUSER 3
  25. #endif
  26. class CUDDIAppPool
  27. {
  28. private:
  29. IWamAdmin* pIWamAdmin;
  30. IIISApplicationAdmin* pIIISApplicationAdmin;
  31. HRESULT Init( void );
  32. public:
  33. CUDDIAppPool( void ) { pIIISApplicationAdmin = NULL; }
  34. ~CUDDIAppPool( void );
  35. HRESULT Recycle( void );
  36. HRESULT Delete( void );
  37. };