Class TExitWin (unit ExitWin)

Inherits from

TComponent

New component, encapsulates Win32 API ExitWindowsEx

Constructors


constructor Create(AOwner: TComponent);

Public declarations

Override 'create-method'



Functions

destructor Destroy;

Override 'destroy-method'

function Execute: boolean;

The functionality of this component is build in this routine

function CanShutDown: boolean;

Sets privileges of program under Windows NT to SE_SHUTDOWN_NAME.

function GetWinType: TWinType;

Get the Windowsplatform information.

procedure SetExitWinType(Value: TExitWinType);

Property ExitWinType procedure

Properties

property ExitWinType : TExitWinType

Published declarations

property LastError : string


property ListLeft : integer


property ListTop : integer


property ShowDialog : boolean


property Unconditional : boolean


property WindowsType : TWinType


Events

Variables

FExitWinType : TExitWinType;

Private declarations

FLastError : string;


FListLeft : Integer;


FListTop : Integer;


FShowDialog : boolean;


FUnconditional : boolean;



Constructors


constructor Create(AOwner: TComponent);

Public declarations

Override 'create-method'


Functions


destructor Destroy;

Override 'destroy-method'


function Execute: boolean;

The functionality of this component is build in this routine


function CanShutDown: boolean;

Sets privileges of program under Windows NT to SE_SHUTDOWN_NAME...


function GetWinType: TWinType;

Get the Windowsplatform information...


procedure SetExitWinType(Value: TExitWinType);

Property ExitWinType procedure


Properties


property ExitWinType : TExitWinType

Published declarations


property LastError : string


property ListLeft : integer


property ListTop : integer


property ShowDialog : boolean


property Unconditional : boolean


property WindowsType : TWinType


Events


Variables


FExitWinType : TExitWinType;

Private declarations


FLastError : string;


FListLeft : Integer;


FListTop : Integer;


FShowDialog : boolean;


FUnconditional : boolean;