struct CCL::IDeviceDescription

Overview

Device description interface. More…

#include <ideviceenumerator.h>

struct IDeviceDescription: public CCL::IUnknown
{
    // fields

    static constexpr int kMediaRenderCapability = 1 < <0;
    static constexpr int kMediaCaptureCapability = 1 < <1;

    // methods

    virtual StringRef CCL_API getDeviceName () const = 0;
    virtual StringRef CCL_API getDeviceID () const = 0;
    virtual int CCL_API getDeviceFlags () const = 0;
    virtual void CCL_API getDeviceAttributes (IAttributeList& a) const = 0;
    DECLARE_STRINGID_MEMBER (kDeviceContainerID);
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Device description interface.

Fields

static constexpr int kMediaRenderCapability = 1 < <0

device can render media

static constexpr int kMediaCaptureCapability = 1 < <1

device can capture media

Methods

virtual StringRef CCL_API getDeviceName () const = 0

Get device name for display.

virtual StringRef CCL_API getDeviceID () const = 0

Get platform-specific device identifier.

virtual int CCL_API getDeviceFlags () const = 0

Get device flags.

virtual void CCL_API getDeviceAttributes (IAttributeList& a) const = 0

Get additional device attributes.