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.
 
 
 
 
 
 

73 lines
996 B

/*++
Copyright (c) 1998 Microsoft Corporation
Module Name :
DataChannel.hxx
Abstract:
Wrapper object for dealing with the Data Channel
Author:
Murali R. Krishnan ( MuraliK ) 20-Oct-1998
Project:
IIS Worker Process
--*/
# ifndef _APPPOOL_HXX_
# define _APPPOOL_HXX_
#include <locks.h>
//
// class UL_APP_POOL
//
// Encapsulates the data channel for UL
// The data channel is used for all types of request processing
//
class UL_APP_POOL
{
public:
UL_APP_POOL(
VOID
);
~UL_APP_POOL(
VOID
);
HRESULT
Initialize(
LPCWSTR pszAppPoolName
);
HANDLE
QueryAndLockHandle(
VOID
);
HRESULT
UnlockHandle(
VOID
);
HRESULT
Cleanup(
VOID
);
private:
HANDLE _hAppPool;
CReaderWriterLock3 _Lock;
}; // class UL_APP_POOL
#endif