2.5.17 IDeckLinkProfileAttributes Interface¶
The IDeckLinkProfileAttributes
interface provides details about the capabilities of a profile for a DeckLink card. The detail types that are available for various capabilities are: flag, int, float, and string. The DeckLink Attribute ID section lists the hardware capabilities and associated attributes identifiers that can be queried using this interface.
Interface |
Interface ID |
Description |
---|---|---|
IID_IDeckLink |
An |
|
IID_IDeckLinkProfile |
An |
2.5.17.1 IDeckLinkProfileAttributes::GetFlag method¶
-
HRESULT IDeckLinkProfileAttributes::GetFlag(BMDDeckLinkAttributeID cfgID, Boolean *value);¶
The GetFlag method gets a boolean flag associated with a given
BMDDeckLinkAttributeID
. (SeeBMDDeckLinkAttributeID
for a list of attribute IDs)- Parameters:
cfgID –
BMDDeckLinkAttributeID
to get flag value.value – The value corresponding to cfgID.
- Return values:
E_INVALIDARG – There is no flag type attribute corresponding to cfgID.
E_FAIL – Failure
S_OK – Success
2.5.17.2 IDeckLinkProfileAttributes::GetInt method¶
-
HRESULT IDeckLinkProfileAttributes::GetInt(BMDDeckLinkAttributeID cfgID, int64_t *value);¶
The GetInt method gets an integer value associated with a given
BMDDeckLinkAttributeID
.- Parameters:
cfgID –
BMDDeckLinkAttributeID
to get int value.value – The value corresponding to cfgID.
- Return values:
E_INVALIDARG – There is no int type attribute corresponding to cfgID.
E_FAIL – Failure
S_OK – Success
2.5.17.3 IDeckLinkProfileAttributes::GetFloat method¶
-
HRESULT IDeckLinkProfileAttributes::GetFloat(BMDDeckLinkAttributeID cfgID, double *value);¶
The GetFloat method gets a float value associated with a given
BMDDeckLinkAttributeID
.- Parameters:
cfgID –
BMDDeckLinkAttributeID
to get float value.value – The value corresponding to cfgID.
- Return values:
E_INVALIDARG – There is no float type attribute corresponding to cfgID.
E_FAIL – Failure
S_OK – Success
2.5.17.4 IDeckLinkProfileAttributes::GetString method¶
-
HRESULT IDeckLinkProfileAttributes::GetString(BMDDeckLinkAttributeID cfgID, string *value);¶
The GetString method gets a string value associated with a given
BMDDeckLinkAttributeID
.- Parameters:
cfgID –
BMDDeckLinkAttributeID
to get string value.value – The value corresponding to cfgID.
- Return values:
E_INVALIDARG – There is no string type attribute corresponding to cfgID.
E_FAIL – Failure
S_OK – Success