Contents Index Topic Contents | ||
Previous Topic: PropSheet_RemovePage Next Topic: PropSheet_SetCurSel |
PropSheet_RestartWindows
VOID PropSheet_RestartWindows( HWND hPropSheetDlg );Sends a PSM_RESTARTWINDOWS message indicating that Windows needs to be restarted for changes to take effect. You can use this macro or send the PSM_RESTARTWINDOWS message explicitly. An application should send the PSM_RESTARTWINDOWS message only in response to the PSN_APPLY or PSN_KILLACTIVE notification message.
- No return value.
- hPropSheetDlg
- Handle to the property sheet.
The PSM_RESTARTWINDOWS 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.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.