Tuesday, January 4, 2011

Programatically log users off

Programatically log users off

You may be thinking how can I use this procedure. Well I used it in a program where I could send commands to a remote machine.
procedure LogOff;
begin
  ExitWindowsEx(EWX_LOGOFF, 0);
end;

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Kang Iwan K-sev | Thank's for your visit To My Site - Ridwan Mulyana | Cibeureum