Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
91aaca86
Commit
91aaca86
authored
25 years ago
by
Marcus Meissner
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added MMDEVLDR DeviceIoctl(5) stub (msacm32 is a bit happier now).
parent
b3bd7548
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
win32/device.c
+30
-4
30 additions, 4 deletions
win32/device.c
with
30 additions
and
4 deletions
win32/device.c
+
30
−
4
View file @
91aaca86
...
...
@@ -45,6 +45,11 @@ static BOOL DeviceIo_MONODEBG(DWORD dwIoControlCode,
LPVOID
lpvOutBuffer
,
DWORD
cbOutBuffer
,
LPDWORD
lpcbBytesReturned
,
LPOVERLAPPED
lpOverlapped
);
static
BOOL
DeviceIo_MMDEVLDR
(
DWORD
dwIoControlCode
,
LPVOID
lpvInBuffer
,
DWORD
cbInBuffer
,
LPVOID
lpvOutBuffer
,
DWORD
cbOutBuffer
,
LPDWORD
lpcbBytesReturned
,
LPOVERLAPPED
lpOverlapped
);
static
BOOL
VxDCall_VMM
(
DWORD
*
retv
,
DWORD
service
,
CONTEXT
*
context
);
...
...
@@ -160,6 +165,7 @@ static const struct VxDInfo VxDList[] =
/* Multimedia OEM IDs */
{
"VTDAPI"
,
0x0442
,
NULL
,
DeviceIo_VTDAPI
},
{
"MMDEVLDR"
,
0x044A
,
NULL
,
DeviceIo_MMDEVLDR
},
/* Network Device IDs */
{
"VNetSup"
,
0x0480
,
NULL
,
NULL
},
...
...
@@ -199,6 +205,7 @@ static const struct VxDInfo VxDList[] =
{
"AFILTER"
,
0x04A1
,
NULL
,
NULL
},
{
"IRLAMP"
,
0x04A2
,
NULL
,
NULL
},
/* WINE additions, ids unknown */
{
"MONODEBG.VXD"
,
0x4242
,
NULL
,
DeviceIo_MONODEBG
},
{
NULL
,
0
,
NULL
,
NULL
}
...
...
@@ -904,10 +911,29 @@ static BOOL DeviceIo_VWin32(DWORD dwIoControlCode,
return
retv
;
}
/* this is the main multimedia device loader */
static
BOOL
DeviceIo_MMDEVLDR
(
DWORD
dwIoControlCode
,
LPVOID
lpvInBuffer
,
DWORD
cbInBuffer
,
LPVOID
lpvOutBuffer
,
DWORD
cbOutBuffer
,
LPDWORD
lpcbBytesReturned
,
LPOVERLAPPED
lpOverlapped
)
{
FIXME
(
win32
,
"(%ld,%p,%ld,%p,%ld,%p,%p): stub
\n
"
,
dwIoControlCode
,
lpvInBuffer
,
cbInBuffer
,
lpvOutBuffer
,
cbOutBuffer
,
lpcbBytesReturned
,
lpOverlapped
);
switch
(
dwIoControlCode
)
{
case
5
:
/* Hmm. */
*
(
DWORD
*
)
lpvOutBuffer
=
0
;
*
lpcbBytesReturned
=
4
;
return
TRUE
;
}
return
FALSE
;
}
/* this is used by some Origin games */
static
BOOL
DeviceIo_MONODEBG
(
DWORD
dwIoControlCode
,
LPVOID
lpvInBuffer
,
DWORD
cbInBuffer
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment