mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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 */
|
/* EOF */
|
||||||
|
|
|
@ -139,15 +139,7 @@ DWORD STDCALL NtGdiDdCanCreateD3DBuffer(
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
DWORD STDCALL NtGdiDdCanCreateSurface(
|
|
||||||
HANDLE hDirectDraw,
|
|
||||||
PDD_CANCREATESURFACEDATA puCanCreateSurfaceData
|
|
||||||
)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
DWORD STDCALL NtGdiDdColorControl(
|
DWORD STDCALL NtGdiDdColorControl(
|
||||||
HANDLE hSurface,
|
HANDLE hSurface,
|
||||||
|
|
Loading…
Reference in a new issue