hfile (HFILE) - input

      The handle of the output file or device.

    cbMsg (ULONG) - input

      The length, in bytes, of the message to be sent.

    pBuf (PCHAR) - input

      The buffer that contains the message to be sent.

    ulrc (APIRET) - returns

      Return Code.

      DosPutMessage returns one of the following values:

    • NO_ERROR 6
        ERROR_INVALID_HANDLE
      19
        ERROR_WRITE_PROTECT
      87
        ERROR_INVALID_PARAMETER
      321
        ERROR_MR_UN_PERFORM
      For a full list of error codes, see Errors.


    [Back] [Next]