MFSetAttribute2UINT32asUINT64 function (mfapi.h)
Packs two UINT32 values into a UINT64 attribute value.
Syntax
HRESULT MFSetAttribute2UINT32asUINT64(
[in] IMFAttributes *pAttributes,
[in] REFGUID guidKey,
[in] UINT32 unHigh32,
[in] UINT32 unLow32
);
Parameters
[in] pAttributes
A pointer to the IMFAttributes interface of the attribute store.
[in] guidKey
A GUID that identifies the value to set. If this key already exists, the function overwrites the old value.
[in] unHigh32
The value to store in the high-order 32 bits of the UINT64 value.
[in] unLow32
The value to store in the low-order 32 bits of the UINT64 value.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Internally, this functions calls Pack2UINT32AsUINT64 to create the 64-bit value, and IMFAttributes::SetUINT64 to set the attribute.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfapi.h (include Mfapi.h) |