Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 75 of file dprocess.c.
Referenced by WsProcGetAsyncHelper().
{ INT ErrorCode = WSASYSCALLFAILURE; /* Lock the process */ WsProcLock(); /* Check if we have a handle, and if not, create one */ if ((Process->ApcHelper) || (WahOpenApcHelper(&Process->ApcHelper) == ERROR_SUCCESS)) { /* Return the handle */ *Handle = Process->ApcHelper; ErrorCode = ERROR_SUCCESS; } /* Unload the process and return */ WsProcUnlock(); return ErrorCode; }