Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 238 of file close.c.
Referenced by LpcInitSystem().
{ PLPCP_PORT_OBJECT Port = (PLPCP_PORT_OBJECT)Object; LPCTRACE(LPC_CLOSE_DEBUG, "Port: %p. Flags: %lx\n", Port, Port->Flags); /* Only Server-side Connection Ports need clean up*/ if ((Port->Flags & LPCP_PORT_TYPE_MASK) == LPCP_CONNECTION_PORT) { /* Check the handle count */ switch (SystemHandleCount) { /* No handles left */ case 0: /* Destroy the port queue */ LpcpDestroyPortQueue(Port, TRUE); break; /* Last handle remaining */ case 1: /* Reset the queue only */ LpcpDestroyPortQueue(Port, FALSE); /* More handles remain, do nothing */ default: break; } } }