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);