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.
 
 
 
 
 
 

55 lines
1.4 KiB

//Copyright (c) 1998 - 1999 Microsoft Corporation
/*
*
* SubToggle
*
* A subcomponent class to toggle Terminal Services.
*
*/
#ifndef __TSOC__SUBTOGGLE_H__
#define __TSOC__SUBTOGGLE_H__
//
// Includes
//
#include "subcomp.h"
//
// Class Definition
//
class SubCompToggle : public OCMSubComp
{
public:
virtual BOOL BeforeCompleteInstall ();
virtual DWORD GetStepCount () const;
virtual DWORD OnQueryState (UINT uiWhichState) const;
virtual DWORD OnQuerySelStateChange (BOOL bNewState, BOOL bDirectSelection) const;
BOOL AfterCompleteInstall ();
LPCTSTR GetSectionToBeProcessed (ESections eSection) const;
LPCTSTR GetSubCompID () const;
BOOL ModifyWallPaperPolicy ();
BOOL ModifyNFA ();
BOOL ApplyDefaultSecurity ();
BOOL ApplyModeRegistry ();
BOOL SetPermissionsMode ();
BOOL ResetWinstationSecurity ();
BOOL ApplySection (LPCTSTR szSection);
BOOL ModifyAppPriority ();
BOOL InformLicensingOfModeChange();
BOOL WriteLicensingMode ();
BOOL UpdateMMDefaults ();
BOOL AddStartupPopup ();
BOOL WriteModeSpecificRegistry ();
};
#endif // _SubToggle_h_