2.5.46 IDeckLinkProfileIterator Interface

The IDeckLinkProfileIterator interface is used to enumerate the available profiles for the DeckLink device.

A reference to an IDeckLinkProfileIterator interface may be obtained by calling GetProfiles on an IDeckLinkProfileManager interface.

Related Interfaces

Interface

Interface ID

Description

IDeckLinkProfile

IID_IDeckLinkProfile

IDeckLinkProfileIterator::Next() outputs an IDeckLinkProfile object interface

IDeckLinkProfile

IID_IDeckLinkProfile

IDeckLinkProfile::GetPeers() outputs an IDeckLinkProfileIterator object interface

IDeckLinkProfileManager

IID_IDeckLinkProfileManager

IDeckLinkProfileManager::GetProfiles() outputs an IDeckLinkProfileIterator object interface

2.5.46.1 IDeckLinkProfileIterator::Next method

HRESULT IDeckLinkProfileIterator::Next(IDeckLinkProfile **profile);

The Next method returns the next available IDeckLinkProfile interface.

Parameters:

profile – Pointer to IDeckLinkProfile interface object or NULL when no more profiles are available. This object must be released by the caller when no longer required.

Return values:
  • E_INVALIDARG – Parameter profile variable is NULL.

  • S_FALSE – No (more) profiles found.

  • S_OK – Success