ExitWindowsEx()

Mark Hammond MarkH at ActiveState.com
Fri Jun 30 01:07:56 EDT 2000


I doubt you want this:
> win32api.ExitWindowsEx(4 Or 2,0)

ie:
>>> 4 or 2
4

You probably mean this:

>>> 4 | 2
6

I'm afraid I have no idea if that change will force the reboot!

Mark.






More information about the Python-list mailing list