Group: Process and Thread - Library: kernel32
The RegisterServiceProcess function registers or unregisters a service process. A service process continues to run after the user logs off.
How to hide your program from the Close Program dialog (Win9* only)
DWORD RegisterServiceProcess(
DWORD dwProcessId,
DWORD dwType
); DECLARE INTEGER RegisterServiceProcess IN kernel32;
INTEGER dwProcessId,;
INTEGER dwType
dwProcessId Specifies the identifier of the process to register as a service process. Specifies NULL to register the current process.
dwType Specifies whether the service is to be registered or unregistered.
The return value is 1 if successful or 0 if an error occurs.
WinNT - unsupported.
Windows 95/98/Me only.
Home