Implement EnumPrinterDataEx{A|W}.
[wine.git] / files / tape.c
blob7e1862b37befbbbc3879b034c2038fe479eaca80
1 /*
2 * Tape handling functions
4 * Copyright 1999 Chris Morgan <cmorgan@wpi.edu>
5 * James Abbatiello <abbeyj@wpi.edu>
7 * TODO:
8 * Everything, all functions are stubs.
9 */
11 #include "winbase.h"
12 #include "winerror.h"
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,
27 lpContext);
29 SetLastError( ERROR_NOT_SUPPORTED );
31 return FALSE;
35 /************************************************************************
36 * BackupSeek (KERNEL32.108)
38 BOOL WINAPI BackupSeek( HANDLE hFile, DWORD dwLowBytesToSeek, DWORD dwHighBytesToSeek,
39 LPDWORD lpdwLowByteSeeked, LPDWORD lpdwHighByteSeeked,
40 LPVOID *lpContext )
42 FIXME("(%04x, %ld, %ld, %p, %p, %p) stub!\n", hFile, dwLowBytesToSeek,
43 dwHighBytesToSeek, lpdwLowByteSeeked, lpdwHighByteSeeked, lpContext);
45 SetLastError( ERROR_NOT_SUPPORTED );
47 return FALSE;
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 );
64 return FALSE;
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,
75 dwSize);
77 SetLastError( ERROR_NOT_SUPPORTED );
79 return FALSE;
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 );
92 return FALSE;
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,
103 lpTapeInformation);
105 SetLastError( ERROR_NOT_SUPPORTED );
107 return FALSE;
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 );
123 return FALSE;
127 /************************************************************************
128 * GetTapeStatus (KERNEL32.411)
130 DWORD WINAPI GetTapeStatus( HANDLE hDevice )
132 FIXME("(%04x) stub!\n", hDevice);
134 SetLastError( ERROR_NOT_SUPPORTED );
136 return FALSE;
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 );
149 return FALSE;
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 );
163 return FALSE;
167 /************************************************************************
168 * SetTapePosition (KERNEL32.668)
170 DWORD WINAPI SetTapePosition( HANDLE hDevice, DWORD dwPositionMethod, DWORD
171 dwPartition, DWORD dwOffsetLow, DWORD dwOffsetHigh,
172 BOOL bImmediate )
174 FIXME("(%04x, %ld, %ld, %ld, %ld, %d) stub!\n", hDevice, dwPositionMethod,
175 dwPartition, dwOffsetLow, dwOffsetHigh, bImmediate);
177 SetLastError( ERROR_NOT_SUPPORTED );
179 return FALSE;
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 );
194 return FALSE;