Register the LPC Port object object in the system name space.
authorEmanuele Aliberti <ea@iol.it>
Wed, 4 Aug 2004 12:50:42 +0000 (12:50 +0000)
committerEmanuele Aliberti <ea@iol.it>
Wed, 4 Aug 2004 12:50:42 +0000 (12:50 +0000)
svn path=/trunk/; revision=10390

reactos/ntoskrnl/lpc/port.c

index d370116..cb34003 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: port.c,v 1.17 2004/02/02 23:48:42 ea Exp $
+/* $Id: port.c,v 1.18 2004/08/04 12:50:42 ea Exp $
  * 
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -66,6 +66,8 @@ NiInitPort (VOID)
    ExPortType->OkayToClose = NULL;
    ExPortType->Create = NiCreatePort;
    ExPortType->DuplicationNotify = NULL;
+
+   ObpCreateTypeObject(ExPortType);
    
    EiNextLpcMessageId = 0;
    
@@ -75,7 +77,7 @@ NiInitPort (VOID)
 
 /**********************************************************************
  * NAME                                                        INTERNAL
- *     NiInitializePort
+ *     NiInitializePort/3
  *     
  * DESCRIPTION
  *     Initialize the EPORT object attributes. The Port
@@ -120,7 +122,7 @@ NiInitializePort (IN OUT  PEPORT Port,
 
 /**********************************************************************
  * NAME                                                        SYSTEM
- *     NtImpersonateClientOfPort@8
+ *     NtImpersonateClientOfPort/2
  *     
  * DESCRIPTION
  *
@@ -138,6 +140,4 @@ NtImpersonateClientOfPort (HANDLE           PortHandle,
   return(STATUS_NOT_IMPLEMENTED);
 }
 
-
-
 /* EOF */