IMF2DBuffer2::Copy2DTo method

Copies the buffer to another 2D buffer object.

Syntax


HRESULT Copy2DTo(
  [in] IMF2DBuffer2 *pDestBuffer
);

Parameters

pDestBuffer [in]

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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfobjects.idl (include Mfidl.h)

See also

IMF2DBuffer2

 

 

Show: