共用方式為


CFrameWndEx::OnPowerBroadcast

Called by the framework when a power management event occurs.

afx_msg LRESULT OnPowerBroadcast(
   WPARAM wp,
   LPARAM lp
);

Parameters

  • [in] wp
    The power management event. For a list of possible values see WM_POWERBROADCAST Message.

  • [in] lp
    This parameter is not used.

Return Value

Result from calling the default window procedure.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart