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

svn path=/branches/reactx/; revision=29577
This commit is contained in:
Magnus Olsen 2007-10-14 21:23:43 +00:00
parent 399dd8f6e5
commit 75bf1ba3bc
4 changed files with 87 additions and 55 deletions

View file

@ -13,10 +13,6 @@
#include <w32k.h>
#include <debug.h>
/********************************************************************************/
/* DVP interface from DXG.SYS */
/********************************************************************************/
/************************************************************************/
/* NtGdiDvpCanCreateVideoPort */

View file

@ -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 <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)
{
}

View file

@ -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
*/

View file

@ -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