hpipe (HPIPE) - input

      A named-pipe handle.

      This handle is returned by DosCreateNPipe for a server process, or by DosOpen for a client process.

    pOutbuf (PVOID) - input

      A pointer to the buffer that is to be written to the pipe.

    cbOut (ULONG) - input

      The number of bytes to be written.

    pInbuf (PVOID) - output

      A pointer to the buffer for returned data.

    cbIn (ULONG) - input

      The maximum size, in bytes, of returned data.

    pcbRead (PULONG) - output

      A pointer to the number of bytes read.

    ulrc (APIRET) - returns

      Return Code.

      DosTransactNPipe returns one of the following values:

    • NO_ERROR 5
        ERROR_ACCESS_DENIED
      11
        ERROR_BAD_FORMAT
      109
        ERROR_BROKEN_PIPE
      157
        ERROR_DISCARDED
      230
        ERROR_BAD_PIPE
      231
        ERROR_PIPE_BUSY
      233
        ERROR_PIPE_NOT_CONNECTED
      234
        ERROR_MORE_DATA
      For a full list of error codes, see Errors.


    [Back] [Next]