|
-
Jan 28th, 2000, 05:08 AM
#1
Thread Starter
Addicted Member
Some nice person gave me some non-working stealth code yesterday.. and I dont understand how it works so I need a working way to make a program non listed in Alt+Ctrl+Delete Menu.
Help please?
Thankyou!
-
Jan 28th, 2000, 05:34 PM
#2
Lively Member
Put this code in a module:
Public Declare Function GetCurrentProcessId Lib "KERNEL32" () As Long
Public Declare Function GetCurrentProcess Lib "KERNEL32" () As Long
Public Declare Function RegisterServiceProcess Lib "KERNEL32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
Public Const RSP_SIMPLE_SERVICE = 1
Public Const RSP_UNREGISTER_SERVICE = 0
Public Sub HideProgram(Hide As Boolean)
Dim pid As Long
Dim reserv As Long
pid = GetCurrentProcessId()
If Hide Then
regserv = RegisterServiceProcess(pid, RSP_SIMPLE_SERVICE)
Else
regserv = RegisterServiceProcess(pid, RSP_UNREGISTER_SERVICE)
End If
End Sub
-
Jan 29th, 2000, 04:20 AM
#3
Hyperactive Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|