rc (ULONG)

      Return codes indicating success or type of failure:

      MCIERR_SUCCESS

        If the function succeeds, 0 is returned.
      MCIERR_INVALID_DEVICE_ID
        The device ID is not valid.
      MCIERR_INSTANCE_INACTIVE
        The device ID is currently inactive. Issue MCI_ACQUIREDEVICE to make device ID active.
      MCIERR_MISSING_FLAG
        A required flag is missing.
      MCIERR_INVALID_FLAG
        Given flag is invalid.
      MCIERR_UNSUPPORTED_FLAG
        Given flag is unsupported for this device.
      MCIERR_INVALID_CALLBACK_HANDLE
        Given callback handle is invalid.
      MCIERR_FILE_NOT_FOUND
        File has not been loaded.
      MCIERR_OUT_OF_MEMORY
        Out of memory.
      MCIERR_OUTOFRANGE
        Unit is out of range.
      MCIERR_MISSING_PARAMETER
        Required parameter is missing.


      [Back] [Next]