PSM_RESTARTWINDOWSPSM_RESTARTWINDOWS*
*Contents  *Index  *Topic Contents
*Previous Topic: PSM_REMOVEPAGE
*Next Topic: PSM_SETCURSEL

PSM_RESTARTWINDOWS


PSM_RESTARTWINDOWS 
    wParam = 0; 
    lParam = 0;  

Indicates that Windows 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 notification message. You can send the PSM_RESTARTWINDOWS message explicitly or by using the PropSheet_RestartWindows macro.

This message causes the PropertySheet function to return the ID_PSRESTARTWINDOWS value, but only if the user clicks the OK button to close the property sheet. It is the application's responsibility to restart Windows, which can be done by using the ExitWindowsEx function.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.