aboutsummaryrefslogtreecommitdiffstats
path: root/vmdahal.h
diff options
context:
space:
mode:
authorJaroslav Hensl <jara@hensl.cz>2024-11-20 00:08:47 +0100
committerJaroslav Hensl <jara@hensl.cz>2024-11-20 00:08:47 +0100
commit12ce43bf38e0c92c6565a4d3f91d2c9a7b230f04 (patch)
tree65dc73453514388c3297ac380b8fb4083390e5f5 /vmdahal.h
parent1cc70b8dbcd13a23a8db7cc416e466ee37d263d5 (diff)
downloadvmdisp9x-12ce43bf38e0c92c6565a4d3f91d2c9a7b230f04.tar.gz
DDI support, RC fix on mouse, fixed README
Diffstat (limited to 'vmdahal.h')
-rw-r--r--vmdahal.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/vmdahal.h b/vmdahal.h
index b39779f..bd16b83 100644
--- a/vmdahal.h
+++ b/vmdahal.h
@@ -20,6 +20,7 @@ typedef struct DDHALMODEINFO2
typedef struct VMDAHALCB32
{
+ LPDDHAL_DESTROYDRIVER DestroyDriver;
LPDDHAL_CREATESURFACE CreateSurface;
LPDDHAL_CANCREATESURFACE CanCreateSurface;
LPDDHALSURFCB_DESTROYSURFACE DestroySurface;
@@ -38,6 +39,7 @@ typedef struct VMDAHALCB32
LPDDHAL_WAITFORVERTICALBLANK WaitForVerticalBlank;
LPDDHAL_SETMODE SetMode;
LPDDHAL_SETEXCLUSIVEMODE SetExclusiveMode;
+ LPDDHAL_FLIPTOGDISURFACE FlipToGDISurface;
} VMDAHALCB32_t;
struct VXD_pair
@@ -49,6 +51,12 @@ struct VXD_pair
#define VXD_PAIRS_CNT 32
#define DISP_MODES_MAX 512
+typedef struct VMDAHAL_D3DCAPS
+{
+ DWORD ddscaps;
+ DWORD zcaps;
+} VMDAHAL_D3DCAPS_t;
+
typedef struct VMDAHAL
{
DWORD dwSize;
@@ -78,7 +86,10 @@ typedef struct VMDAHAL
DDHALMODEINFO2_t modes[DISP_MODES_MAX];
DWORD modes_count;
DWORD custom_mode_id;
-
+
+ DWORD d3dhal_global;
+ DWORD d3dhal_callbacks;
+ VMDAHAL_D3DCAPS_t d3dhal_flags;
} VMDAHAL_t;
#pragma pack(pop)