rc (ULONG)

      Note: The format of the ulReturn value in this structure is defined by the high-order word of the value returned by mciSendCommand. This value is used by mciSendString to determine how to convert the ulReturn value to string form. For a list of the possible format values, see the MMDRVOS2.H header file. If the low-order word returned is MCIERR_SUCCESS, the high-order word could be other errors or a value. A returned value defines the format of ulReturn as defined in MMDRVOS2.H. For example, 0x5000 = MCI_TRUE_FALSE_RETURN.

      Return codes indicating success or type of failure:

      MCIERR_SUCCESS

        MMPM/2 command completed successfully.
      MCIERR_OUT_OF_MEMORY
        System out of memory.
      MCIERR_INVALID_DEVICE_ID
        Invalid device ID given.
      MCIERR_MISSING_PARAMETER
        Missing parameter for this command.
      MCIERR_DRIVER
        Internal MMPM/2 driver error.
      MCIERR_INVALID_FLAG
        Invalid flag specified for this command.
      MCIERR_UNSUPPORTED_FLAG
        Flag not supported by this MMPM/2 driver for this command.
      MCIERR_MISSING_FLAG
        Flag missing for this MMPM/2 command.
      MCIERR_UNSUPPORTED_FUNCTION
        Function not supported by the media driver being used.
      MCIERR_INVALID_ITEM_FLAG
        Invalid item flag specified for this command.
      MCIERR_TUNER_NO_HW
        Device has no tuner support.
      MCIERR_TUNER_MODE
        Frequency was last set directly. MCI_DGV_STATUS_TUNER_TV_CHANNEL and MCI_DGV_STATUS_TUNER_FINETUNE cannot be used. Use MCI_DGV_STATUS_FREQUENCY.
      MCIERR_SIGNAL_INVALID
        No valid signal present.


      [Back] [Next]