diff options
author | Alex Rønne Petersen <alexrp@xamarin.com> | 2014-06-07 20:03:31 +0400 |
---|---|---|
committer | Alex Rønne Petersen <alexrp@xamarin.com> | 2014-06-07 20:03:31 +0400 |
commit | b45527f44b8b38dff4ed3941411a24f5fe1a9287 (patch) | |
tree | 37f8baefe65f8bcaa21b49b9c18fa7df05669eea /support | |
parent | f35c6a0b07959ff4ca854db5a68d7ddbd7658ce4 (diff) |
Add missing prototypes to supportw.c.
Diffstat (limited to 'support')
-rw-r--r-- | support/supportw.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/support/supportw.c b/support/supportw.c index 49ed549c5d2..51b49697152 100644 --- a/support/supportw.c +++ b/support/supportw.c @@ -159,6 +159,9 @@ FindWindowExW (gpointer hwndParent, gpointer hwndChildAfter, const char *classw, } 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); @@ -166,6 +169,9 @@ SetWindowPos (gpointer hwnd, gpointer hwndInsertAfter, int x, int y, int cx, int } 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); @@ -173,6 +179,9 @@ SendMessageA (gpointer hwnd, unsigned int msg, gpointer wparam, gpointer lparam) } int +GetWindowLongA (gpointer hwnd, int a); + +int GetWindowLongA (gpointer hwnd, int a) { return 0; |