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
0844b702
Commit
0844b702
authored
Jan 26, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add implementation of tape IOCTLs.
parent
69c5f62d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
0 deletions
+21
-0
configure
configure
+2
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/ntdll/Makefile.in
+1
-0
file.c
dlls/ntdll/file.c
+7
-0
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+7
-0
tape.c
dlls/ntdll/tape.c
+0
-0
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
0844b702
...
...
@@ -7038,6 +7038,7 @@ done
for
ac_header
in
\
IOKit/IOKitLib.h
\
alsa/asoundlib.h
\
...
...
@@ -7115,6 +7116,7 @@ for ac_header in \
sys/mman.h
\
sys/modem.h
\
sys/msg.h
\
sys/mtio.h
\
sys/param.h
\
sys/poll.h
\
sys/ptrace.h
\
...
...
configure.ac
View file @
0844b702
...
...
@@ -248,6 +248,7 @@ AC_CHECK_HEADERS(\
sys/mman.h \
sys/modem.h \
sys/msg.h \
sys/mtio.h \
sys/param.h \
sys/poll.h \
sys/ptrace.h \
...
...
dlls/ntdll/Makefile.in
View file @
0844b702
...
...
@@ -44,6 +44,7 @@ C_SRCS = \
signal_x86_64.c
\
string.c
\
sync.c
\
tape.c
\
version.c
\
thread.c
\
time.c
\
...
...
dlls/ntdll/file.c
View file @
0844b702
...
...
@@ -888,6 +888,10 @@ NTSTATUS WINAPI NtDeviceIoControlFile(HANDLE handle, HANDLE event,
io
->
u
.
Status
=
COMM_DeviceIoControl
(
handle
,
event
,
apc
,
apc_context
,
io
,
code
,
in_buffer
,
in_size
,
out_buffer
,
out_size
);
break
;
case
FILE_DEVICE_TAPE
:
io
->
u
.
Status
=
TAPE_DeviceIoControl
(
handle
,
event
,
apc
,
apc_context
,
io
,
code
,
in_buffer
,
in_size
,
out_buffer
,
out_size
);
break
;
default:
FIXME
(
"Unsupported ioctl %lx (device=%lx access=%lx func=%lx method=%lx)
\n
"
,
code
,
device
,
(
code
>>
14
)
&
3
,
(
code
>>
2
)
&
0xfff
,
code
&
3
);
...
...
@@ -1543,6 +1547,9 @@ NTSTATUS FILE_GetDeviceInfo( int fd, FILE_FS_DEVICE_INFORMATION *info )
case
LP_MAJOR
:
info
->
DeviceType
=
FILE_DEVICE_PARALLEL_PORT
;
break
;
case
SCSI_TAPE_MAJOR
:
info
->
DeviceType
=
FILE_DEVICE_TAPE
;
break
;
}
#endif
}
...
...
dlls/ntdll/ntdll_misc.h
View file @
0844b702
...
...
@@ -88,6 +88,13 @@ extern NTSTATUS COMM_DeviceIoControl(HANDLE hDevice,
ULONG
IoControlCode
,
LPVOID
lpInBuffer
,
DWORD
nInBufferSize
,
LPVOID
lpOutBuffer
,
DWORD
nOutBufferSize
);
extern
NTSTATUS
TAPE_DeviceIoControl
(
HANDLE
hDevice
,
HANDLE
hEvent
,
PIO_APC_ROUTINE
UserApcRoutine
,
PVOID
UserApcContext
,
PIO_STATUS_BLOCK
piosb
,
ULONG
IoControlCode
,
LPVOID
lpInBuffer
,
DWORD
nInBufferSize
,
LPVOID
lpOutBuffer
,
DWORD
nOutBufferSize
);
/* file I/O */
extern
NTSTATUS
FILE_GetNtStatus
(
void
);
...
...
dlls/ntdll/tape.c
0 → 100644
View file @
0844b702
This diff is collapsed.
Click to expand it.
include/config.h.in
View file @
0844b702
...
...
@@ -698,6 +698,9 @@
/* Define to 1 if you have the <sys/msg.h> header file. */
#undef HAVE_SYS_MSG_H
/* Define to 1 if you have the <sys/mtio.h> header file. */
#undef HAVE_SYS_MTIO_H
/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
...
...
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