mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Implement NtGdiDdCanCreateSurface
not tested svn path=/trunk/; revision=14818
This commit is contained in:
parent
c087372392
commit
9b91fad21c
2 changed files with 18 additions and 8 deletions
|
@ -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 */
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue