diff --git a/reactos/subsystems/win32/win32k/ntddraw/dvp.c b/reactos/subsystems/win32/win32k/ntddraw/dvp.c index b2e1bd233c6..af021169d5c 100644 --- a/reactos/subsystems/win32/win32k/ntddraw/dvp.c +++ b/reactos/subsystems/win32/win32k/ntddraw/dvp.c @@ -13,10 +13,6 @@ #include #include -/********************************************************************************/ -/* DVP interface from DXG.SYS */ -/********************************************************************************/ - /************************************************************************/ /* NtGdiDvpCanCreateVideoPort */ diff --git a/reactos/subsystems/win32/win32k/ntddraw/eng.c b/reactos/subsystems/win32/win32k/ntddraw/eng.c new file mode 100644 index 00000000000..845a6e927b7 --- /dev/null +++ b/reactos/subsystems/win32/win32k/ntddraw/eng.c @@ -0,0 +1,75 @@ + + +/* + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS kernel + * PURPOSE: Native DirectDraw implementation + * FILE: subsys/win32k/ntddraw/dvd.c + * PROGRAMER: Magnus olsen (magnus@greatlord.com) + * REVISION HISTORY: + * 19/1-2006 Magnus Olsen + */ + + +#include +#include + +FLATPTR +STDCALL +HeapVidMemAllocAligned( + IN LPVIDMEM lpVidMem, + IN DWORD dwWidth, + IN DWORD dwHeight, + IN LPSURFACEALIGNMENT lpAlignment, + OUT LPLONG lpNewPitch) +{ + +} + +VOID +STDCALL +VidMemFree(LPVMEMHEAP pvmh, + FLATPTR ptr) +{ + +} + +PVOID +STDCALL +EngAllocPrivateUserMem(PDD_SURFACE_LOCAL psl, + SIZE_T cj, + ULONG tag) +{ + +} + +VOID STDCALL +EngFreePrivateUserMem(PDD_SURFACE_LOCAL psl, + PVOID pv) +{ + +} + +HRESULT +STDCALL +EngDxIoctl(ULONG ulIoctl, + PVOID pBuffer, + ULONG ulBufferSize) +{ + +} + +PDD_SURFACE_LOCAL +STDCALL +EngLockDirectDrawSurface(HANDLE hSurface) +{ + +} + +BOOL +STDCALL +EngUnlockDirectDrawSurface(PDD_SURFACE_LOCAL pSurface) +{ + +} + diff --git a/reactos/subsystems/win32/win32k/stubs/stubs.c b/reactos/subsystems/win32/win32k/stubs/stubs.c index b7e472ccc28..53ed7968313 100644 --- a/reactos/subsystems/win32/win32k/stubs/stubs.c +++ b/reactos/subsystems/win32/win32k/stubs/stubs.c @@ -851,31 +851,10 @@ EngQuerySystemAttribute( return FALSE; } -/* - * @unimplemented - */ -FLATPTR STDCALL -HeapVidMemAllocAligned( - IN LPVIDMEM lpVidMem, - IN DWORD dwWidth, - IN DWORD dwHeight, - IN LPSURFACEALIGNMENT lpAlignment, - OUT LPLONG lpNewPitch) -{ - UNIMPLEMENTED; - return 0; -} -/* - * @unimplemented - */ -VOID STDCALL -VidMemFree( - IN LPVMEMHEAP pvmh, - IN FLATPTR ptr) -{ - UNIMPLEMENTED; -} + + + /* * @unimplemented @@ -888,18 +867,7 @@ BRUSHOBJ_hGetColorTransform( return NULL; } -/* - * @unimplemented - */ -PVOID STDCALL -EngAllocPrivateUserMem( - IN PDD_SURFACE_LOCAL psl, - IN SIZE_T cj, - IN ULONG tag) -{ - UNIMPLEMENTED; - return NULL; -} + /* * @unimplemented @@ -922,17 +890,6 @@ EngDeleteFile( return FALSE; } -/* - * @unimplemented - */ -VOID STDCALL -EngFreePrivateUserMem( - IN PDD_SURFACE_LOCAL psl, - IN PVOID pv) -{ - UNIMPLEMENTED; -} - /* * @unimplemented */ diff --git a/reactos/subsystems/win32/win32k/win32k.def b/reactos/subsystems/win32/win32k/win32k.def index 684c2ecff30..e16b566f101 100644 --- a/reactos/subsystems/win32/win32k/win32k.def +++ b/reactos/subsystems/win32/win32k/win32k.def @@ -15,7 +15,6 @@ CLIPOBJ_ppoGetPath@4 EngAlphaBlend@28 EngAcquireSemaphore@4 EngAllocMem@12 -EngAllocPrivateUserMem@12 EngAllocUserMem@8 EngAssociateSurface@12 EngBitBlt@44 @@ -53,7 +52,6 @@ EngFindImageProcAddress@8 EngFindResource@16 EngFreeMem@4 EngFreeModule@4 -EngFreePrivateUserMem@8 EngFreeUserMem@4 EngGetCurrentCodePage@8=ntoskrnl.RtlGetCurrentCodePage EngGetCurrentProcessId@0 @@ -151,7 +149,6 @@ FONTOBJ_pifi@4 FONTOBJ_pvTrueTypeFontFile@8 FONTOBJ_pxoGetXform@4 FONTOBJ_vGetInfo@12 -HeapVidMemAllocAligned@20 HT_ComputeRGBGammaTable@24 HT_Get8BPPFormatPalette@16 PALOBJ_cGetColors@16 @@ -175,7 +172,6 @@ RtlUpcaseUnicodeToMultiByteN@20=NTOSKRNL.RtlUpcaseUnicodeToMultiByteN STROBJ_bEnum@12 STROBJ_dwGetCodePage@4 STROBJ_vEnumStart@4 -VidMemFree@8 Win32kInitialize@0 WNDOBJ_bEnum@12 WNDOBJ_cEnumStart@16 @@ -190,4 +186,12 @@ _abnormal_termination=NTOSKRNL._abnormal_termination _except_handler2=NTOSKRNL._except_handler2 _global_unwind2=NTOSKRNL._global_unwind2 _local_unwind2=NTOSKRNL._local_unwind2 +EngLockDirectDrawSurface@4 +EngUnlockDirectDrawSurface@4 +EngDxIoctl@12 +EngAllocPrivateUserMem@12 +HeapVidMemAllocAligned@20 +VidMemFree@8 +EngFreePrivateUserMem@8 + ;EOF