Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6a967492
Commit
6a967492
authored
May 25, 2002
by
Andreas Mohr
Committed by
Alexandre Julliard
May 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Add some undocumented ioctl mappings.
- Correct OpenVxDHandle prototype, document it, have a try at returning a Ring 3 handle and make FIXME more verbose.
parent
7fb44925
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
device.c
win32/device.c
+15
-3
No files found.
win32/device.c
View file @
6a967492
...
...
@@ -1407,8 +1407,10 @@ static BOOL DeviceIo_VWin32(DWORD dwIoControlCode,
}
case
VWIN32_DIOC_DOS_IOCTL
:
case
0x10
:
/* Int 0x21 call, call it VWIN_DIOC_INT21 ? */
case
VWIN32_DIOC_DOS_INT25
:
case
VWIN32_DIOC_DOS_INT26
:
case
0x29
:
/* Int 0x31 call, call it VWIN_DIOC_INT31 ? */
case
VWIN32_DIOC_DOS_DRIVEINFO
:
{
CONTEXT86
cxt
;
...
...
@@ -1430,8 +1432,13 @@ static BOOL DeviceIo_VWin32(DWORD dwIoControlCode,
switch
(
dwIoControlCode
)
{
case
VWIN32_DIOC_DOS_IOCTL
:
DOS3Call
(
&
cxt
);
break
;
/* Call int 21h */
case
VWIN32_DIOC_DOS_INT13
:
INT_Int13Handler
(
&
cxt
);
break
;
case
0x10
:
/* Int 0x21 call, call it VWIN_DIOC_INT21 ? */
DOS3Call
(
&
cxt
);
break
;
case
VWIN32_DIOC_DOS_INT25
:
INT_Int25Handler
(
&
cxt
);
break
;
case
VWIN32_DIOC_DOS_INT26
:
INT_Int26Handler
(
&
cxt
);
break
;
case
0x29
:
/* Int 0x31 call, call it VWIN_DIOC_INT31 ? */
INT_Int31Handler
(
&
cxt
);
break
;
case
VWIN32_DIOC_DOS_DRIVEINFO
:
DOS3Call
(
&
cxt
);
break
;
/* Call int 21h 730x */
}
...
...
@@ -1527,11 +1534,16 @@ static BOOL DeviceIo_PCCARD (DWORD dwIoControlCode,
/***********************************************************************
* OpenVxDHandle (KERNEL32.@)
*
* This function is supposed to return the corresponding Ring 0
* ("kernel") handle for a Ring 3 handle in Win9x.
* Evidently, Wine will have problems with this. But we try anyway,
* maybe it helps...
*/
DWORD
WINAPI
OpenVxDHandle
(
DWORD
pmt
)
HANDLE
WINAPI
OpenVxDHandle
(
HANDLE
hHandleRing3
)
{
FIXME
(
"(0x%08lx)
stub!
\n
"
,
pmt
);
return
0
;
FIXME
(
"(0x%08lx)
, stub! (returning Ring 3 handle instead of Ring 0)
\n
"
,
hHandleRing3
);
return
hHandleRing3
;
}
static
BOOL
DeviceIo_HASP
(
DWORD
dwIoControlCode
,
LPVOID
lpvInBuffer
,
DWORD
cbInBuffer
,
...
...
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