aboutsummaryrefslogtreecommitdiff
path: root/int2fwin.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-02 01:14:57 +0200
committerJavier <dev.git@javispedro.com>2022-04-02 01:14:57 +0200
commit3e39df4a4185f947d1af564aca265c0f6b51c9ec (patch)
tree453b4c1cb56cf029ebe96a02f91075912e64d0eb /int2fwin.h
parenta816d1a09b1045fb5c155ac73f3231fcf9d93180 (diff)
downloadvbados-3e39df4a4185f947d1af564aca265c0f6b51c9ec.tar.gz
vbados-3e39df4a4185f947d1af564aca265c0f6b51c9ec.zip
implement graphic cursor for CGA modes, wheel mouse detection, int2f hooking, simplify w16 driver
Diffstat (limited to 'int2fwin.h')
-rw-r--r--int2fwin.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/int2fwin.h b/int2fwin.h
index 7845293..e8540dc 100644
--- a/int2fwin.h
+++ b/int2fwin.h
@@ -24,10 +24,27 @@
#include <stdint.h>
#include <dos.h>
+struct win386_instance_item
+{
+ void __far * ptr;
+ uint16_t size;
+};
+
+struct win386_startup_info
+{
+ uint16_t version;
+ struct win386_startup_info __far * next;
+ char __far * device_driver;
+ void __far * device_driver_data;
+ struct win386_instance_item __far *instance_data;
+};
+
typedef void (__far *LPFN)(void);
enum int2f_functions
{
+ INT2F_NOTIFY_WIN386_STARTUP = 0x1605,
+
INT2F_NOTIFY_BACKGROUND_SWITCH = 0x4001,
INT2F_NOTIFY_FOREGROUND_SWITCH = 0x4002
};