C language function:MFCreateDXGISurfaceBuffer sample codes

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


TITLE : IMFmedia buffers
So I found 2 functions : MFCreateDXSurfaceBuffer() and MFCreateDXGISurfaceBuffer() and I can't seem to get them to work... can some1 teach me how to create one of these buffers instead of a memoryBuffer?.......
http://answers.flyppdevportal.com/MVC/Post/Thread/6296bc11-8fb4-4b0e-bda5-8e1168c74637@category=nativecode


TITLE : DXVA2Manager.cpp - DXR
hr = wmf::MFCreateDXGISurfaceBuffer(.......
http://dxr.mozilla.org/mozilla-beta/source/dom/media/platforms/wmf/DXVA2Manager.cpp
TITLE : Windows-classic-samples/Presenter.cpp at master Microsoft/Windows-classic-samples GitHub
hr = MFCreateDXGISurfaceBuffer(__uuidof(ID3D11Texture2D), pDXGIBackBuffer, 0, FALSE, &pBuffer);.......
http://github.com/Microsoft/Windows-classic-samples/blob/master/Samples/DX11VideoRenderer/cpp/Presenter.cpp
TITLE : Windows-classic-samples/Presenter.cpp at master Microsoft/Windows-classic-samples GitHub
hr = MFCreateDXGISurfaceBuffer(__uuidof(ID3D11Texture2D), pDXGIBackBuffer, 1, FALSE, &pBuffer);.......
http://github.com/Microsoft/Windows-classic-samples/blob/master/Samples/DX11VideoRenderer/cpp/Presenter.cpp
TITLE : Windows-classic-samples/Presenter.cpp at master Microsoft/Windows-classic-samples GitHub
hr = MFCreateDXGISurfaceBuffer(__uuidof(ID3D11Texture2D), pDXGIBackBuffer, 0, FALSE, &pBuffer);.......
http://github.com/Microsoft/Windows-classic-samples/blob/master/Samples/DX11VideoRenderer/cpp/Presenter.cpp
TITLE : Windows-classic-samples/Presenter.cpp at master Microsoft/Windows-classic-samples GitHub
hr = MFCreateDXGISurfaceBuffer(__uuidof(ID3D11Texture2D), pDXGIBackBuffer, 1, FALSE, &pBuffer);.......
http://github.com/Microsoft/Windows-classic-samples/blob/master/Samples/DX11VideoRenderer/cpp/Presenter.cpp
TITLE : MFCreateDXGISurfaceBuffer function (Windows)
HRESULT MFCreateDXGISurfaceBuffer(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/hh162751(v=vs.85).aspx
search Google

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