Vcl.SvcMgr.TStopEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TStopEvent = procedure(Sender: TService; var Stopped: Boolean) of object;

C++

typedef void __fastcall (__closure *TStopEvent)(TService* Sender, bool &Stopped);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr Vcl.SvcMgr

Description

TStopEvent is the type for event handlers that respond when the Service Control manager stops a service.

Sender is the service that the Service Control manager stopped.

Set Stopped to true if the event handler stops the service..

See Also