Hello,
The 1.1 update to the Blackmagic RAW SDK doesn't contain any example of how to use some new functions the update brought. For example
GetClipProcessingAttributeList : it seems that the third argument (/* [out] */ VARIANT *array) is not returning a list but a BSTR alone
, see this code :
- Code: Select all
VARIANT value;
unsigned int length = 0;
HRESULT res = constants->GetClipProcessingAttributeList(
L"Blackmagic URSA Mini Pro 4.6K",
blackmagicRawClipProcessingAttributeGamut, // BSTR according to the documentation
&value,
&length
);
// now length = 7
// res = S_OK
// value.vt = 8 = VT_BSTR
// value.bstrVal = L"Blackmagic Design"
// unable to read memory value.pbstrVal...
Any idea ?
Thanks in avance