aboutsummaryrefslogtreecommitdiffstats
path: root/vmm.h
diff options
context:
space:
mode:
authorJaroslav Hensl <jara@hensl.cz>2023-06-28 22:04:13 +0200
committerJaroslav Hensl <jara@hensl.cz>2023-06-28 22:04:13 +0200
commit7f80983c1b9431380a9dce18586e0eea57be5707 (patch)
tree48c295786a1f749f883989cef3063fd123134370 /vmm.h
parent14395d1ce8759ce490beb87c80ddb1f7ed35904f (diff)
downloadvmdisp9x-7f80983c1b9431380a9dce18586e0eea57be5707.tar.gz
SVGA3D: better GMR allocator, some 32bit calls support, API version update
Diffstat (limited to 'vmm.h')
-rw-r--r--vmm.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/vmm.h b/vmm.h
index 72bab3a..a67f5eb 100644
--- a/vmm.h
+++ b/vmm.h
@@ -701,4 +701,29 @@ typedef struct tagCRS_32
#define D_ACCESSED 1 /* segment accessed bit */
+/* contains information that an aplication passed to VXD by calling DeviceIoControl function */
+struct DIOCParams
+{
+ DWORD Intrenal1;
+ DWORD VMHandle;
+ DWORD Internal2;
+ DWORD dwIoControlCode;
+ DWORD lpInBuffer;
+ DWORD cbInBuffer;
+ DWORD lpOutBuffer;
+ DWORD cbOutBuffer;
+ DWORD lpcbBytesReturned;
+ DWORD lpOverlapped;
+ DWORD hDevice;
+ DWORD tagProcess;
+};
+
+/* vWin32 communicates with Vxds on behalf of Win32 apps thru this mechanism. */
+#define W32_DEVICEIOCONTROL 0x0023
+
+/* sub-functions */
+#define DIOC_GETVERSION 0x0
+#define DIOC_OPEN DIOC_GETVERSION
+#define DIOC_CLOSEHANDLE -1
+
#endif /* __VMM_H__INCLUDED__ */