Commit in reactos/subsys/win32k on MAIN
include/tags.h+31.1 -> 1.2
misc/driver.c+5-61.35 -> 1.36
+8-6
2 modified files
minor cleanup

reactos/subsys/win32k/include
tags.h 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- tags.h	19 Feb 2004 21:12:11 -0000	1.1
+++ tags.h	22 Feb 2004 12:06:42 -0000	1.2
@@ -41,4 +41,7 @@
 #define TAG_GDITEXT	TAG('T', 'X', 'T', 'O') /* text */
 #define TAG_FONT	TAG('F', 'N', 'T', 'O') /* font entry */
 
+/* misc */
+#define TAG_DRIVER  TAG('G', 'D', 'R', 'V') /* video drivers */
+
 #endif /* _WIN32K_TAGS_H */

reactos/subsys/win32k/misc
driver.c 1.35 -> 1.36
diff -u -r1.35 -r1.36
--- driver.c	8 Feb 2004 21:37:53 -0000	1.35
+++ driver.c	22 Feb 2004 12:06:43 -0000	1.36
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: driver.c,v 1.35 2004/02/08 21:37:53 weiden Exp $
+/* $Id: driver.c,v 1.36 2004/02/22 12:06:43 weiden Exp $
  * 
  * GDI Driver support routines
  * (mostly swiped from Wine)
@@ -34,12 +34,11 @@
 #include <ddk/winddi.h>
 #include <ddk/ntddvid.h>
 #include <rosrtl/string.h>
+#include <include/tags.h>
 
 #define NDEBUG
 #include <debug.h>
 
-#define DRIVER_TAG TAG('G', 'D', 'R', 'V')
-
 typedef struct _GRAPHICS_DRIVER
 {
   PWSTR  Name;
@@ -53,7 +52,7 @@
 
 BOOL DRIVER_RegisterDriver(LPCWSTR  Name, PGD_ENABLEDRIVER  EnableDriver)
 {
-  PGRAPHICS_DRIVER  Driver = ExAllocatePoolWithTag(NonPagedPool, sizeof(*Driver), DRIVER_TAG);
+  PGRAPHICS_DRIVER  Driver = ExAllocatePoolWithTag(NonPagedPool, sizeof(*Driver), TAG_DRIVER);
   DPRINT( "DRIVER_RegisterDriver( Name: %S )\n", Name );
   if (!Driver)  return  FALSE;
   Driver->ReferenceCount = 0;
@@ -62,7 +61,7 @@
   {
     Driver->Name = ExAllocatePoolWithTag(PagedPool,
                                          (wcslen(Name) + 1) * sizeof(WCHAR),
-                                         DRIVER_TAG);
+                                         TAG_DRIVER);
     wcscpy(Driver->Name, Name);
     Driver->Next  = DriverList;
     DriverList = Driver;
@@ -118,7 +117,7 @@
   {
     Size += sizeof(DefaultExtension) - sizeof(WCHAR);
   }
-  FullName = ExAllocatePoolWithTag(PagedPool, Size, DRIVER_TAG);
+  FullName = ExAllocatePoolWithTag(PagedPool, Size, TAG_DRIVER);
   if (NULL == FullName)
   {
     DPRINT1("Out of memory\n");
CVSspam 0.2.8