From bde15621e5b3b1cca40fa2181e2a0bcec2e7d55d Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Wed, 4 Aug 2004 12:50:42 +0000 Subject: [PATCH 1/1] Register the LPC Port object object in the system name space. svn path=/trunk/; revision=10390 --- reactos/ntoskrnl/lpc/port.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reactos/ntoskrnl/lpc/port.c b/reactos/ntoskrnl/lpc/port.c index d370116b4e0..cb340033f85 100644 --- a/reactos/ntoskrnl/lpc/port.c +++ b/reactos/ntoskrnl/lpc/port.c @@ -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 */ -- 2.17.1