Simplest way to show a restart dialog is to use the API RestartDialog(). See how to do it !
RestartDialog( NULL, NULL, EWX_REBOOT );Please note that this function is available through Windows XP Service Pack 2 (SP2) and Windows Server 2003. It might be altered or unavailable in other versions of Windows.
No comments:
Post a Comment