rc (ULONG) - returns

      Return codes indicating success or type of failure:

      MCIERR_SUCCESS

        If the function succeeds, 0 is returned.
      MCIERR_NO_ASYNC_PLAY_ACTIVE
        A synchronous (default) play command is pending or no asynchronous play is currently active for the associated owner window.
      MCIERR_MISSING_PARAMETER
        Required parameter is missing.
      MCIERR_FILE_ATTRIBUTE
        Returned if another application has opened or acquired the same device for exclusive use.
      MCIERR_INSTANCE_INACTIVE
        The device is currently inactive. Issue MCI_ACQUIREDEVICE message to activate device ID.
      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_FLAGS_NOT_COMPATIBLE
        Flags can not be used together.
      MCIERR_FILE_NOT_FOUND
        File has not been loaded.
      MCIERR_DUPLICATE_ALIAS
        Alias already exists.
      MCIERR_INVALID_BUFFER
        Invalid return buffer given.
      MCIERR_CANNOT_LOAD_DRIVER
        The driver could not be loaded.
      MCIERR_DEVICE_LOCKED
        The device is acquired for exclusive use.
      MCIERR_OUT_OF_MEMORY
        Out of memory.


      [Back] [Next]