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.
|
|
/*++
Copyright (C) 1996-2001 Microsoft Corporation
Module Name:
Main.h
Abstract:
History:
--*/
#ifndef _Main_H
#define _Main_H
/******************************************************************************
* * Name: * * * Description: * * *****************************************************************************/
class FactoryLifeTimeThread : public WmiThread < ULONG > { private:
WmiAllocator &m_Allocator ;
protected:
public: /* Internal */
FactoryLifeTimeThread (
WmiAllocator & a_Allocator , const ULONG &a_Timeout ) ;
~FactoryLifeTimeThread () ;
WmiStatusCode Initialize_Callback () ;
WmiStatusCode UnInitialize_Callback () ;
WmiStatusCode TimedOut () ;
BOOL QuotaCheck () ; };
/******************************************************************************
* * Name: * * * Description: * * *****************************************************************************/
class Task_ObjectDestruction : public WmiTask < ULONG > { private: protected: public: // Internal
Task_ObjectDestruction ( WmiAllocator &a_Allocator ) : WmiTask < ULONG > ( a_Allocator ) { }
WmiStatusCode Process ( WmiThread <ULONG> &a_Thread ) ; } ;
/******************************************************************************
* * Name: * * * Description: * * *****************************************************************************/
class Task_FreeLibraries : public WmiTask < ULONG > { private: protected: public: // Internal
Task_FreeLibraries ( WmiAllocator &a_Allocator ) : WmiTask < ULONG > ( a_Allocator ) { }
WmiStatusCode Process ( WmiThread <ULONG> &a_Thread ) ; } ;
/******************************************************************************
* * Name: * * * Description: * * *****************************************************************************/
STDAPI DllRegisterServer () ; STDAPI DllUnregisterServer () ;
/******************************************************************************
* * Name: * * * Description: * * *****************************************************************************/
void SetObjectDestruction () ;
void SetProviderDestruction();
#endif // _Main_H
|