mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 02:37:06 +00:00
Create Internal_CreateSurface stub.
svn path=/trunk/; revision=26736
This commit is contained in:
parent
9dbe363154
commit
bf51ef9a82
|
@ -130,6 +130,9 @@ HRESULT WINAPI Main_DirectDraw_CreateSurface (LPDIRECTDRAW7 iface, LPDDSURFACEDE
|
|||
|
||||
DX_WINDBG_trace();
|
||||
|
||||
if (pUnkOuter)
|
||||
return DDERR_GENERIC;
|
||||
|
||||
/* FIXME vaildate input pointers or warp everthing with SEH */
|
||||
|
||||
EnterCriticalSection(&ddcs);
|
||||
|
@ -162,7 +165,7 @@ HRESULT WINAPI Main_DirectDraw_CreateSurface (LPDIRECTDRAW7 iface, LPDDSURFACEDE
|
|||
}
|
||||
|
||||
/* FIXME add one gbl check with one pDDSD check */
|
||||
// ret = internal_CreateSurface(iface,dd_desc_v2,ppSurf,pUnkOuter);
|
||||
ret = Internal_CreateSurface(dd_int,ppSurf,&dd_desc_v2);
|
||||
|
||||
LeaveCriticalSection(&ddcs);
|
||||
return ret;
|
||||
|
|
|
@ -9,6 +9,13 @@
|
|||
*/
|
||||
#include "rosdraw.h"
|
||||
|
||||
HRESULT
|
||||
Internal_CreateSurface(LPDDRAWI_DIRECTDRAW_INT pDDraw,
|
||||
LPDDRAWI_DDRAWSURFACE_LCL *lpLcl,
|
||||
LPDDSURFACEDESC2 pDDSD)
|
||||
{
|
||||
return DDERR_GENERIC;
|
||||
}
|
||||
|
||||
void CopyDDSurfDescToDDSurfDesc2(LPDDSURFACEDESC2 dst_pDesc, LPDDSURFACEDESC src_pDesc)
|
||||
{
|
||||
|
|
|
@ -71,3 +71,4 @@ DWORD CALLBACK HelDdFlipToGDISurface(LPDDHAL_FLIPTOGDISURFACEDATA lpFlipToGDISu
|
|||
HRESULT CreateOverlaySurface(LPDDRAWI_DIRECTDRAW_INT This, LPDDRAWI_DDRAWSURFACE_INT *That, LPDDSURFACEDESC2 pDDSD);
|
||||
HRESULT CreateBackBufferSurface(LPDDRAWI_DIRECTDRAW_INT This, LPDDRAWI_DDRAWSURFACE_INT *That, LPDDRAWI_DDRAWSURFACE_LCL *lpLcl, LPDDSURFACEDESC2 pDDSD);
|
||||
HRESULT CreatePrimarySurface(LPDDRAWI_DIRECTDRAW_INT This, LPDDRAWI_DDRAWSURFACE_INT *That,LPDDRAWI_DDRAWSURFACE_LCL *lpLcl, LPDDSURFACEDESC2 pDDSD);
|
||||
HRESULT Internal_CreateSurface(LPDDRAWI_DIRECTDRAW_INT, LPDDRAWI_DDRAWSURFACE_LCL*, LPDDSURFACEDESC2);
|
||||
|
|
Loading…
Reference in a new issue