Author: greatlrd Date: Mon Oct 15 01:23:43 2007 New Revision: 29577
URL: http://svn.reactos.org/svn/reactos?rev=29577&view=rev Log: fixed export of EngLockDirectDrawSurface@4, EngUnlockDirectDrawSurface@4, EngDxIoctl@12, EngAllocPrivateUserMem@12, HeapVidMemAllocAligned@20, VidMemFree@8, EngFreePrivateUserMem@8 and add them to ntddraw/eng.c no code yet
Added: branches/reactx/reactos/subsystems/win32/win32k/ntddraw/eng.c (with props) Modified: branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dvp.c branches/reactx/reactos/subsystems/win32/win32k/stubs/stubs.c branches/reactx/reactos/subsystems/win32/win32k/win32k.def
Modified: branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dvp.c URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/subsystems/win32/... ============================================================================== --- branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dvp.c (original) +++ branches/reactx/reactos/subsystems/win32/win32k/ntddraw/dvp.c Mon Oct 15 01:23:43 2007 @@ -13,10 +13,6 @@ #include <w32k.h> #include <debug.h>
-/********************************************************************************/ -/* DVP interface from DXG.SYS */ -/********************************************************************************/ -
/************************************************************************/ /* NtGdiDvpCanCreateVideoPort */
Added: branches/reactx/reactos/subsystems/win32/win32k/ntddraw/eng.c URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/subsystems/win32/... ============================================================================== --- branches/reactx/reactos/subsystems/win32/win32k/ntddraw/eng.c (added) +++ branches/reactx/reactos/subsystems/win32/win32k/ntddraw/eng.c Mon Oct 15 01:23:43 2007 @@ -1,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 <w32k.h> +#include <debug.h> + +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) +{ + +} +
Propchange: branches/reactx/reactos/subsystems/win32/win32k/ntddraw/eng.c ------------------------------------------------------------------------------ svn:eol-style = native
Modified: branches/reactx/reactos/subsystems/win32/win32k/stubs/stubs.c URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/subsystems/win32/... ============================================================================== --- branches/reactx/reactos/subsystems/win32/win32k/stubs/stubs.c (original) +++ branches/reactx/reactos/subsystems/win32/win32k/stubs/stubs.c Mon Oct 15 01:23:43 2007 @@ -851,31 +851,10 @@ 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 @@ return NULL; }
-/* - * @unimplemented - */ -PVOID STDCALL -EngAllocPrivateUserMem( - IN PDD_SURFACE_LOCAL psl, - IN SIZE_T cj, - IN ULONG tag) -{ - UNIMPLEMENTED; - return NULL; -} +
/* * @unimplemented @@ -920,17 +888,6 @@ { UNIMPLEMENTED; return FALSE; -} - -/* - * @unimplemented - */ -VOID STDCALL -EngFreePrivateUserMem( - IN PDD_SURFACE_LOCAL psl, - IN PVOID pv) -{ - UNIMPLEMENTED; }
/*
Modified: branches/reactx/reactos/subsystems/win32/win32k/win32k.def URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/subsystems/win32/... ============================================================================== --- branches/reactx/reactos/subsystems/win32/win32k/win32k.def (original) +++ branches/reactx/reactos/subsystems/win32/win32k/win32k.def Mon Oct 15 01:23:43 2007 @@ -15,7 +15,6 @@ EngAlphaBlend@28 EngAcquireSemaphore@4 EngAllocMem@12 -EngAllocPrivateUserMem@12 EngAllocUserMem@8 EngAssociateSurface@12 EngBitBlt@44 @@ -53,7 +52,6 @@ EngFindResource@16 EngFreeMem@4 EngFreeModule@4 -EngFreePrivateUserMem@8 EngFreeUserMem@4 EngGetCurrentCodePage@8=ntoskrnl.RtlGetCurrentCodePage EngGetCurrentProcessId@0 @@ -151,7 +149,6 @@ FONTOBJ_pvTrueTypeFontFile@8 FONTOBJ_pxoGetXform@4 FONTOBJ_vGetInfo@12 -HeapVidMemAllocAligned@20 HT_ComputeRGBGammaTable@24 HT_Get8BPPFormatPalette@16 PALOBJ_cGetColors@16 @@ -175,7 +172,6 @@ STROBJ_bEnum@12 STROBJ_dwGetCodePage@4 STROBJ_vEnumStart@4 -VidMemFree@8 Win32kInitialize@0 WNDOBJ_bEnum@12 WNDOBJ_cEnumStart@16 @@ -190,4 +186,12 @@ _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