1 /* $Id: query.c,v 1.1 2000/06/04 17:27:39 ea Exp $
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/lpc/query.c
6 * PURPOSE: Communication mechanism
7 * PROGRAMMER: David Welch (welch@cwcom.net)
12 /* INCLUDES *****************************************************************/
14 #include <ddk/ntddk.h>
15 #include <internal/ob.h>
17 #include <internal/string.h>
18 #include <internal/port.h>
19 #include <internal/dbg.h>
22 #include <internal/debug.h>
25 /**********************************************************************
27 * NtQueryInformationPort@20
33 * PortInformationClass [IN]
34 * PortInformation [OUT]
35 * PortInformationLength [IN]
39 * STATUS_SUCCESS if the call succedeed. An error code
43 * P. Dabak reports that this system service seems to return
49 NtQueryInformationPort (
51 IN CINT PortInformationClass
,
52 OUT PVOID PortInformation
,
53 IN ULONG PortInformationLength
,
54 OUT PULONG ReturnLength
60 Status
= ObReferenceObjectByHandle (
62 PORT_ALL_ACCESS
, /* AccessRequired */
68 if (!NT_SUCCESS(Status
))
70 DPRINT("NtQueryInformationPort() = %x\n", Status
);
74 * FIXME: NT does nothing here!
76 ObDereferenceObject (Port
);
77 return STATUS_SUCCESS
;