Results 1 to 2 of 2

Thread: Using ExitWindowsEx

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276
    Code:
    ExitWindowsEx EWX_FORCE Or EWX_REBOOT, 0
    When I call the function, my computer reboots, but my
    Desktop icons are rearranged and I have to do Active Desktop
    Recovery for my active desktop.

    Anyone know what is wrong?

  2. #2
    Guest
    ExitWindowsEx EWX_FORCE Or EWX_REBOOT, 0

    That is because EWX_FORCE will shut/reboot the computer down/up and will not save any work. It will be forced to shut down/boot up.

    Try it without EWX_FORCE.

    Code:
    ExitWindowsEx EWX_REBOOT, 0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width