Motorola Mobile Workstation 520 Application Developer's Manual page 33

Table of Contents

Advertisement

28
MW-520 Application Developer's Guide
Return Values
Return
to grant a request.
TRUE
Request
BROADCAST_QUERY_DENY
WM_POWER
The
message is sent when the system is about to enter Suspend mode.
WM_POWER
WM_POWER
fwPowerEvt = wParam; // power-event notification message
Parameters
fwPowerEvt
Value of wParam. Specifies a power-event notification message. This parameter
can be one of the following values:
Value
PWR_CRITICALRESUME
PWR_SUSPENDREQUEST
PWR_SUSPENDRESUME
Return Values
The value an application returns depends on the value of the wParam parameter.
If wParam is
PWR_SUSPENDREQUEST
the system from entering the suspended state; otherwise, it is
is
PWR_SUSPENDRESUME
PBT_APMRESUMESUSPEND
The
PBT_APMRESUMESUSPEND
has resumed operation after being suspended. A window receives this message
through the
WM_POWERBROADCAST
dwData = (DWORD) lParam;
to deny a request.
Meaning
Indicates that the system is resuming operation
after entering Suspend mode without first
sending a
PWR_SUSPENDREQUEST
message to the application. An application
should perform any necessary recovery actions.
Indicates that the system is about to enter
Suspend mode.
Indicates that the system is resuming operation
after having entered Suspend mode normally,
that is, the system sent a
notification message to the application before the
system was suspended. An application should
perform any necessary recovery actions.
, the return value is
or
PWR_CRITICALRESUME
message is sent as a notification that the system
message.
notification
PWR_SUSPENDREQUEST
to prevent
PWR_FAIL
. If wParam
PWR_OK
, the return value is zero.

Advertisement

Table of Contents
loading

This manual is also suitable for:

F5203F5205

Table of Contents