Commit in reactos/lib/rosky/libskygi on MAIN
libskygi.c+10-81.8 -> 1.9
stubs.c+7-71.7 -> 1.8
+17-15
2 modified files
fixed a few parameters

reactos/lib/rosky/libskygi
libskygi.c 1.8 -> 1.9
diff -u -r1.8 -r1.9
--- libskygi.c	14 Aug 2004 00:44:06 -0000	1.8
+++ libskygi.c	14 Aug 2004 01:03:38 -0000	1.9
@@ -16,7 +16,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-/* $Id: libskygi.c,v 1.8 2004/08/14 00:44:06 weiden Exp $
+/* $Id: libskygi.c,v 1.9 2004/08/14 01:03:38 weiden Exp $
  *
  * PROJECT:         SkyOS GI library
  * FILE:            lib/libskygi/libskygi.c
@@ -1018,11 +1018,11 @@
  * @implemented
  */
 widget_menu* __cdecl
-GI_create_menu(HANDLE Window)
+GI_create_menu(s_window *win)
 {
    PSKY_MENU Menu;
 
-   DBG("GI_create_menu(0x%x)\n", Window);
+   DBG("GI_create_menu(0x%x)\n", win);
 
    Menu = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(SKY_MENU));
    if (Menu == NULL)
@@ -1038,8 +1038,10 @@
       return NULL;
    }
 
-   if (Window)
-      SetMenu(((PSKY_WINDOW)Window)->hWnd, Menu->hMenu);
+   if (win)
+   {
+      SetMenu(((PSKY_WINDOW)win)->hWnd, Menu->hMenu);
+   }
 
    return (widget_menu *)Menu;
 }
@@ -1127,7 +1129,7 @@
  * @unimplemented
  */
 int __cdecl
-GI_messagebox(HANDLE Window,
+GI_messagebox(s_window *win,
               unsigned int Flags,
               char *Title,
               char *Fmt,
@@ -1137,14 +1139,14 @@
    va_list ArgList;
 
    DBG("GI_messagebox(0x%x, 0x%x, 0x%x, 0x%x, ...)\n",
-       Window, Flags, Title, Fmt);
+       win, Flags, Title, Fmt);
 
    va_start(ArgList, Fmt);
    _vsnprintf(Buffer, sizeof(Buffer) / sizeof(Buffer[0]), Fmt, ArgList);
    va_end(ArgList);
 
    /** @todo Convert flags and fix return value! */
-   MessageBoxA(Window ? ((PSKY_WINDOW)Window)->hWnd : NULL, 
+   MessageBoxA(win ? ((PSKY_WINDOW)win)->hWnd : NULL,
                Buffer, Title, MB_OK);
 
    return 1;

reactos/lib/rosky/libskygi
stubs.c 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- stubs.c	13 Aug 2004 20:14:40 -0000	1.7
+++ stubs.c	14 Aug 2004 01:03:38 -0000	1.8
@@ -1,4 +1,4 @@
-/* $Id: stubs.c,v 1.7 2004/08/13 20:14:40 navaraf Exp $
+/* $Id: stubs.c,v 1.8 2004/08/14 01:03:38 weiden Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         SkyOS GI library
@@ -18,10 +18,10 @@
  * @unimplemented
  */
 int __cdecl
-DefaultWindowFunc(HANDLE hWin,
+DefaultWindowFunc(s_window *win,
                   s_gi_msg *pMsg)
 {
-  STUB("DefaultWindowFunc(0x%x, 0x%x) returns 0!\n", hWin, pMsg);
+  STUB("DefaultWindowFunc(0x%x, 0x%x) returns 0!\n", win, pMsg);
   return 0;
 }
 
@@ -162,9 +162,9 @@
  * @unimplemented
  */
 int __cdecl
-GI_EnableMouseTracking(HANDLE hWnd)
+GI_EnableMouseTracking(s_window *win)
 {
-  STUB("GI_EnableMouseTracking(0x%x) returns 0!\n", hWnd);
+  STUB("GI_EnableMouseTracking(0x%x) returns 0!\n", win);
   return 0;
 }
 
@@ -223,14 +223,14 @@
  * @unimplemented
  */
 int __cdecl
-GI_set_dimension(HANDLE hWnd,
+GI_set_dimension(s_window *win,
                  int notify,
                  int x1,
                  int y1,
                  unsigned int width,
                  unsigned int height)
 {
-  STUB("GI_set_dimension(0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x) returns 0!\n", hWnd, notify, x1, y1, width, height);
+  STUB("GI_set_dimension(0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x) returns 0!\n", win, notify, x1, y1, width, height);
   return 0;
 }
 
CVSspam 0.2.8