removed double definition of Nt/ZwSecureConnectPort
Modified: trunk/reactos/include/ntos/zw.h

Modified: trunk/reactos/include/ntos/zw.h
--- trunk/reactos/include/ntos/zw.h	2005-01-28 12:04:37 UTC (rev 13347)
+++ trunk/reactos/include/ntos/zw.h	2005-01-28 12:06:50 UTC (rev 13348)
@@ -465,25 +465,47 @@
 
 
 NTSTATUS STDCALL
-NtConnectPort (PHANDLE PortHandle,
-	       PUNICODE_STRING PortName,
-	       PSECURITY_QUALITY_OF_SERVICE SecurityQos,
-	       PLPC_SECTION_WRITE SectionInfo,
-	       PLPC_SECTION_READ MapInfo,
-	       PULONG MaxMessageSize,
-	       PVOID ConnectInfo,
-	       PULONG ConnectInfoLength);
+NtConnectPort(OUT PHANDLE PortHandle,
+              IN PUNICODE_STRING PortName,
+              IN PSECURITY_QUALITY_OF_SERVICE SecurityQos,
+              IN OUT PLPC_SECTION_WRITE ClientSharedMemory  OPTIONAL,
+              OUT PLPC_SECTION_READ ServerSharedMemory  OPTIONAL,
+              OUT PULONG MaxMessageSize  OPTIONAL,
+              IN PVOID ConnectInfo  OPTIONAL,
+              IN PULONG ConnectInfoLength  OPTIONAL);
 
 NTSTATUS STDCALL
-ZwConnectPort (PHANDLE PortHandle,
-	       PUNICODE_STRING PortName,
-	       PSECURITY_QUALITY_OF_SERVICE SecurityQos,
-	       PLPC_SECTION_WRITE SectionInfo,
-	       PLPC_SECTION_READ MapInfo,
-	       PULONG MaxMessageSize,
-	       PVOID ConnectInfo,
-	       PULONG ConnectInfoLength);
+ZwConnectPort(OUT PHANDLE PortHandle,
+              IN PUNICODE_STRING PortName,
+              IN PSECURITY_QUALITY_OF_SERVICE SecurityQos,
+              IN OUT PLPC_SECTION_WRITE ClientSharedMemory  OPTIONAL,
+              OUT PLPC_SECTION_READ ServerSharedMemory  OPTIONAL,
+              OUT PULONG MaxMessageSize  OPTIONAL,
+              IN PVOID ConnectInfo  OPTIONAL,
+              IN PULONG ConnectInfoLength  OPTIONAL);
 
+NTSTATUS STDCALL
+NtSecureConnectPort(OUT PHANDLE PortHandle,
+                    IN PUNICODE_STRING PortName,
+                    IN PSECURITY_QUALITY_OF_SERVICE SecurityQos,
+                    IN OUT PLPC_SECTION_WRITE ClientSharedMemory  OPTIONAL,
+                    IN PSID ServerSid  OPTIONAL,
+                    OUT PLPC_SECTION_READ ServerSharedMemory  OPTIONAL,
+                    OUT PULONG MaxMessageSize  OPTIONAL,
+                    IN PVOID ConnectInfo  OPTIONAL,
+                    IN PULONG ConnectInfoLength  OPTIONAL);
+
+NTSTATUS STDCALL
+ZwSecureConnectPort(OUT PHANDLE PortHandle,
+                    IN PUNICODE_STRING PortName,
+                    IN PSECURITY_QUALITY_OF_SERVICE SecurityQos,
+                    IN OUT PLPC_SECTION_WRITE ClientSharedMemory  OPTIONAL,
+                    IN PSID ServerSid  OPTIONAL,
+                    OUT PLPC_SECTION_READ ServerSharedMemory  OPTIONAL,
+                    OUT PULONG MaxMessageSize  OPTIONAL,
+                    IN PVOID ConnectInfo  OPTIONAL,
+                    IN PULONG ConnectInfoLength  OPTIONAL);
+
 /*
  * FUNCTION: Creates a directory object
  * ARGUMENTS: