Represents a buffer that contains a two-dimensional surface, such as a video frame.
interface IMF2DBuffer2 : public IMF2DBuffer
This interface extends the IMF2DBuffer interface and adds a safer version of the IMF2DBuffer::Lock2D method.
Header: Declared in mfobjects.h (include mfidl.h).