ulError (ULONG) - input

      Specifies the error code. The low-order word contains the error code and the high-order word contains the device ID. The device ID is used by OS/2 multimedia to determine if there are device-dependent errors. If there are device-dependent errors then OS/2 multimedia returns the device-dependent error string.

    pszBuffer (PSZ) - output

      Pointer to the application's buffer. The textual error string will be copied to this buffer based on the length of the buffer.

    usLength (USHORT) - input

      Specifies the size of the application's buffer.

    rc (ULONG) - returns

      Return code.

      MCIERR_SUCCESS

        Error code returned indicating success or type of failure.
      MCIERR_INVALID_DEVICE_ID
        The device ID is not valid.
      MCIERR_OUTOFRANGE
        The error code specified is not valid.
      MCIERR_INVALID_BUFFER
        The buffer address specified is not valid.


      [Back] [Next]