2 * Tape handling functions
4 * Copyright 1999 Chris Morgan <cmorgan@wpi.edu>
5 * James Abbatiello <abbeyj@wpi.edu>
8 * Everything, all functions are stubs.
13 #include "debugtools.h"
15 DEFAULT_DEBUG_CHANNEL(tape
);
18 /************************************************************************
19 * BackupRead (KERNEL32.107)
21 BOOL WINAPI
BackupRead( HANDLE hFile
, LPBYTE lpBuffer
, DWORD nNumberOfBytesToRead
,
22 LPDWORD lpNumberOfBytesRead
, BOOL bAbort
,
23 BOOL bProcessSecurity
, LPVOID
*lpContext
)
25 FIXME("(%04x, %p, %ld, %p, %d, %d, %p) stub!\n", hFile
, lpBuffer
,
26 nNumberOfBytesToRead
, lpNumberOfBytesRead
, bAbort
, bProcessSecurity
,
29 SetLastError( ERROR_NOT_SUPPORTED
);
35 /************************************************************************
36 * BackupSeek (KERNEL32.108)
38 BOOL WINAPI
BackupSeek( HANDLE hFile
, DWORD dwLowBytesToSeek
, DWORD dwHighBytesToSeek
,
39 LPDWORD lpdwLowByteSeeked
, LPDWORD lpdwHighByteSeeked
,
42 FIXME("(%04x, %ld, %ld, %p, %p, %p) stub!\n", hFile
, dwLowBytesToSeek
,
43 dwHighBytesToSeek
, lpdwLowByteSeeked
, lpdwHighByteSeeked
, lpContext
);
45 SetLastError( ERROR_NOT_SUPPORTED
);
51 /************************************************************************
52 * BackupWrite (KERNEL32.109)
54 BOOL WINAPI
BackupWrite( HANDLE hFile
, LPBYTE lpBuffer
, DWORD nNumberOfBytesToWrite
,
55 LPDWORD lpNumberOfBytesWritten
, BOOL bAbort
,
56 BOOL bProcessSecurity
, LPVOID
*lpContext
)
58 FIXME("(%04x, %p, %ld, %p, %d, %d, %p) stub!\n", hFile
, lpBuffer
,
59 nNumberOfBytesToWrite
, lpNumberOfBytesWritten
, bAbort
,
60 bProcessSecurity
, lpContext
);
62 SetLastError( ERROR_NOT_SUPPORTED
);
68 /************************************************************************
69 * CreateTapePartition (KERNEL32.177)
71 DWORD WINAPI
CreateTapePartition( HANDLE hDevice
, DWORD dwPartitionMethod
,
72 DWORD dwCount
, DWORD dwSize
)
74 FIXME("(%04x, %ld, %ld, %ld) stub!\n", hDevice
, dwPartitionMethod
, dwCount
,
77 SetLastError( ERROR_NOT_SUPPORTED
);
83 /************************************************************************
84 * EraseTape (KERNEL32.212)
86 DWORD WINAPI
EraseTape( HANDLE hDevice
, DWORD dwEraseType
, BOOL bImmediate
)
88 FIXME("(%04x, %ld, %d) stub!\n", hDevice
, dwEraseType
, bImmediate
);
90 SetLastError( ERROR_NOT_SUPPORTED
);
96 /************************************************************************
97 * GetTapeParameters (KERNEL32.409)
99 DWORD WINAPI
GetTapeParameters( HANDLE hDevice
, DWORD dwOperation
,
100 LPDWORD lpdwSize
, LPVOID lpTapeInformation
)
102 FIXME("(%04x, %ld, %p, %p) stub!\n", hDevice
, dwOperation
, lpdwSize
,
105 SetLastError( ERROR_NOT_SUPPORTED
);
111 /************************************************************************
112 * GetTapePosition (KERNEL32.410)
114 DWORD WINAPI
GetTapePosition( HANDLE hDevice
, DWORD dwPositionType
,
115 LPDWORD lpdwPartition
, LPDWORD lpdwOffsetLow
,
116 LPDWORD lpdwOffsetHigh
)
118 FIXME("(%04x, %ld, %p, %p, %p) stub!\n", hDevice
, dwPositionType
,
119 lpdwPartition
, lpdwOffsetLow
, lpdwOffsetHigh
);
121 SetLastError( ERROR_NOT_SUPPORTED
);
127 /************************************************************************
128 * GetTapeStatus (KERNEL32.411)
130 DWORD WINAPI
GetTapeStatus( HANDLE hDevice
)
132 FIXME("(%04x) stub!\n", hDevice
);
134 SetLastError( ERROR_NOT_SUPPORTED
);
140 /************************************************************************
141 * PrepareTape (KERNEL32.554)
143 DWORD WINAPI
PrepareTape( HANDLE hDevice
, DWORD dwOperation
, BOOL bImmediate
)
145 FIXME("(%04x, %ld, %d) stub!\n", hDevice
, dwOperation
, bImmediate
);
147 SetLastError( ERROR_NOT_SUPPORTED
);
153 /************************************************************************
154 * SetTapeParameters (KERNEL32.667)
156 DWORD WINAPI
SetTapeParameters( HANDLE hDevice
, DWORD dwOperation
,
157 LPVOID lpTapeInformation
)
159 FIXME("(%04x, %ld, %p) stub!\n", hDevice
, dwOperation
, lpTapeInformation
);
161 SetLastError( ERROR_NOT_SUPPORTED
);
167 /************************************************************************
168 * SetTapePosition (KERNEL32.668)
170 DWORD WINAPI
SetTapePosition( HANDLE hDevice
, DWORD dwPositionMethod
, DWORD
171 dwPartition
, DWORD dwOffsetLow
, DWORD dwOffsetHigh
,
174 FIXME("(%04x, %ld, %ld, %ld, %ld, %d) stub!\n", hDevice
, dwPositionMethod
,
175 dwPartition
, dwOffsetLow
, dwOffsetHigh
, bImmediate
);
177 SetLastError( ERROR_NOT_SUPPORTED
);
183 /************************************************************************
184 * WriteTapemark (KERNEL32.751)
186 DWORD WINAPI
WriteTapemark( HANDLE hDevice
, DWORD dwTapemarkType
, DWORD
187 dwTapemarkCount
, BOOL bImmediate
)
189 FIXME("(%04x, %ld, %ld, %d) stub!\n", hDevice
, dwTapemarkType
,
190 dwTapemarkCount
, bImmediate
);
192 SetLastError( ERROR_NOT_SUPPORTED
);