VirtualBox

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

最後變更 在這個檔案從68612是 68612,由 vboxsync 提交於 7 年 前

os2/VBoxSF: Make it compile with watcom.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id Revision
檔案大小: 5.3 KB
 
1/** $Id: VBoxSF.cpp 68612 2017-09-03 15:49:33Z vboxsync $ */
2/** @file
3 * VBoxSF - OS/2 Shared Folders, the FS and FSD 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(void)
44FS32_EXIT(ULONG uid, ULONG pid, ULONG pdb)
45{
46 NOREF(uid); NOREF(pid); NOREF(pdb);
47}
48
49
50DECLASM(int)
51FS32_SHUTDOWN(ULONG type, ULONG reserved)
52{
53 NOREF(type); NOREF(reserved);
54 return NO_ERROR;
55}
56
57
58DECLASM(int)
59FS32_ATTACH(ULONG fFlags, PCSZ pszDev, PVBOXSFVP pvpfsd, PVBOXSFCD pcdfsd, PBYTE pszParm, PUSHORT pcbParm)
60{
61 NOREF(fFlags); NOREF(pszDev); NOREF(pvpfsd); NOREF(pcdfsd); NOREF(pszParm); NOREF(pcbParm);
62 return ERROR_NOT_SUPPORTED;
63}
64
65
66DECLASM(int)
67FS32_FLUSHBUF(USHORT hVPB, ULONG fFlags)
68{
69 NOREF(hVPB); NOREF(fFlags);
70 return NO_ERROR;
71}
72
73
74DECLASM(int)
75FS32_FSINFO(ULONG fFlags, USHORT hVPB, PBYTE pbData, USHORT cbData, ULONG uLevel)
76{
77 NOREF(fFlags); NOREF(hVPB); NOREF(pbData); NOREF(cbData); NOREF(uLevel);
78 return ERROR_NOT_SUPPORTED;
79}
80
81
82DECLASM(int)
83FS32_FSCTL(union argdat *pArgdat, ULONG iArgType, ULONG uFunction,
84 PVOID pvParm, USHORT cbParm, PUSHORT pcbParmIO,
85 PVOID pvData, USHORT cbData, PUSHORT pcbDataIO)
86{
87 NOREF(pArgdat); NOREF(iArgType); NOREF(uFunction); NOREF(pvParm); NOREF(cbParm); NOREF(pcbParmIO);
88 NOREF(pvData); NOREF(cbData); NOREF(pcbDataIO);
89 return ERROR_NOT_SUPPORTED;
90}
91
92
93DECLASM(int)
94FS32_PROCESSNAME(PSZ pszName)
95{
96 NOREF(pszName);
97 return NO_ERROR;
98}
99
100
101DECLASM(int)
102FS32_CHDIR(ULONG fFlags, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszDir, USHORT iCurDirEnd)
103{
104 NOREF(fFlags); NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszDir); NOREF(iCurDirEnd);
105 return ERROR_NOT_SUPPORTED;
106}
107
108
109DECLASM(int)
110FS32_MKDIR(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszDir, USHORT iCurDirEnd,
111 PBYTE pbEABuf, ULONG fFlags)
112{
113 NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszDir); NOREF(iCurDirEnd); NOREF(pbEABuf); NOREF(fFlags);
114 return ERROR_NOT_SUPPORTED;
115}
116
117
118DECLASM(int)
119FS32_RMDIR(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszDir, USHORT iCurDirEnd)
120{
121 NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszDir); NOREF(iCurDirEnd);
122 return ERROR_NOT_SUPPORTED;
123}
124
125
126DECLASM(int)
127FS32_COPY(USHORT fFlags, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszSrc, USHORT iSrcCurDirEnd,
128 PCSZ pszDst, USHORT iDstCurDirEnd, USHORT uNameType)
129{
130 NOREF(fFlags); NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszSrc); NOREF(iSrcCurDirEnd);
131 NOREF(pszDst); NOREF(iDstCurDirEnd); NOREF(uNameType);
132 return ERROR_NOT_SUPPORTED;
133}
134
135
136DECLASM(int)
137FS32_MOVE(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszSrc, USHORT iSrcCurDirEnd,
138 PCSZ pszDst, USHORT iDstCurDirEnd, USHORT uNameType)
139{
140 NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszSrc); NOREF(iSrcCurDirEnd); NOREF(pszDst); NOREF(iDstCurDirEnd); NOREF(uNameType);
141 return ERROR_NOT_SUPPORTED;
142}
143
144
145DECLASM(int)
146FS32_DELETE(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszFile, USHORT iCurDirEnd)
147{
148 NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszFile); NOREF(iCurDirEnd);
149 return ERROR_NOT_SUPPORTED;
150}
151
152
153DECLASM(int)
154FS32_FILEATTRIBUTE(ULONG fFlags, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, PUSHORT pfAttr)
155{
156 NOREF(fFlags); NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszName); NOREF(iCurDirEnd); NOREF(pfAttr);
157 return ERROR_NOT_SUPPORTED;
158}
159
160
161DECLASM(int)
162FS32_PATHINFO(USHORT fFlags, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd,
163 USHORT uLevel, PBYTE pbData, USHORT cbData)
164{
165 NOREF(fFlags); NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszName); NOREF(iCurDirEnd); NOREF(uLevel); NOREF(pbData); NOREF(cbData);
166 return ERROR_NOT_SUPPORTED;
167}
168
169
170DECLASM(int)
171FS32_MOUNT(USHORT fFlags, PVPFSI pvpfsi, PVBOXSFVP pvpfsd, USHORT hVPB, PCSZ pszBoot)
172{
173 NOREF(fFlags); NOREF(pvpfsi); NOREF(pvpfsd); NOREF(hVPB); NOREF(pszBoot);
174 return ERROR_NOT_SUPPORTED;
175}
176
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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