Vcl.SvcMgr.TServiceApplication.Hook
Delphi
function Hook(var Message: TMessage): Boolean;
C++
bool __fastcall Hook(Winapi::Messages::TMessage &Message);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.SvcMgr.pas Vcl.SvcMgr.hpp |
Vcl.SvcMgr | TServiceApplication |
Description
Specifies whether the given message is a WM_ENDSESSION message.
Call Hook to test whether the message given through Message is a WM_ENDSESSION message.
The WM_ENDSESSION message is used to specify whether the service application's session is ending.