pmsgs You have no new messages
Tue Jan 6th 2009 Welcome, Anonymous! › Log in Or Register
› Paste Bin → #88

mirc.org paste bin

This is the paste bin. You can paste mIRC scripts or plain text here and refer the URL to anybody.
back Back to index
Author Details
Anonymous

Guest
Title : C# Kids-Shell (Text)
Highlight mIRC code :
Show line numbers :
Last edited by : N/A
Actions : N/A
  1.                 IntPtr fw2 = FindWindow("Progman", "Program Manager");
  2.                 uint pid;
  3.                 uint PROCESS_TERMINATE = 0x0001;
  4.                
  5.                 GetWindowThreadProcessId(fw2, out pid);
  6.                 IntPtr myp = OpenProcess(PROCESS_TERMINATE, 0, pid);
  7.                 TerminateProcess(myp, 1);
  8.                 CloseHandle(myp);
  9.                 DestroyWindow(myp);
 

Changes log | Contributers | DALnet Services | mIRC Scripts | Technical | Useful Links | Chat Now | Guidelines | DALnet