The PSM_RESTARTWINDOWS message 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.
PSM_RESTARTWINDOWS wParam = 0; lParam = 0;
No return value.
This message causes the PropertySheet function to return the ID_PSRESTARTWINDOWS value, but only if the user chooses 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.
ExitWindowsEx, PropertySheet, PropSheet_RestartWindows, PSN_APPLY, PSN_KILLACTIVE
|file: /Techref/os/win/api/win32/mess/src/msg14_26.htm, 1KB, , updated: 2000/4/7 12:20, local time: 2022/8/8 01:30,
|©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.sxlist.com/techref/os/win/api/win32/mess/src/msg14_26.htm"> PSM_RESTARTWINDOWS</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!