Packs two UINT32 values into a UINT64 attribute value.
HRESULT MFSetAttribute2UINT32asUINT64(
IMFAttributes *pAttributes,
REFGUID guidKey,
UINT32 unHigh32,
UINT32 unLow32
)
pAttributes
Type: IMFAttributes *
A pointer to the IMFAttributes interface of the attribute store.
guidKey
Type: REFGUID
A GUID that identifies the value to set. If this key already exists, the function overwrites the old value.
unHigh32
Type: UINT32
The value to store in the high-order 32 bits of the UINT64 value.
unLow32
Type: UINT32
The value to store in the low-order 32 bits of the UINT64 value.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Refer to Media Foundation return codes.
Internally, this functions calls Pack2UINT32AsUINT64 to create the 64-bit value, and IMFAttributes::SetUINT64 to set the attribute.
Header: Declared in mfapi.h.