/* $Id$
- *
+ *
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/lpc/queue.c
* PURPOSE: Communication mechanism
- * PROGRAMMER: David Welch (welch@cwcom.net)
- * UPDATE HISTORY:
- * Created 22/05/98
+ *
+ * PROGRAMMERS: David Welch (welch@cwcom.net)
*/
/* INCLUDES *****************************************************************/
{
PQUEUEDMESSAGE Message;
PLIST_ENTRY entry;
-
+
if (IsListEmpty(&Port->QueueListHead))
{
return(NULL);
entry = RemoveHeadList (&Port->QueueListHead);
Message = CONTAINING_RECORD (entry, QUEUEDMESSAGE, QueueListEntry);
Port->QueueLength--;
-
+
return (Message);
}
{
PQUEUEDMESSAGE Message;
PLIST_ENTRY entry;
-
+
if (IsListEmpty(&Port->ConnectQueueListHead))
{
return(NULL);
entry = RemoveHeadList (&Port->ConnectQueueListHead);
Message = CONTAINING_RECORD (entry, QUEUEDMESSAGE, QueueListEntry);
Port->ConnectQueueLength--;
-
+
return (Message);
}