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_UNSUPPORTED_FLAG
        Given flag is unsupported for this device.
      MCIERR_INVALID_CALLBACK_HANDLE
        Given callback handle is invalid.
      MCIERR_UNSUPPORTED_FUNCTION
        Unsupported function.
      MCIERR_INVALID_FLAG
        Flag (ulParam1) is invalid.
      MCIERR_FLAGS_NOT_COMPATIBLE
        Flags cannot be used together.
      MCIERR_INVALID_BUFFER
        Invalid return buffer given.
      MCIERR_MISSING_PARAMETER
        Required parameter missing.
      MCIERR_DEVICE_NOT_READY
        The device is not ready or is being used by another process.


      [Back] [Next]