[ros-diffs] [gadamopoulos] 53468: [Win32k] - remove some more unneeded functions

gadamopoulos at svn.reactos.org gadamopoulos at svn.reactos.org
Sat Aug 27 12:55:41 UTC 2011


Author: gadamopoulos
Date: Sat Aug 27 12:55:41 2011
New Revision: 53468

URL: http://svn.reactos.org/svn/reactos?rev=53468&view=rev
Log:
[Win32k]
- remove some more unneeded functions

Modified:
    trunk/reactos/subsystems/win32/win32k/eng/xlate.c
    trunk/reactos/subsystems/win32/win32k/include/accelerator.h
    trunk/reactos/subsystems/win32/win32k/include/guicheck.h
    trunk/reactos/subsystems/win32/win32k/include/monitor.h
    trunk/reactos/subsystems/win32/win32k/include/xlateobj.h
    trunk/reactos/subsystems/win32/win32k/main/dllmain.c
    trunk/reactos/subsystems/win32/win32k/ntuser/accelerator.c
    trunk/reactos/subsystems/win32/win32k/ntuser/guicheck.c
    trunk/reactos/subsystems/win32/win32k/ntuser/monitor.c

Modified: trunk/reactos/subsystems/win32/win32k/eng/xlate.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/eng/xlate.c?rev=53468&r1=53467&r2=53468&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/xlate.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/xlate.c [iso-8859-1] Sat Aug 27 12:55:41 2011
@@ -614,15 +614,6 @@
     pexlo->xlo.pulXlate = pexlo->aulXlate;
 }
 
-INIT_FUNCTION
-NTSTATUS
-NTAPI
-InitXlateImpl(VOID)
-{
-    return STATUS_SUCCESS;
-}
-
-
 /** Public DDI Functions ******************************************************/
 
 #undef XLATEOBJ_iXlate

Modified: trunk/reactos/subsystems/win32/win32k/include/accelerator.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/include/accelerator.h?rev=53468&r1=53467&r2=53468&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/accelerator.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/include/accelerator.h [iso-8859-1] Sat Aug 27 12:55:41 2011
@@ -7,6 +7,4 @@
   LPACCEL Table;
 } ACCELERATOR_TABLE, *PACCELERATOR_TABLE;
 
-INIT_FUNCTION NTSTATUS NTAPI InitAcceleratorImpl(VOID);
-NTSTATUS FASTCALL CleanupAcceleratorImpl(VOID);
 PACCELERATOR_TABLE FASTCALL UserGetAccelObject(HACCEL);

Modified: trunk/reactos/subsystems/win32/win32k/include/guicheck.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/include/guicheck.h?rev=53468&r1=53467&r2=53468&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/guicheck.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/include/guicheck.h [iso-8859-1] Sat Aug 27 12:55:41 2011
@@ -4,9 +4,4 @@
 BOOL FASTCALL IntCreatePrimarySurface(VOID);
 VOID FASTCALL IntDestroyPrimarySurface(VOID);
 
-INIT_FUNCTION
-NTSTATUS
-NTAPI
-InitGuiCheckImpl (VOID);
-
 /* EOF */

Modified: trunk/reactos/subsystems/win32/win32k/include/monitor.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/include/monitor.h?rev=53468&r1=53467&r2=53468&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/monitor.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/include/monitor.h [iso-8859-1] Sat Aug 27 12:55:41 2011
@@ -31,13 +31,6 @@
     struct _MONITOR* Prev; //Blink;
 } MONITOR, *PMONITOR;
 
-/* functions */
-INIT_FUNCTION
-NTSTATUS
-NTAPI
-InitMonitorImpl(VOID);
-NTSTATUS CleanupMonitorImpl(VOID);
-
 NTSTATUS IntAttachMonitor(PDEVOBJ *pGdiDevice, ULONG DisplayNumber);
 NTSTATUS IntDetachMonitor(PDEVOBJ *pGdiDevice);
 NTSTATUS IntUpdateMonitorSize(IN PDEVOBJ *pGdiDevice);

Modified: trunk/reactos/subsystems/win32/win32k/include/xlateobj.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/include/xlateobj.h?rev=53468&r1=53467&r2=53468&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/xlateobj.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/include/xlateobj.h [iso-8859-1] Sat Aug 27 12:55:41 2011
@@ -45,9 +45,3 @@
 VOID NTAPI EXLATEOBJ_vInitXlateFromDCs(PEXLATEOBJ pexlo, PDC pdcSrc, PDC pdcDst);
 VOID NTAPI EXLATEOBJ_vInitSrcMonoXlate(PEXLATEOBJ pexlo, PPALETTE ppalDst, ULONG Color0, ULONG Color1);
 VOID NTAPI EXLATEOBJ_vCleanup(PEXLATEOBJ pexlo);
