[ros-diffs] [greatlrd] 33595: 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.

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Sun May 18 21:17:54 CEST 2008


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/gdi32.def?rev=33595&r1=33594&r2=33595&view=diff
==============================================================================
--- 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 at 12
 CombineRgn at 16
 CombineTransform at 12=NtGdiCombineTransform at 12
+ConfigureOPMProtectedOutput at 16=NtGdiConfigureOPMProtectedOutput at 16
 CopyEnhMetaFileA at 8
 CopyEnhMetaFileW at 8
 CopyMetaFileA at 8
@@ -76,6 +77,7 @@
 CreateICW at 16
 CreateMetaFileA at 4
 CreateMetaFileW at 4
+CreateOPMProtectedOutputs at 20=NtGdiCreateOPMProtectedOutputs at 20
 CreatePalette at 4
 CreatePatternBrush at 4
 CreatePen at 12
@@ -88,6 +90,69 @@
 CreateScalableFontResourceA at 16
 CreateScalableFontResourceW at 16
 CreateSolidBrush at 4
+D3DKMTCheckExclusiveOwnership at 0=NtGdiDdDDICheckExclusiveOwnership at 0
+D3DKMTCheckMonitorPowerState at 4=NtGdiDdDDICheckMonitorPowerState at 4
+D3DKMTCheckOcclusion at 4=NtGdiDdDDICheckOcclusion at 4
+D3DKMTCloseAdapter at 4=NtGdiDdDDICloseAdapter at 4
+D3DKMTCreateAllocation at 4=NtGdiDdDDICreateAllocation at 4
+D3DKMTCreateContext at 4=NtGdiDdDDICreateContext at 4
+D3DKMTCreateDCFromMemory at 4=NtGdiDdDDICreateDCFromMemory at 4
+D3DKMTCreateDevice at 4=NtGdiDdDDICreateDevice at 4
+D3DKMTCreateOverlay at 4=NtGdiDdDDICreateOverlay at 4
+D3DKMTCreateSynchronizationObject at 4=NtGdiDdDDICreateSynchronizationObject at 4
+D3DKMTDestroyAllocation at 4=NtGdiDdDDIDestroyAllocation at 4
+D3DKMTDestroyContext at 4=NtGdiDdDDIDestroyContext at 4
+D3DKMTDestroyDCFromMemory at 4=NtGdiDdDDIDestroyDCFromMemory at 4
+D3DKMTDestroyDevice at 4=NtGdiDdDDIDestroyDevice at 4
+D3DKMTDestroyOverlay at 4=NtGdiDdDDIDestroyOverlay at 4
+D3DKMTDestroySynchronizationObject at 4=NtGdiDdDDIDestroySynchronizationObject at 4
+D3DKMTEscape at 4=NtGdiDdDDIEscape at 4
+D3DKMTFlipOverlay at 4=NtGdiDdDDIFlipOverlay at 4
+D3DKMTGetContextSchedulingPriority at 4=NtGdiDdDDIGetContextSchedulingPriority at 4
+D3DKMTGetDeviceState at 4=NtGdiDdDDIGetDeviceState at 4
+D3DKMTGetDisplayModeList at 4=NtGdiDdDDIGetDisplayModeList at 4
+D3DKMTGetMultisampleMethodList at 4=NtGdiDdDDIGetMultisampleMethodList at 4
+D3DKMTGetPresentHistory at 4=NtGdiDdDDIGetPresentHistory at 4
+D3DKMTGetProcessSchedulingPriorityClass at 8=NtGdiDdDDIGetProcessSchedulingPriorityClass at 8
+D3DKMTGetRuntimeData at 4=NtGdiDdDDIGetRuntimeData at 4
+D3DKMTGetScanLine at 4=NtGdiDdDDIGetScanLine at 4
+D3DKMTGetSharedPrimaryHandle at 4=NtGdiDdDDIGetSharedPrimaryHandle at 4
+D3DKMTInvalidateActiveVidPn at 4=NtGdiDdDDIInvalidateActiveVidPn at 4
+D3DKMTLock at 4=NtGdiDdDDILock at 4
+D3DKMTOpenAdapterFromDeviceName at 4=NtGdiDdDDIOpenAdapterFromDeviceName at 4
+D3DKMTOpenAdapterFromGdiDisplayName at 4
+D3DKMTOpenAdapterFromHdc at 4=NtGdiDdDDIOpenAdapterFromHdc at 4
+D3DKMTOpenResource at 4=NtGdiDdDDIOpenResource at 4
+D3DKMTPollDisplayChildren at 4=NtGdiDdDDIPollDisplayChildren at 4
+D3DKMTPresent at 4=NtGdiDdDDIPresent at 4
+D3DKMTQueryAdapterInfo@=NtGdiDdDDIQueryAdapterInfo at 4
+D3DKMTQueryAllocationResidency at 4=NtGdiDdDDIQueryAllocationResidency at 4
+D3DKMTQueryResourceInfo at 4=NtGdiDdDDIQueryResourceInfo at 4
+D3DKMTQueryStatistics at 4=NtGdiDdDDIQueryStatistics at 4
+D3DKMTReleaseProcessVidPnSourceOwners at 4=NtGdiDdDDIReleaseProcessVidPnSourceOwners at 4
+D3DKMTRender at 4=NtGdiDdDDIRender at 4
+D3DKMTSetAllocationPriority at 4=NtGdiDdDDISetAllocationPriority at 4
+D3DKMTSetContextSchedulingPriority at 4=NtGdiDdDDISetContextSchedulingPriority at 4
+D3DKMTSetDisplayMode at 4=NtGdiDdDDISetDisplayMode at 4
+D3DKMTSetDisplayPrivateDriverFormat at 4=NtGdiDdDDISetDisplayPrivateDriverFormat at 4
+D3DKMTSetGammaRamp at 4=NtGdiDdDDISetGammaRamp at 4
+D3DKMTSetProcessSchedulingPriorityClass at 8=NtGdiDdDDISetProcessSchedulingPriorityClass at 8
+D3DKMTSetQueuedLimit at 4=NtGdiDdDDISetQueuedLimit at 4
+D3DKMTSetVidPnSourceOwner at 4=NtGdiDdDDISetVidPnSourceOwner at 4
+D3DKMTSharedPrimaryLockNotification at 4=NtGdiDdDDISharedPrimaryLockNotification at 4
+D3DKMTSharedPrimaryUnLockNotification at 4=NtGdiDdDDISharedPrimaryUnLockNotification at 4
+D3DKMTSignalSynchronizationObject at 4=NtGdiDdDDISignalSynchronizationObject at 4
+D3DKMTUnlock at 4=NtGdiDdDDIUnlock at 4
+D3DKMTUpdateOverlay at 4=NtGdiDdDDIUpdateOverlay at 4
+D3DKMTWaitForIdle at 4=NtGdiDdDDIWaitForIdle at 4
+D3DKMTWaitForSynchronizationObject at 4=NtGdiDdDDIWaitForSynchronizationObject at 4
+D3DKMTWaitForVerticalBlankEvent at 4=NtGdiDdDDIWaitForVerticalBlankEvent at 4
+DDCCIGetCapabilitiesString at 12=NtGdiDDCCIGetCapabilitiesString at 12
+DDCCIGetCapabilitiesStringLength at 8=NtGdiDDCCIGetCapabilitiesStringLength at 8
+DDCCIGetTimingReport at 8=NtGdiDDCCIGetTimingReport at 8
+DDCCIGetVCPFeature at 20=NtGdiDDCCIGetVCPFeature at 20
+DDCCISaveCurrentSettings at 4=NtGdiDDCCISaveCurrentSettings at 4
+DDCCISetVCPFeature at 12=NtGdiDDCCISetVCPFeature at 12
 DPtoLP at 12
 DdEntry0 at 24=NtGdiDxgGenericThunk at 24
 DdEntry10 at 8=NtGdiDdBeginMoCompFrame at 8
