Jump to content

Shutdown()


Recommended Posts

I've looked over shutdown(), but I can't seem to find the code so it locks my computer..

Is there one? Is it named something else? These are the ones I found in the help file:

0 = Logoff

1 = Shutdown

2 = Reboot

4 = Force

8 = Power down

16= Force if hung

32= Standby

64= Hibernate

Link to comment
Share on other sites

I just been playing around with learning basics of dll's from Tutorial on dllcall and one of them just happens to be lockworkstation so here it is :mellow:

DllCall ("User32.dll","BOOL","LockWorkStation")
GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF.
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...