[ros-diffs] [jimtabor] 33425: Implement some stubs.

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Sun May 11 08:35:26 CEST 2008


Author: jimtabor
Date: Sun May 11 01:35:26 2008
New Revision: 33425

URL: http://svn.reactos.org/svn/reactos?rev=33425&view=rev
Log:
Implement some stubs.

Modified:
    trunk/reactos/subsystems/win32/win32k/stubs/stubs.c

Modified: trunk/reactos/subsystems/win32/win32k/stubs/stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/stubs/stubs.c?rev=33425&r1=33424&r2=33425&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/stubs/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/stubs/stubs.c [iso-8859-1] Sun May 11 01:35:26 2008
@@ -1257,7 +1257,7 @@
 }
 
 /*
- * @unimplemented
+ * @implemented
  */
 HBITMAP APIENTRY
 NtGdiEngCreateBitmap(IN SIZEL Size,
@@ -1266,13 +1266,16 @@
 		IN ULONG Flags,
 		IN PVOID Bits)
 {
-     UNIMPLEMENTED;
-    return NULL;
-}
-
-
-/*
- * @unimplemented
+    return EngCreateBitmap(Size,
+                          Width,
+                         Format,
+                          Flags,
+                           Bits);
+}
+
+
+/*
+ * @implemented
  */
 HPALETTE APIENTRY
 NtGdiEngCreatePalette(IN ULONG Mode,
@@ -1282,8 +1285,12 @@
 		 IN ULONG Green,
 		 IN ULONG Blue)
 {
-     UNIMPLEMENTED;
-    return NULL;
+    return EngCreatePalette( Mode,
+                        NumColors,
+                           Colors,
+                              Red,
+                            Green,
+                             Blue);
 }
 
 BOOL APIENTRY
@@ -1338,13 +1345,12 @@
 }
 
 /*
- * @unimplemented
+ * @implemented
  */
 BOOL APIENTRY
 NtGdiEngDeletePalette(IN HPALETTE Palette)
 {
-     UNIMPLEMENTED;
-    return FALSE;
+    return EngDeletePalette(Palette);
 }
 
 /*



More information about the Ros-diffs mailing list