Searching...
1:53 AM

Kill Process from PID

Code:
Public Function KillByPID(PID As Long)
Dim lOpen As Long

    lOpen = OpenProcess(PROCESS_ALL_ACCESS, 0, PID)

    Call terminateprocess(lOpen, 0)

End Function

0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Back to top!