2.5.2 IDeckLink Interface¶
The IDeckLink
interface represents a physical DeckLink device attached to the host computer.
IDeckLink
interfaces are obtained from either IDeckLinkIterator::Next()
or IDeckLinkDeviceNotificationCallback::DeckLinkDeviceArrived()
callback.
Interface |
Interface ID |
Description |
---|---|---|
IID_IDeckLinkIterator |
|
|
IID_IDeckLinkOutput |
An |
|
IID_IDeckLinkInput |
An |
|
IID_IDeckLinkConfiguration |
An |
|
IID_IDeckLinkProfile |
An |
|
IID_IDeckLinkProfile |
|
|
IID_IDeckLinkProfileAttributes |
An |
|
IID_IDeckLinkProfileManager |
An |
|
IID_IDeckLinkNotification |
An |
|
IID_IDeckLinkKeyer |
An |
|
IID_IDeckLinkStatus |
An |
|
IID_IDeckLinkDeckControl |
An |
|
IID_IDeckLinkHDMIInputEDID |
An |
|
IID_IDeckLinkEncoderInput |
An |
|
IID_IBMDStreamingDeviceInput |
An |
|
IID_IDeckLinkIPExtensions |
An |
|
IID_IDeckLinkDeviceNotificationCallback |
An |
2.5.2.1 IDeckLink::GetModelName method¶
2.5.2.2 IDeckLink::GetDisplayName method¶
-
HRESULT IDeckLink::GetDisplayName(string *displayName);¶
The GetDisplayName method returns a string suitable for display in a user interface. If the device has a custom label specified (see
bmdDeckLinkConfigDeviceInformationLabel
), the label will be used as the display name for the device.Otherwise, the string is made of the model name (as returned by GetModelName) followed by an increasing number (starting from 1) if more than one instance of a device is present in the system. If not, the returned string is simply the model name.
- Parameters:
displayName – The device’s display name. This allocated string must be freed by caller when no longer required
- Return values:
E_FAIL – Failure
S_OK – Success