VirtualBox

source: vbox/trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFFile.cpp@ 5290

最後變更 在這個檔案從5290是 3655,由 vboxsync 提交於 17 年 前

export

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id
檔案大小: 5.2 KB
 
1/** $Id: VBoxSFFile.cpp 3655 2007-07-16 18:47:26Z vboxsync $ */
2/** @file
3 * VBoxSF - OS/2 Shared Folders, the file level IFS EPs.
4 */
5
6/*
7 * Copyright (c) 2007 knut st. osmundsen <[email protected]>
8 *
9 * Permission is hereby granted, free of charge, to any person
10 * obtaining a copy of this software and associated documentation
11 * files (the "Software"), to deal in the Software without
12 * restriction, including without limitation the rights to use,
13 * copy, modify, merge, publish, distribute, sublicense, and/or sell
14 * copies of the Software, and to permit persons to whom the
15 * Software is furnished to do so, subject to the following
16 * conditions:
17 *
18 * The above copyright notice and this permission notice shall be
19 * included in all copies or substantial portions of the Software.
20 *
21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
23 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
25 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
26 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
28 * OTHER DEALINGS IN THE SOFTWARE.
29 */
30
31
32/*******************************************************************************
33* Header Files *
34*******************************************************************************/
35#define LOG_GROUP LOG_GROUP_DEFAULT
36#include "VBoxSFInternal.h"
37
38#include <VBox/log.h>
39#include <iprt/assert.h>
40
41
42
43DECLASM(int)
44FS32_OPENCREATE(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd,
45 PSFFSI psffsi, PVBOXSFFSD psffsd, ULONG ulOpenMode, USHORT usOpenFlag,
46 PUSHORT pusAction, USHORT usAttr, PBYTE pcEABuf, PUSHORT pfgenflag)
47{
48 return ERROR_NOT_SUPPORTED;
49}
50
51
52DECLASM(int)
53FS32_CLOSE(ULONG type, ULONG IOflag, PSFFSI psffsi, PVBOXSFFSD psffsd)
54{
55 return ERROR_NOT_SUPPORTED;
56}
57
58
59DECLASM(int)
60FS32_COMMIT(ULONG type, ULONG IOflag, PSFFSI psffsi, PVBOXSFFSD psffsd)
61{
62 return ERROR_NOT_SUPPORTED;
63}
64
65
66extern "C" APIRET APIENTRY
67FS32_CHGFILEPTRL(PSFFSI psffsi, PVBOXSFFSD psffsd, LONGLONG off, ULONG ulMethod, ULONG IOflag)
68{
69 return ERROR_NOT_SUPPORTED;
70}
71
72
73/** Forwards the call to FS32_CHGFILEPTRL. */
74extern "C" APIRET APIENTRY
75FS32_CHGFILEPTR(PSFFSI psffsi, PVBOXSFFSD psffsd, LONG off, ULONG ulMethod, ULONG IOflag)
76{
77 return FS32_CHGFILEPTRL(psffsi, psffsd, off, ulMethod, IOflag);
78}
79
80DECLASM(int)
81FS32_FILEINFO(ULONG flag, PSFFSI psffsi, PVBOXSFFSD psffsd, ULONG level,
82 PBYTE pData, ULONG cbData, ULONG IOflag)
83{
84 return ERROR_NOT_SUPPORTED;
85}
86
87DECLASM(int)
88FS32_NEWSIZEL(PSFFSI psffsi, PVBOXSFFSD psffsd, LONGLONG cbFile, ULONG IOflag)
89{
90 return ERROR_NOT_SUPPORTED;
91}
92
93
94extern "C" APIRET APIENTRY
95FS32_READ(PSFFSI psffsi, PVBOXSFFSD psffsd, PVOID pvData, PULONG pcb, ULONG IOflag)
96{
97 return ERROR_NOT_SUPPORTED;
98}
99
100
101extern "C" APIRET APIENTRY
102FS32_WRITE(PSFFSI psffsi, PVBOXSFFSD psffsd, PVOID pvData, PULONG pcb, ULONG IOflag)
103{
104 return ERROR_NOT_SUPPORTED;
105}
106
107
108extern "C" APIRET APIENTRY
109FS32_READFILEATCACHE(PSFFSI psffsi, PVBOXSFFSD psffsd, ULONG IOflag, LONGLONG off, ULONG pcb, KernCacheList_t **ppCacheList)
110{
111 return ERROR_NOT_SUPPORTED;
112}
113
114
115extern "C" APIRET APIENTRY
116FS32_RETURNFILECACHE(KernCacheList_t *pCacheList)
117{
118 return ERROR_NOT_SUPPORTED;
119}
120
121
122/* oddments */
123
124DECLASM(int)
125FS32_CANCELLOCKREQUESTL(PSFFSI psffsi, PVBOXSFFSD psffsd, struct filelockl *pLockRange)
126{
127 return ERROR_NOT_SUPPORTED;
128}
129
130
131DECLASM(int)
132FS32_CANCELLOCKREQUEST(PSFFSI psffsi, PVBOXSFFSD psffsd, struct filelock *pLockRange)
133{
134 return ERROR_NOT_SUPPORTED;
135}
136
137
138DECLASM(int)
139FS32_FILELOCKSL(PSFFSI psffsi, PVBOXSFFSD psffsd, struct filelockl *pUnLockRange,
140 struct filelockl *pLockRange, ULONG timeout, ULONG flags)
141{
142 return ERROR_NOT_SUPPORTED;
143}
144
145
146DECLASM(int)
147FS32_FILELOCKS(PSFFSI psffsi, PVBOXSFFSD psffsd, struct filelock *pUnLockRange,
148 struct filelock *pLockRange, ULONG timeout, ULONG flags)
149{
150 return ERROR_NOT_SUPPORTED;
151}
152
153
154DECLASM(int)
155FS32_IOCTL(PSFFSI psffsi, PVBOXSFFSD psffsd, USHORT cat, USHORT func,
156 PVOID pParm, USHORT lenParm, PUSHORT plenParmIO,
157 PVOID pData, USHORT lenData, PUSHORT plenDataIO)
158{
159 return ERROR_NOT_SUPPORTED;
160}
161
162
163DECLASM(int)
164FS32_FILEIO(PSFFSI psffsi, PVBOXSFFSD psffsd, PBYTE pCmdList, USHORT cbCmdList,
165 PUSHORT poError, USHORT IOflag)
166{
167 return ERROR_NOT_SUPPORTED;
168}
169
170
171DECLASM(int)
172FS32_NMPIPE(PSFFSI psffsi, PVBOXSFFSD psffsd, USHORT OpType, union npoper *pOpRec,
173 PBYTE pData, PCSZ pszName)
174{
175 return ERROR_NOT_SUPPORTED;
176}
177
178
179DECLASM(int)
180FS32_OPENPAGEFILE(PULONG pFlag, PULONG pcMaxReq, PCSZ pszName, PSFFSI psffsi, PVBOXSFFSD psffsd,
181 USHORT ulOpenMode, USHORT usOpenFlag, USHORT usAttr, ULONG Reserved)
182{
183 return ERROR_NOT_SUPPORTED;
184}
185
186
187DECLASM(int)
188FS32_SETSWAP(PSFFSI psffsi, PVBOXSFFSD psffsd)
189{
190 return ERROR_NOT_SUPPORTED;
191}
192
193
194DECLASM(int)
195FS32_ALLOCATEPAGESPACE(PSFFSI psffsi, PVBOXSFFSD psffsd, ULONG cb, USHORT cbWantContig)
196{
197 return ERROR_NOT_SUPPORTED;
198}
199
200
201DECLASM(int)
202FS32_DOPAGEIO(PSFFSI psffsi, PVBOXSFFSD psffsd, struct PageCmdHeader *pList)
203{
204 return ERROR_NOT_SUPPORTED;
205}
206
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette