NTSTATUS
NpSetConnectedPipeState(
  IN  PCCB Ccb,
  IN  PFILE_OBJECT ClientFileObject
  );

Routine Description:

    This routine sets the state of a named pipe to connected.

Arguments:

    Ccb - Supplies a pointer to the Ccb representing the pipe state

    ClientFileObject - Supplies the file object for the client that is
        doing the connect.

Return Value:

    NTSTATUS