Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves an attribute whose value is a size, expressed as a width and height.
Syntax
HRESULT MFGetAttributeSize(
[in] IMFAttributes *pAttributes,
[in] REFGUID guidKey,
[out] UINT32 *punWidth,
[out] UINT32 *punHeight
);
Parameters
[in] pAttributes
Pointer to the IMFAttributes interface of the attribute store.
[in] guidKey
GUID that identifies which value to retrieve. The attribute type must be MF_ATTRIBUTE_UINT64.
[out] punWidth
Receives the width.
[out] punHeight
Receives the height.
Return value
This function can return one of these values.
Remarks
Some attributes specify a size as a packed UINT64 value. Use this function to get the numerator and denominator as separate 32-bit values.
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 |