X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=support%2Fsupportw.c;h=b5fdae354c22ba3e820da8c13b5b2ae9e7db394d;hb=34866ac4c20c781f10c40fe6f6fe0c39733fd946;hp=5e3daa4f2c57fd09530cf91fbb3089ea04c8dbae;hpb=742b66ab330f401689cc5b22ee4e4f08447e36dd;p=mono.git diff --git a/support/supportw.c b/support/supportw.c index 5e3daa4f2c5..b5fdae354c2 100644 --- a/support/supportw.c +++ b/support/supportw.c @@ -18,7 +18,6 @@ #include "mono/metadata/class.h" #include "mono/metadata/object.h" #include "mono/metadata/tabledefs.h" -#include "mono/io-layer/wapi.h" typedef struct { const char *fname; @@ -53,7 +52,7 @@ get_function (const char *name) compare_names); if (ptr == NULL) { - g_warning ("Function '%s' not not found.", name); + g_warning ("Function '%s' not found.", name); return NULL; } @@ -158,4 +157,31 @@ FindWindowExW (gpointer hwndParent, gpointer hwndChildAfter, const char *classw, return func (hwndParent, hwndChildAfter, classw, window); } +int +SetWindowPos (gpointer hwnd, gpointer hwndInsertAfter, int x, int y, int cx, int cy, unsigned int flags); +int +SetWindowPos (gpointer hwnd, gpointer hwndInsertAfter, int x, int y, int cx, int cy, unsigned int flags) +{ + fprintf (stderr, "SetWindowPos %p %p to [%d,%dx%d,%d] %d\n", hwnd, hwndInsertAfter, x, y, cx, cy, flags); + return 1; +} + +int +SendMessageA (gpointer hwnd, unsigned int msg, gpointer wparam, gpointer lparam); + +int +SendMessageA (gpointer hwnd, unsigned int msg, gpointer wparam, gpointer lparam) +{ + fprintf (stderr, "SendMessage (%d, 0x%x, %p, %p)\n", (int) GPOINTER_TO_INT (hwnd), msg, wparam, lparam); + return 0; +} + +int +GetWindowLongA (gpointer hwnd, int a); + +int +GetWindowLongA (gpointer hwnd, int a) +{ + return 0; +}