C language function:MFCreateDXSurfaceBuffer 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 : MFCreateVideoSampleFromSurface function (Windows)
HRESULT MFCreateDXSurfaceBuffer(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ms703840(v=vs.85).aspx
TITLE : c++ - Unable to import MFCreateDXSurfaceBuffer function - Stack Overflow
MFCreateDXSurfaceBuffer(__uuidof(IDirect3DSurface9), theSurface, FALSE, &theBuffer);.......
http://stackoverflow.com/questions/19057131/unable-to-import-mfcreatedxsurfacebuffer-function
search Google

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