Partager via


PSM_REBOOTSYSTEM (Compact 2013)

3/28/2014

This message indicates that system needs to be restarted for the changes to take effect. An application should send this message only in response to the PSN_APPLY or PSN_KILLACTIVE message. You can send the PSM_REBOOTSYSTEM message explicitly or by using the PropSheet_RebootSystem macro.

Syntax

PSM_REBOOTSYSTEM wParam = 0; 
    lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

None.

Remarks

This message causes the PropertySheet function to return the ID_PSREBOOTSYSTEM value, but only if the user clicks the OK button to close the property sheet.

Requirements

Header

commctrl.h

See Also

Reference

Property Sheets Messages
PropertySheet
PropSheet_RebootSystem
PSM_RESTARTWINDOWS
PSN_APPLY
PSN_KILLACTIVE