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_FILE_NOT_FOUND
        File has not been loaded.
      MCIERR_OUT_OF_MEMORY
        Out of memory.
      MCIERR_OUTOFRANGE
        Units is out of range.
      MCIERR_DUPLICATE_CUEPOINT
        Given cue point already exists.
      MCIERR_INVALID_CUEPOINT
        Given cue point is invalid.
      MCIERR_CUEPOINT_LIMIT_REACHED
        The limit for cue points for this device has been reached. Delete one or more cue points and retry this message.
      MCIERR_MISSING_PARAMETER
        Required parameter is missing.


      [Back] [Next]