rc (ULONG)

      Return codes indicating success or type of failure:

      MCIERR_SUCCESS

        MMPM/2 command completed successfully.
      MCIERR_OUT_OF_MEMORY
        System out of memory.
      MCIERR_INVALID_DEVICE_ID
        Invalid device ID given.
      MCIERR_MISSING_PARAMETER
        Missing parameter for this command.
      MCIERR_DRIVER
        Internal MMPM/2 driver error.
      MCIERR_INVALID_FLAG
        Invalid flag specified for this command.
      MCIERR_UNSUPPORTED_FLAG
        Flag not supported by this MMPM/2 driver for this command.
      MCIERR_DEVICE_LOCKED
        Device is locked.
      MCIERR_FLAGS_NOT_COMPATIBLE
        Flags cannot be used together.
      MCIERR_FILE_NOT_FOUND
        File not found.
      MCIERR_INI_FILE
        MMPM2.INI file error.
      MCIERR_OVLY_MAX_OPEN_LIMIT
        Opened maximum limit.
      MCIERR_INVALID_MEDIA_TYPE
        Invalid media type given.
      MCIERR_HARDWARE
        Hardware error.
      MCIERR_FILE_ATTRIBUTE
        File attribute error specified.
      MCIERR_NO_DEVICEDRIVER
        There was no device driver found or it is not operational.
      MCIERR_UNSUPP_SAMPLESPERSEC
        The hardware does not support this sampling rate
      MCIERR_UNSUPP_BITSPERSAMPLE
        The hardware does not support this bits per sample setting.
      MCIERR_UNSUPP_CHANNELS
        The hardware does not support this channel setting.
      MCIERR_UNSUPP_FORMAT_MODE
        The hardware does not support this format mode.
      MCIERR_UNSUPP_FORMAT_TAG
        The hardware does not support this format tag.
      MMIOERR_ACCESS_DENIED
        The file cannot be opened.


      [Back] [Next]