diff options
author | Javier <dev.git@javispedro.com> | 2022-04-02 01:14:57 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-02 01:14:57 +0200 |
commit | 3e39df4a4185f947d1af564aca265c0f6b51c9ec (patch) | |
tree | 453b4c1cb56cf029ebe96a02f91075912e64d0eb /int2fwin.h | |
parent | a816d1a09b1045fb5c155ac73f3231fcf9d93180 (diff) | |
download | vbados-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.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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 }; |