rc (ULONG)

      Return codes indicating success or type of failure:

      MCIERR_SUCCESS

        If the function succeeds, 0 is returned.
      MCIERR_INSTANCE_INACTIVE
        The device ID is currently inactive. Issue MCI_ACQUIREDEVICE to make the device instance active.
      MCIERR_MISSING_FLAG
        A required flag is missing.
      MCIERR_DRIVER
        Internal MMPM/2 driver error.
      MCIERR_UNSUPPORTED_FLAG
        Given flag is unsupported for this device.
      MCIERR_INVALID_CALLBACK_HANDLE
        Given callback handle is invalid.
      MCIERR_UNSUPPORTED_CONN_TYPE
        This device does not support the given connector type.
      MCIERR_INVALID_CONNECTOR_TYPE
        The given connector type is invalid.
      MCIERR_INVALID_CONNECTOR_INDEX
        Invalid connector index given.
      MCIERR_MISSING_PARAMETER
        Required parameter is missing.
      MCIERR_INVALID_FLAG
        Flag is invalid (ulParam1).
      MCIERR_FLAGS_NOT_COMPATIBLE
        Flags cannot be used together.
      MCIERR_INVALID_CONNECTION
        An attempt was made to make an invalid connection.
      MCIERR_NO_CONNECTION
        An attempt was made to break a nonexistent connection.
      MCIERR_INVALID_DEVICE_ID
        A device ID is not valid.
      MCIERR_INVALID_DEVICE_ORDINAL
        Invalid device ordinal given.


      [Back] [Next]