NTSYSAPI
NTSTATUS
NTAPI
NtConnectPort(
  OUT PHANDLE PortHandle,
  IN  PUNICODE_STRING PortName,
  IN  PSECURITY_QUALITY_OF_SERVICE SecurityQos,
  IN OUT PPORT_VIEW ClientView OPTIONAL,
  IN OUT PREMOTE_PORT_VIEW ServerView OPTIONAL,
  OUT PULONG MaxMessageLength OPTIONAL,
  IN OUT PVOID ConnectionInformation OPTIONAL,
  IN OUT PULONG ConnectionInformationLength OPTIONAL
  );

Routine Description:

    See NtSecureConnectPort

Arguments:

    See NtSecureConnectPort

Return Value:

    NTSTATUS - An appropriate status value