C language function:MFCreate2DMediaBuffer sample codes

Search sample code in the internet.It is the result.


TITLE : MediaFoundation/CMC.MFAPI.pas at master CMCHTPC/MediaFoundation GitHub
function MFCreate2DMediaBuffer(dwWidth: DWORD; dwHeight: DWORD; dwFourCC: DWORD; fBottomUp: boolean; out ppBuffer: IMFMediaBuffer): HRESULT; stdcall;.......
http://github.com/CMCHTPC/MediaFoundation/blob/master/Units/CMC.MFAPI.pas


TITLE : MFCreateVideoSampleFromSurface function (Windows)
HRESULT MFCreate2DMediaBuffer(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/hh162746(v=vs.85).aspx
search Google

https://www.google.com/#q=MFCreate2DMediaBuffer