ExitWindowsEx

This is a discussion on ExitWindowsEx within the Windows Programming forums, part of the Platform Specific Boards category; Hi, im using the function & using flags: EWX_SHUTDOWN & EWX_FORCE and setting the last param as 0 , i ...

  1. #1
    Registered User SAMSAM's Avatar
    Join Date
    Nov 2001
    Posts
    218

    ExitWindowsEx

    Hi, im using the function & using flags:

    EWX_SHUTDOWN & EWX_FORCE and setting the last param as

    0 , i processed WM_ENDSESSION as well and set the wParam

    to TRUE.

    yet it doesnt do anything and neither the thread nor system is
    shutdown.
    should i be processing the WM_QUARYENDSESSION as well?

    im running on win xp.

    do i have the right priviledges or i have to quary priviledges as well?

    cheers!



    *i am the only user on this system .
    Last edited by SAMSAM; 02-21-2003 at 07:40 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems with ExitWindowsEx
    By Yuri in forum C++ Programming
    Replies: 3
    Last Post: 08-05-2005, 05:45 PM
  2. How to shutdown (or Restart) a pc with C++
    By Unregistered in forum C++ Programming
    Replies: 27
    Last Post: 08-05-2005, 12:59 PM
  3. force shutting down, power off win98
    By hanhao in forum Windows Programming
    Replies: 2
    Last Post: 03-20-2004, 05:43 AM
  4. ExitWindowsEx()
    By face_master in forum Windows Programming
    Replies: 4
    Last Post: 01-02-2003, 06:31 AM
  5. Information: Exiting Windows
    By Okiesmokie in forum C++ Programming
    Replies: 2
    Last Post: 05-12-2002, 09:42 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21