Winapi.Messages.TWMPower

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TWMPower = record
    Msg: Cardinal;
    MsgFiller: TDWordFiller;
    PowerEvt: WPARAM;  { PWR_SUSPENDREQUEST, PWR_SUSPENDRESUME,
                         PWR_CRITICALRESUME }
    Unused: LPARAM;
    Result: LRESULT;
  end;

C++

struct DECLSPEC_DRECORD TWMPower
{
public:
    unsigned Msg;
    NativeUInt PowerEvt;
    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_POWER.

For more information about WM_POWER message, see the documentation in Windows Dev Center.

http://msdn.microsoft.com/library/en-us/windows/desktop/aa373245.aspx