hpipe (HPIPE) - input

      The named-pipe handle to which a semaphore is to be attached.

      The server handle is returned by DosCreateNPipe; the client handle is returned by DosOpen.

    hsem (HSEM) - input

      The handle of an event semaphore or a multiple-wait (muxwait) semaphore that is posted when the pipe (hpipe) has either data to be read or write space available.

    key (ULONG) - input

      A key value that distinguishes events arriving on different named pipes that are attached to the same semaphore.

    ulrc (APIRET) - returns

      Return Code.

      DosSetNPipeSem returns one of the following values:

    • NO_ERROR 1
        ERROR_INVALID_FUNCTION
      6
        ERROR_INVALID_HANDLE
      87
        ERROR_INVALID_PARAMETER
      187
        ERROR_SEM_NOT_FOUND
      230
        ERROR_BAD_PIPE
      233
        ERROR_PIPE_NOT_CONNECTED
      For a full list of error codes, see Errors.


    [Back] [Next]