Jump to content

Shutdown() not working correctly?


 Share

Recommended Posts

Well, the math will be performed before the function is executed (someone correct me if I'm wrong), so it is essentially still 4. I wouldn't call it a bug, but maybe a missing feature? :)

Of course it is still 4...I never doubted that. I showed the 0 + 4 to indicate logoff + force.

> maybe a missing feature?

Do you work for Microsoft? ;)

Ah well...no one much cares about bugs these days...a pity.

BMac

Link to comment
Share on other sites

logoff plus force? It logsoff and shutdown. There is no force logoff, but the force is to force shutdown.

Well that depends on how it is implemented right?

If the underlying code used Win32 calls...which gosh I don't know...why would I expect that on Windows...then:

http://msdn2.microsoft.com/en-us/library/aa394058.aspx

To the other poster....0 + 4 = 4 why would I need to be more explicit about that??

BMac

Link to comment
Share on other sites

When I tried Shutdown(0 + 4) the machine actually shutdown...

When I tried Shutdown(0 + 4) the machine only logged me off...

...it did not shutdown.

Anybody else have a system that shuts off vs. logs off?

Edit: XP SP2

-MSP-

Edited by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
Share on other sites

When I tried Shutdown(0 + 4) the machine only logged me off...

...it did not shutdown.

Anybody else have a system that shuts off vs. logs off?

Edit: XP SP2

-MSP-

Interesting...I was testing this on Win2K SP4. So, I guess it may be a Win2K issue. Oh well, non-forced logoffs work for now.

BMac

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...