IMF2DBuffer2::Copy2DTo method (mfobjects.h)

Copies the buffer to another 2D buffer object.

Syntax

HRESULT Copy2DTo(
  [in] IMF2DBuffer2 *pDestBuffer
);

Parameters

[in] pDestBuffer

A pointer to the IMF2DBuffer2 interface of the destination buffer.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The destination buffer must be at least as large as the source buffer.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mfobjects.h (include Mfidl.h)

See also

IMF2DBuffer2