3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/lpc/query.c
6 * PURPOSE: Communication mechanism
8 * PROGRAMMERS: David Welch (welch@cwcom.net)
11 /* INCLUDES *****************************************************************/
15 #include <internal/debug.h>
17 /* FUNCTIONS *****************************************************************/
19 /**********************************************************************
21 * NtQueryInformationPort@20
27 * PortInformationClass [IN]
28 * PortInformation [OUT]
29 * PortInformationLength [IN]
33 * STATUS_SUCCESS if the call succedeed. An error code
37 * P. Dabak reports that this system service seems to return
40 /*EXPORTED*/ NTSTATUS STDCALL
41 NtQueryInformationPort (IN HANDLE PortHandle
,
42 IN PORT_INFORMATION_CLASS PortInformationClass
,
43 OUT PVOID PortInformation
,
44 IN ULONG PortInformationLength
,
45 OUT PULONG ReturnLength
)
50 Status
= ObReferenceObjectByHandle (PortHandle
,
51 PORT_ALL_ACCESS
, /* AccessRequired */
56 if (!NT_SUCCESS(Status
))
58 DPRINT("NtQueryInformationPort() = %x\n", Status
);
62 * FIXME: NT does nothing here!
64 ObDereferenceObject (Port
);
65 return STATUS_SUCCESS
;