NTSTATUS
NpSetClosingPipeState(
  IN  PCCB Ccb,
  IN  PIRP Irp,
  IN  NAMED_PIPE_END NamedPipeEnd
  );

Routine Description:

    This routine sets a pipe state to closing.  This routine will
    either complete the irp right away or put in on the data queue
    to be completed later.

Arguments:

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

    Irp - Supplies the Irp trying to do the close operation

    NamedPipeEnd - Indicates if the server or client is doing the transition

Return Value:

    NTSTATUS -