summaryrefslogtreecommitdiffhomepage
path: root/src/internal/gdi/gdi.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-06 13:37:22 -0400
committermidipix <writeonce@midipix.org>2016-07-21 03:47:25 -0400
commit3882290b0246d8ba1a63ff4000303804b344570e (patch)
tree497666af2d2260823969169da44d505c4bd786ae /src/internal/gdi/gdi.h
parent64c88753aee1bbfeee00f9eeb5c561b839873f8d (diff)
downloadptycon-3882290b0246d8ba1a63ff4000303804b344570e.tar.bz2
ptycon-3882290b0246d8ba1a63ff4000303804b344570e.tar.xz
free-standing environment: added minimal gdi definitions and accessor table.
Diffstat (limited to 'src/internal/gdi/gdi.h')
-rw-r--r--src/internal/gdi/gdi.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/internal/gdi/gdi.h b/src/internal/gdi/gdi.h
new file mode 100644
index 0000000..f68c292
--- /dev/null
+++ b/src/internal/gdi/gdi.h
@@ -0,0 +1,23 @@
+#ifndef GDI_H
+#define GDI_H
+
+#include <psxtypes/psxtypes.h>
+#include "gdi_window.h"
+#include "gdi_system.h"
+
+typedef struct _gdi_vtbl {
+ gdi_get_system_metrics * get_system_metrics;
+ gdi_is_iconic * is_iconic;
+ gdi_is_zoomed * is_zoomed;
+ gdi_peek_message_utf16 * peek_message;
+ gdi_move_window * move_window;
+ gdi_set_window_pos * set_window_pos;
+ gdi_get_window_rect * get_window_rect;
+ gdi_get_client_rect * get_client_rect;
+ gdi_get_desktop_window * get_desktop_window;
+ gdi_set_window_long_ptr_utf16 * set_window_long_ptr;
+} gdi_vtbl;
+
+int32_t __fastcall gdi_vtbl_init(gdi_vtbl *);
+
+#endif