Winapi.Messages.TWMEndSession
Delphi
  TWMEndSession = record
    Msg: Cardinal;
    MsgFiller: TDWordFiller;
    EndSession: LongBool;
    EndSessionFiller: TDWordFiller;
    Unused: LPARAM;
    Result: LRESULT;
  end;
C++
struct DECLSPEC_DRECORD TWMEndSession
{
public:
    unsigned Msg;
    System::LongBool EndSession;
    NativeInt Unused;
    NativeInt Result;
};
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
record struct  | 
		public | Winapi.Messages.pas Winapi.Messages.hpp  | 
        Winapi.Messages | Winapi.Messages | 
Description
Windows message record for WM_ENDSESSION.
For more information about WM_ENDSESSION message, see the documentation in Windows Dev Center.
http://msdn.microsoft.com/library/en-us/windows/desktop/aa376889.aspx