Author: greatlrd
Date: Sun May 18 14:17:53 2008
New Revision: 33595
URL:
http://svn.reactos.org/svn/reactos?rev=33595&view=rev
Log:
add vista specify api to gdi32 define file, not completed yet
1. fixed EngBitBlt it did miss @44 at end
2. redirect EngAcquireSemaphore to NtGdiEngAcquireSemaphore, EngFreeModule to FreeLibrary,
EngReleaseSemaphore to LeaveCriticalSection
3. Plugin all new 64 vista syscall I commited early today.
Modified:
branches/win32k-gdi-dx/dll/win32/gdi32/gdi32.def
branches/win32k-gdi-dx/dll/win32/gdi32/objects/eng.c
Modified: branches/win32k-gdi-dx/dll/win32/gdi32/gdi32.def
URL:
http://svn.reactos.org/svn/reactos/branches/win32k-gdi-dx/dll/win32/gdi32/g…
==============================================================================
--- branches/win32k-gdi-dx/dll/win32/gdi32/gdi32.def [iso-8859-1] (original)
+++ branches/win32k-gdi-dx/dll/win32/gdi32/gdi32.def [iso-8859-1] Sun May 18 14:17:53
2008
@@ -42,6 +42,7 @@
ColorMatchToTarget@12
CombineRgn@16
CombineTransform@12=NtGdiCombineTransform@12
+ConfigureOPMProtectedOutput@16=NtGdiConfigureOPMProtectedOutput@16
CopyEnhMetaFileA@8
CopyEnhMetaFileW@8
CopyMetaFileA@8
@@ -76,6 +77,7 @@
CreateICW@16
CreateMetaFileA@4
CreateMetaFileW@4
+CreateOPMProtectedOutputs@20=NtGdiCreateOPMProtectedOutputs@20
CreatePalette@4
CreatePatternBrush@4
CreatePen@12
@@ -88,6 +90,69 @@
CreateScalableFontResourceA@16
CreateScalableFontResourceW@16
CreateSolidBrush@4
+D3DKMTCheckExclusiveOwnership@0=NtGdiDdDDICheckExclusiveOwnership@0
+D3DKMTCheckMonitorPowerState@4=NtGdiDdDDICheckMonitorPowerState@4
+D3DKMTCheckOcclusion@4=NtGdiDdDDICheckOcclusion@4
+D3DKMTCloseAdapter@4=NtGdiDdDDICloseAdapter@4
+D3DKMTCreateAllocation@4=NtGdiDdDDICreateAllocation@4
+D3DKMTCreateContext@4=NtGdiDdDDICreateContext@4
+D3DKMTCreateDCFromMemory@4=NtGdiDdDDICreateDCFromMemory@4
+D3DKMTCreateDevice@4=NtGdiDdDDICreateDevice@4
+D3DKMTCreateOverlay@4=NtGdiDdDDICreateOverlay@4
+D3DKMTCreateSynchronizationObject@4=NtGdiDdDDICreateSynchronizationObject@4
+D3DKMTDestroyAllocation@4=NtGdiDdDDIDestroyAllocation@4
+D3DKMTDestroyContext@4=NtGdiDdDDIDestroyContext@4
+D3DKMTDestroyDCFromMemory@4=NtGdiDdDDIDestroyDCFromMemory@4
+D3DKMTDestroyDevice@4=NtGdiDdDDIDestroyDevice@4
+D3DKMTDestroyOverlay@4=NtGdiDdDDIDestroyOverlay@4
+D3DKMTDestroySynchronizationObject@4=NtGdiDdDDIDestroySynchronizationObject@4
+D3DKMTEscape@4=NtGdiDdDDIEscape@4
+D3DKMTFlipOverlay@4=NtGdiDdDDIFlipOverlay@4
+D3DKMTGetContextSchedulingPriority@4=NtGdiDdDDIGetContextSchedulingPriority@4
+D3DKMTGetDeviceState@4=NtGdiDdDDIGetDeviceState@4
+D3DKMTGetDisplayModeList@4=NtGdiDdDDIGetDisplayModeList@4
+D3DKMTGetMultisampleMethodList@4=NtGdiDdDDIGetMultisampleMethodList@4
+D3DKMTGetPresentHistory@4=NtGdiDdDDIGetPresentHistory@4
+D3DKMTGetProcessSchedulingPriorityClass@8=NtGdiDdDDIGetProcessSchedulingPriorityClass@8
+D3DKMTGetRuntimeData@4=NtGdiDdDDIGetRuntimeData@4
+D3DKMTGetScanLine@4=NtGdiDdDDIGetScanLine@4
+D3DKMTGetSharedPrimaryHandle@4=NtGdiDdDDIGetSharedPrimaryHandle@4
+D3DKMTInvalidateActiveVidPn@4=NtGdiDdDDIInvalidateActiveVidPn@4
+D3DKMTLock@4=NtGdiDdDDILock@4
+D3DKMTOpenAdapterFromDeviceName@4=NtGdiDdDDIOpenAdapterFromDeviceName@4
+D3DKMTOpenAdapterFromGdiDisplayName@4
+D3DKMTOpenAdapterFromHdc@4=NtGdiDdDDIOpenAdapterFromHdc@4
+D3DKMTOpenResource@4=NtGdiDdDDIOpenResource@4
+D3DKMTPollDisplayChildren@4=NtGdiDdDDIPollDisplayChildren@4
+D3DKMTPresent@4=NtGdiDdDDIPresent@4
+D3DKMTQueryAdapterInfo@=NtGdiDdDDIQueryAdapterInfo@4
+D3DKMTQueryAllocationResidency@4=NtGdiDdDDIQueryAllocationResidency@4
+D3DKMTQueryResourceInfo@4=NtGdiDdDDIQueryResourceInfo@4
+D3DKMTQueryStatistics@4=NtGdiDdDDIQueryStatistics@4
+D3DKMTReleaseProcessVidPnSourceOwners@4=NtGdiDdDDIReleaseProcessVidPnSourceOwners@4
+D3DKMTRender@4=NtGdiDdDDIRender@4
+D3DKMTSetAllocationPriority@4=NtGdiDdDDISetAllocationPriority@4
+D3DKMTSetContextSchedulingPriority@4=NtGdiDdDDISetContextSchedulingPriority@4
+D3DKMTSetDisplayMode@4=NtGdiDdDDISetDisplayMode@4
+D3DKMTSetDisplayPrivateDriverFormat@4=NtGdiDdDDISetDisplayPrivateDriverFormat@4
+D3DKMTSetGammaRamp@4=NtGdiDdDDISetGammaRamp@4
+D3DKMTSetProcessSchedulingPriorityClass@8=NtGdiDdDDISetProcessSchedulingPriorityClass@8
+D3DKMTSetQueuedLimit@4=NtGdiDdDDISetQueuedLimit@4
+D3DKMTSetVidPnSourceOwner@4=NtGdiDdDDISetVidPnSourceOwner@4
+D3DKMTSharedPrimaryLockNotification@4=NtGdiDdDDISharedPrimaryLockNotification@4
+D3DKMTSharedPrimaryUnLockNotification@4=NtGdiDdDDISharedPrimaryUnLockNotification@4
+D3DKMTSignalSynchronizationObject@4=NtGdiDdDDISignalSynchronizationObject@4
+D3DKMTUnlock@4=NtGdiDdDDIUnlock@4
+D3DKMTUpdateOverlay@4=NtGdiDdDDIUpdateOverlay@4
+D3DKMTWaitForIdle@4=NtGdiDdDDIWaitForIdle@4
+D3DKMTWaitForSynchronizationObject@4=NtGdiDdDDIWaitForSynchronizationObject@4
+D3DKMTWaitForVerticalBlankEvent@4=NtGdiDdDDIWaitForVerticalBlankEvent@4
+DDCCIGetCapabilitiesString@12=NtGdiDDCCIGetCapabilitiesString@12
+DDCCIGetCapabilitiesStringLength@8=NtGdiDDCCIGetCapabilitiesStringLength@8
+DDCCIGetTimingReport@8=NtGdiDDCCIGetTimingReport@8
+DDCCIGetVCPFeature@20=NtGdiDDCCIGetVCPFeature@20
+DDCCISaveCurrentSettings@4=NtGdiDDCCISaveCurrentSettings@4
+DDCCISetVCPFeature@12=NtGdiDDCCISetVCPFeature@12
DPtoLP@12
DdEntry0@24=NtGdiDxgGenericThunk@24
DdEntry10@8=NtGdiDdBeginMoCompFrame@8
@@ -161,10 +226,10 @@
EndFormPage@4
EndPage@4
EndPath@4
-EngAcquireSemaphore@4
+EngAcquireSemaphore@4=EnterCriticalSection@4
EngAlphaBlend@28=NtGdiEngAlphaBlend@28
EngAssociateSurface@12=NtGdiEngAssociateSurface@12
-EngBitBlt=NtGdiEngBitBlt@44
+EngBitBlt@44=NtGdiEngBitBlt@44
EngCheckAbort@4=NtGdiEngCheckAbort@4
EngComputeGlyphSet@12
EngCopyBits@24=NtGdiEngCopyBits@24
@@ -182,7 +247,7 @@
EngEraseSurface@12=NtGdiEngEraseSurface@12
EngFillPath@28=NtGdiEngFillPath@28
EngFindResource@16
-EngFreeModule@4
+EngFreeModule@4=FreeLibrary@4
EngGetCurrentCodePage@8
EngGetDriverName@4
EngGetPrinterDataFileName@4
@@ -197,7 +262,7 @@
EngPlgBlt@44=NtGdiEngPlgBlt@44
EngQueryEMFInfo@8
EngQueryLocalTime@4
-EngReleaseSemaphore@4
+EngReleaseSemaphore@4=LeaveCriticalSection@4
EngStretchBlt@44=NtGdiEngStretchBlt@44
EngStretchBltROP@52=NtGdiEngStretchBltROP@52
EngStrokeAndFillPath@40=NtGdiEngStrokeAndFillPath@40
Modified: branches/win32k-gdi-dx/dll/win32/gdi32/objects/eng.c
URL:
http://svn.reactos.org/svn/reactos/branches/win32k-gdi-dx/dll/win32/gdi32/o…
==============================================================================
--- branches/win32k-gdi-dx/dll/win32/gdi32/objects/eng.c [iso-8859-1] (original)
+++ branches/win32k-gdi-dx/dll/win32/gdi32/objects/eng.c [iso-8859-1] Sun May 18 14:17:53
2008
@@ -9,15 +9,7 @@
#include "precomp.h"
-/*
- * @implemented
- */
-VOID
-STDCALL
-EngAcquireSemaphore ( IN HSEMAPHORE hsem )
-{
- RtlEnterCriticalSection((PRTL_CRITICAL_SECTION)hsem);
-}
+
/*
@@ -123,15 +115,6 @@
*pulSize = Size;
return (PVOID) Lock;
-}
-
-/*
- * @implemented
- */
-VOID STDCALL
-EngFreeModule(HANDLE h)
-{
- FreeLibrary(h);
}
/*
@@ -227,19 +210,6 @@
/*
* @implemented
*/
-VOID
-STDCALL
-EngReleaseSemaphore ( IN HSEMAPHORE hsem )
-{
- RtlLeaveCriticalSection( (PRTL_CRITICAL_SECTION) hsem);
-}
-
-
-
-
-/*
- * @implemented
- */
INT
STDCALL
EngWideCharToMultiByte( UINT CodePage,