-INIT_FUNCTION
-NTSTATUS
-NTAPI
-InitXlateImpl(VOID);
-
-//#define XLATEOBJ_iXlate(pxo, Color) ((EXLATEOBJ*)pxo)->pfnXlate(pxo, Color)

Modified: trunk/reactos/subsystems/win32/win32k/main/dllmain.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/main/dllmain.c?rev=53468&r1=53467&r2=53468&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/main/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/main/dllmain.c [iso-8859-1] Sat Aug 27 12:55:41 2011
@@ -172,7 +172,6 @@
 
         IntCleanupMenus(Process, Win32Process);
         IntCleanupCurIcons(Process, Win32Process);
-        CleanupMonitorImpl();
 
         /* no process windows should exist at this point, or the function will assert! */
         DestroyProcessClasses(Win32Process);
@@ -574,7 +573,6 @@
     CreateStockObjects();
     CreateSysColorObjects();
 
-    NT_ROF(InitXlateImpl());
     NT_ROF(InitPDEVImpl());
     NT_ROF(InitLDEVImpl());
     NT_ROF(InitDeviceImpl());
@@ -585,11 +583,8 @@
     NT_ROF(InitDesktopImpl());
     NT_ROF(InitInputImpl());
     NT_ROF(InitKeyboardImpl());
-    NT_ROF(InitMonitorImpl());
     NT_ROF(MsqInitializeImpl());
     NT_ROF(InitTimerImpl());
-    NT_ROF(InitAcceleratorImpl());
-    NT_ROF(InitGuiCheckImpl());
 
     /* Initialize FreeType library */
     if (!InitFontSupport())

Modified: trunk/reactos/subsystems/win32/win32k/ntuser/accelerator.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/accelerator.c?rev=53468&r1=53467&r2=53468&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/accelerator.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/accelerator.c [iso-8859-1] Sat Aug 27 12:55:41 2011
@@ -39,21 +39,6 @@
 UINT FASTCALL IntGetMenuState( HMENU hMenu, UINT uId, UINT uFlags);
 
 /* FUNCTIONS *****************************************************************/
-
-INIT_FUNCTION
-NTSTATUS
-NTAPI
-InitAcceleratorImpl(VOID)
-{
-   return(STATUS_SUCCESS);
-}
-
-NTSTATUS FASTCALL
-CleanupAcceleratorImpl(VOID)
-{
-   return(STATUS_SUCCESS);
-}
-
 
 PACCELERATOR_TABLE FASTCALL UserGetAccelObject(HACCEL hAccel)
 {

Modified: trunk/reactos/subsystems/win32/win32k/ntuser/guicheck.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/guicheck.c?rev=53468&r1=53467&r2=53468&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/guicheck.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/guicheck.c [iso-8859-1] Sat Aug 27 12:55:41 2011
@@ -122,12 +122,4 @@
    }
 }
 
-INIT_FUNCTION
-NTSTATUS
-NTAPI
-InitGuiCheckImpl (VOID)
-{
-   return STATUS_SUCCESS;
-}
-
 /* EOF */

Modified: trunk/reactos/subsystems/win32/win32k/ntuser/monitor.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/monitor.c?rev=53468&r1=53467&r2=53468&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/monitor.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/monitor.c [iso-8859-1] Sat Aug 27 12:55:41 2011
@@ -28,27 +28,6 @@
 /* list of monitors */
 static PMONITOR gMonitorList = NULL;
 
-/* INITALIZATION FUNCTIONS ****************************************************/
-
-INIT_FUNCTION
-NTSTATUS
-NTAPI
-InitMonitorImpl()
-{
-    TRACE("Initializing monitor implementation...\n");
-
-    return STATUS_SUCCESS;
-}
-
-NTSTATUS
-CleanupMonitorImpl()
-{
-    TRACE("Cleaning up monitor implementation...\n");
-    /* FIXME: Destroy monitor objects? */
-
-    return STATUS_SUCCESS;
-}
-
 /* PRIVATE FUNCTIONS **********************************************************/
 
 /* IntCreateMonitorObject




More information about the Ros-diffs mailing list