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_UNSUPPORTED_FLAG
        Given flag is unsupported for this device.
      MCIERR_INVALID_CALLBACK_HANDLE
        Given callback handle is invalid.
      MCIERR_HARDWARE
        Device hardware error.
      MCIERR_FILE_NOT_FOUND
        File has not been loaded.
      MCIERR_UNSUPPORTED_FUNCTION
        Unsupported function.
      MCIERR_INVALID_FLAG
        Flag (ulParam1) is invalid.
      MCIERR_FLAGS_NOT_COMPATIBLE
        Flags cannot be used together.


      [Back] [Next]