Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6a41a4bf
Commit
6a41a4bf
authored
Nov 07, 1998
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 07, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
monodebg.vxd used by some Origin programs implemented.
parent
1f43de34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
device.c
win32/device.c
+34
-0
No files found.
win32/device.c
View file @
6a41a4bf
...
...
@@ -60,6 +60,11 @@ static BOOL32 DeviceIo_VTDAPI(DEVICE_OBJECT *dev, DWORD dwIoControlCode,
LPVOID
lpvOutBuffer
,
DWORD
cbOutBuffer
,
LPDWORD
lpcbBytesReturned
,
LPOVERLAPPED
lpOverlapped
);
static
BOOL32
DeviceIo_MONODEBG
(
DEVICE_OBJECT
*
dev
,
DWORD
dwIoControlCode
,
LPVOID
lpvInBuffer
,
DWORD
cbInBuffer
,
LPVOID
lpvOutBuffer
,
DWORD
cbOutBuffer
,
LPDWORD
lpcbBytesReturned
,
LPOVERLAPPED
lpOverlapped
);
static
BOOL32
VxDCall_VMM
(
DWORD
*
retv
,
DWORD
service
,
CONTEXT
*
context
);
...
...
@@ -207,6 +212,8 @@ struct VxDInfo
{
"AFILTER"
,
0x04A1
,
NULL
,
NULL
},
{
"IRLAMP"
,
0x04A2
,
NULL
,
NULL
},
{
"MONODEBG.VXD"
,
0x4242
,
NULL
,
DeviceIo_MONODEBG
},
{
NULL
,
0
,
NULL
,
NULL
}
};
...
...
@@ -830,3 +837,30 @@ static BOOL32 DeviceIo_IFSMgr(DEVICE_OBJECT *dev, DWORD dwIoControlCode,
return
retv
;
}
/* this is used by some Origin games */
static
BOOL32
DeviceIo_MONODEBG
(
DEVICE_OBJECT
*
dev
,
DWORD
dwIoControlCode
,
LPVOID
lpvInBuffer
,
DWORD
cbInBuffer
,
LPVOID
lpvOutBuffer
,
DWORD
cbOutBuffer
,
LPDWORD
lpcbBytesReturned
,
LPOVERLAPPED
lpOverlapped
)
{
switch
(
dwIoControlCode
)
{
case
1
:
/* version */
*
(
LPDWORD
)
lpvOutBuffer
=
0x20004
;
/* WC SecretOps */
break
;
case
9
:
/* debug output */
fprintf
(
stderr
,
"MONODEBG: %s
\n
"
,
debugstr_a
(
lpvInBuffer
));
break
;
default:
FIXME
(
win32
,
"(%p,%ld,%p,%ld,%p,%ld,%p,%p): stub
\n
"
,
dev
,
dwIoControlCode
,
lpvInBuffer
,
cbInBuffer
,
lpvOutBuffer
,
cbOutBuffer
,
lpcbBytesReturned
,
lpOverlapped
);
break
;
}
return
TRUE
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment