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.
 
 
 
 
 
 

82 lines
1.6 KiB

/*++
Copyright (c) 1998 Microsoft Corporation
Module Name :
ControlChannel.hxx
Abstract:
Wrapper object for dealing with the Control Channel
Author:
Murali R. Krishnan ( MuraliK ) 15-Oct-1998
Project:
IIS Worker Process
--*/
# ifndef _CONTROL_CHANNEL_HXX_
# define _CONTROL_CHANNEL_HXX_
/************************************************************
* Include Headers
************************************************************/
/************************************************************
* Type Definitions
************************************************************/
/*++
class UL_CONTROL_CHANNEL
o Encapsulates the control channel for UL.
--*/
#include <MultiSZ.hxx>
class UL_CONTROL_CHANNEL
{
public:
UL_CONTROL_CHANNEL(void)
{
m_hControlChannel = NULL;
m_hAppPool = NULL;
HTTP_SET_NULL_ID(&m_ConfigGroupId);
}
~UL_CONTROL_CHANNEL(void)
{ Cleanup(); }
ULONG
Initialize(
IN MULTISZ& mszURLList,
IN LPCWSTR pwszAppPoolName,
IN DWORD dwSiteId
);
ULONG
Cleanup(void);
private:
HANDLE m_hControlChannel;
HTTP_CONFIG_GROUP_ID m_ConfigGroupId;
HANDLE m_hAppPool;
ULONG
AddURLToConfigGroup(
IN LPCWSTR pwszURL,
IN DWORD dwSiteId
);
}; // class UL_CONTROL_CHANNEL
# endif // _CONTROL_CHANNEL_HXX_
/************************ End of File ***********************/