Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 62 of file reply.c.
Referenced by NtReplyWaitReceivePortEx(), and NtRequestWaitReplyPort().
{ PAGED_CODE(); /* Acquire the lock */ if (!LockHeld) KeAcquireGuardedMutex(&LpcpLock); /* Check if the port we want is the connection port */ if ((Port->Flags & LPCP_PORT_TYPE_MASK) > LPCP_UNCONNECTED_PORT) { /* Use it */ Port = Port->ConnectionPort; if (!Port) { /* Release the lock and return */ if (!LockHeld) KeReleaseGuardedMutex(&LpcpLock); return; } } /* Link the message */ InsertTailList(&Port->LpcDataInfoChainHead, &Message->Entry); /* Release the lock */ if (!LockHeld) KeReleaseGuardedMutex(&LpcpLock); }