Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PackSize
Collapse the table of content
Expand the table of content

PackSize macro

Packs a UINT32 width value and a UINT32 height value into a UINT64 value that represents a size.

Syntax


UINT64 PackSize(
  [in] UINT32 unWidth,
  [in] UINT32 unHeight
);

Parameters

unWidth [in]

Value to store the UINT32 width value.

unHeight [in]

Value to store the UINT32 height value.

Return value

Returns the packed UINT64 value.

Remarks

This function stores two 32-bit values in a 64-bit value that is suitable for the IMFAttributes::SetUINT64 method.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfapi.h

See also

Media Foundation Functions
MFGetAttributeRatio
MFGetAttributeSize

 

 

Community Additions

ADD
Show:
© 2015 Microsoft