i already post this topic in the programmingforums.org..a sister site of daniwebs.
i think that this site is more populated.. i exploring deep programming, and i would like to have good start.. i want to determine the parts of this code, and how it works..
i think this is very interesting..
Const EWX_LogOff As Long = 0
Const EWX_SHUTDOWN As Long = 1
Const EWX_REBOOT As Long = 2
Const EWX_FORCE As Long = 4
Private Declare Function ExitWindows _
Lib "User32" Alias "ExitWindowsEx" _
(ByVal dwOptions As Long, ByVal dwReserved As Long) As Long
I'm currently studying in the built-in functions in user32.dll..
i'm quite confused on parts of the code..
what are these constants? is this user-defined constants or the constant name is already constant itself? where can i get this constants?
does every function has its constants?
if i'm not mistaken, is this 'Alias' the Function Name in User32.dll?
one more.. how can i determine it's parameters??
please give me a hand..im little confused...
i'm a kind of programmer that does not want to use codes that i don't perceive.
thanks for any comments and help.