@@ -161,10 +226,10 @@
 EndFormPage at 4
 EndPage at 4
 EndPath at 4
-EngAcquireSemaphore at 4
+EngAcquireSemaphore at 4=EnterCriticalSection at 4
 EngAlphaBlend at 28=NtGdiEngAlphaBlend at 28
 EngAssociateSurface at 12=NtGdiEngAssociateSurface at 12
-EngBitBlt=NtGdiEngBitBlt at 44
+EngBitBlt at 44=NtGdiEngBitBlt at 44
 EngCheckAbort at 4=NtGdiEngCheckAbort at 4
 EngComputeGlyphSet at 12
 EngCopyBits at 24=NtGdiEngCopyBits at 24
@@ -182,7 +247,7 @@
 EngEraseSurface at 12=NtGdiEngEraseSurface at 12
 EngFillPath at 28=NtGdiEngFillPath at 28
 EngFindResource at 16
-EngFreeModule at 4
+EngFreeModule at 4=FreeLibrary at 4
 EngGetCurrentCodePage at 8
 EngGetDriverName at 4
 EngGetPrinterDataFileName at 4
@@ -197,7 +262,7 @@
 EngPlgBlt at 44=NtGdiEngPlgBlt at 44
 EngQueryEMFInfo at 8
 EngQueryLocalTime at 4
-EngReleaseSemaphore at 4
+EngReleaseSemaphore at 4=LeaveCriticalSection at 4
 EngStretchBlt at 44=NtGdiEngStretchBlt at 44
 EngStretchBltROP at 52=NtGdiEngStretchBltROP at 52
 EngStrokeAndFillPath at 40=NtGdiEngStrokeAndFillPath at 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/objects/eng.c?rev=33595&r1=33594&r2=33595&view=diff
==============================================================================
--- 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,



More information about the Ros-diffs mailing list