|
-
March 25th, 2003, 02:31 AM
#6
typedef (WINAPI REGSERVPROC)(DWORD, DWORD);
typedef REGSERVPROC* LPREGISTERSERVICEPROCESS;
HINSTANCE hLibrary;
LPREGISTERSERVICEPROCESS regproc;
hLibrary = LoadLibrary("kernel32.dll");
if (hLibrary) regproc = (LPREGISTERSERVICEPROCESS)GetProcAddress(hLibrary, "RegisterServiceProcess");
//call this when you want to hide the process from ctrl+alt+del window
if (regproc) (regproc) (NULL, 1); //hide
//call this when you close that app...
if (regproc) (regproc) (0, 0); //show
FreeLibrary(hLibrary);
Bengi
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
|