The PSM_REBOOTSYSTEM message indicates that the 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 notification message. You can send the PSM_REBOOTSYSTEM message explicitly or by using the PropSheet_RebootSystem macro.
PSM_REBOOTSYSTEM wParam = 0; lParam = 0;
No return value.
This message causes the PropertySheet function to return the ID_PSREBOOTSYSTEM value, but only if the user chooses the OK button to close the property sheet. It is the application’s responsibility to reboot the system, which can be done by using the ExitWindowsEx function.
This message supersedes all PSM_RESTARTWINDOWS messages that precede or follow it.
ExitWindowsEx, PropertySheet, PropSheet_RebootSystem, PSN_APPLY, PSN_KILLACTIVE, PSM_RESTARTWINDOWS
file: /Techref/os/win/api/win32/mess/src/msg14_24.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/12/28 19:53,
18.222.182.195:LOG IN
|
©2024 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://sxlist.com/techref/os/win/api/win32/mess/src/msg14_24.htm"> PSM_REBOOTSYSTEM</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.