X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=support%2Fsupportw.c;h=247f310c23b95a26c7fd1ae7460fe672766ab1a6;hb=6ac36d6c40a2dd0ab2800c23d08894856b193c2f;hp=9c843e4c4f9ec73079e8994471ef5f07e2fb2808;hpb=948dbf8d4581ac17f5420cc4f7dc375e3c502576;p=mono.git diff --git a/support/supportw.c b/support/supportw.c index 9c843e4c4f9..247f310c23b 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; @@ -159,19 +158,30 @@ FindWindowExW (gpointer hwndParent, gpointer hwndChildAfter, const char *classw, } int -SetWindowPos (gpointer hwnd, gpointer hwndInsertAfter, int x, int y, int cx, int cy, uint flags) +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 0x%x 0x%x to [%d,%dx%d,%d] %d\n", hwnd, hwndInsertAfter, x, y, cx, cy, 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, uint msg, gpointer wparam, gpointer lparam) +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, 0x%x, 0x%x)\n", hwnd, msg, wparam, 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; }