Implement NtGdiDdCanCreateSurface

not tested 

svn path=/trunk/; revision=14818
This commit is contained in:
Magnus Olsen 2005-04-26 17:19:06 +00:00
parent c087372392
commit 9b91fad21c
2 changed files with 18 additions and 8 deletions

View file

@ -319,5 +319,23 @@ DWORD STDCALL NtGdiDdWaitForVerticalBlank(
}
DWORD STDCALL NtGdiDdCanCreateSurface(
HANDLE hDirectDrawLocal,
PDD_CANCREATESURFACEDATA puCanCreateSurfaceData
)
{
DWORD ddRVal;
PDD_DIRECTDRAW pDirectDraw = GDIOBJ_LockObj(hDirectDrawLocal, GDI_OBJECT_TYPE_DIRECTDRAW);
ddRVal = pDirectDraw->DdCanCreateSurface(puCanCreateSurfaceData);
GDIOBJ_UnlockObj(hDirectDrawLocal);
return ddRVal;
}
/* EOF */

View file

@ -139,15 +139,7 @@ DWORD STDCALL NtGdiDdCanCreateD3DBuffer(
return 0;
}
DWORD STDCALL NtGdiDdCanCreateSurface(
HANDLE hDirectDraw,
PDD_CANCREATESURFACEDATA puCanCreateSurfaceData
)
{
UNIMPLEMENTED
return 0;
}
DWORD STDCALL NtGdiDdColorControl(
HANDLE hSurface,