rc (ULONG)

      Return codes indicating success or type of failure:

      MCIERR_SUCCESS

        The function is successful.
      MCIERR_ALREADY_CONNECTED
        A connection already exists for the specified connector.
      MCIERR_INVALID_CONNECTION
        Connection between the specified connection types is invalid.
      MCIERR_CANNOT_ADD_ALIAS
        The alias was not added.
      MCIERR_DUPLICATE_ALIAS
        The alias already exists.
      MCIERR_NO_CONNECTION
        No connection exists for the queried connector.
      MCIERR_INVALID_DEVICE_ID
        The device ID is not valid.
      MCIERR_INVALID_DEVICE_ORDINAL
        The device ordinal given is invalid.
      MCIERR_MISSING_FLAG
        A required flag is missing.
      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_FLAGS_NOT_COMPATIBLE
        Flags cannot be used together.


      [Back] [Next]