Added: Apr 29, 2002
Snippet uploaded by: snippet
Written By: unknown
Demo: Sorry, no demo
hide from task manager ( ctrl-alt-del ) win95/98
Highlight all by clicking in box
Declare Function RegisterServiceProcess Lib "kernel32" _
(ByVal ProcessID As Long, ByVal ServiceFlags As Long) As Long
Declare Function GetCurrentProcessId Lib "kernel32" () As Long
' ServiceFlags: 0 means unregister as a service, 1 means to register.
ret = RegisterServiceProcess (GetCurrentProcessId, 1)
'When you register the service process it becomes hidden.
ret = RegisterServiceProcess (GetCurrentProcessId, 0)
'And the unhidden when you unregister it when you're finished with hiding it.
No Comments to show
Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.
Adding your comment. Please wait...
Thanks for adding your comment!. After further review it will be added.
There was a problem adding your comment. Please try again.
Please complete all the fields in the form before sending.