diff options
author | Jaroslav Hensl <jara@hensl.cz> | 2023-06-28 22:04:13 +0200 |
---|---|---|
committer | Jaroslav Hensl <jara@hensl.cz> | 2023-06-28 22:04:13 +0200 |
commit | 7f80983c1b9431380a9dce18586e0eea57be5707 (patch) | |
tree | 48c295786a1f749f883989cef3063fd123134370 /vmm.h | |
parent | 14395d1ce8759ce490beb87c80ddb1f7ed35904f (diff) | |
download | vmdisp9x-7f80983c1b9431380a9dce18586e0eea57be5707.tar.gz |
SVGA3D: better GMR allocator, some 32bit calls support, API version update
Diffstat (limited to 'vmm.h')
-rw-r--r-- | vmm.h | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -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__ */
|