1 | /** $Id: VBoxSF.cpp 3655 2007-07-16 18:47:26Z 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 |
|
---|
43 | DECLASM(void)
|
---|
44 | FS32_EXIT(ULONG uid, ULONG pid, ULONG pdb)
|
---|
45 | {
|
---|
46 | }
|
---|
47 |
|
---|
48 |
|
---|
49 | DECLASM(int)
|
---|
50 | FS32_SHUTDOWN(ULONG type, ULONG reserved)
|
---|
51 | {
|
---|
52 | return NO_ERROR;
|
---|
53 | }
|
---|
54 |
|
---|
55 |
|
---|
56 | DECLASM(int)
|
---|
57 | FS32_ATTACH(ULONG flag, PCSZ pszDev, PVBOXSFVP pvpfsd, PVBOXSFCD pcdfsd, PBYTE pszParm, PUSHORT pcbParm)
|
---|
58 | {
|
---|
59 | return ERROR_NOT_SUPPORTED;
|
---|
60 | }
|
---|
61 |
|
---|
62 |
|
---|
63 | DECLASM(int)
|
---|
64 | FS32_FLUSHBUF(USHORT hVPB, ULONG flag)
|
---|
65 | {
|
---|
66 | return NO_ERROR;
|
---|
67 | }
|
---|
68 |
|
---|
69 |
|
---|
70 | DECLASM(int)
|
---|
71 | FS32_FSINFO(ULONG flag, USHORT hVPB, PBYTE pbData, USHORT cbData, ULONG level)
|
---|
72 | {
|
---|
73 | return ERROR_NOT_SUPPORTED;
|
---|
74 | }
|
---|
75 |
|
---|
76 |
|
---|
77 | DECLASM(int)
|
---|
78 | FS32_FSCTL(union argdat *pArgdat, ULONG iArgType, ULONG func,
|
---|
79 | PVOID pParm, USHORT lenParm, PUSHORT plenParmIO,
|
---|
80 | PVOID pData, USHORT lenData, PUSHORT plenDataIO)
|
---|
81 | {
|
---|
82 | return ERROR_NOT_SUPPORTED;
|
---|
83 | }
|
---|
84 |
|
---|
85 |
|
---|
86 | DECLASM(int)
|
---|
87 | FS32_PROCESSNAME(PSZ pszName)
|
---|
88 | {
|
---|
89 | return NO_ERROR;
|
---|
90 | }
|
---|
91 |
|
---|
92 |
|
---|
93 | DECLASM(int)
|
---|
94 | FS32_CHDIR(ULONG flag, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszDir, USHORT iCurDirEnd)
|
---|
95 | {
|
---|
96 | return ERROR_NOT_SUPPORTED;
|
---|
97 | }
|
---|
98 |
|
---|
99 |
|
---|
100 | DECLASM(int)
|
---|
101 | FS32_MKDIR(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd,
|
---|
102 | PBYTE pEABuf, ULONG flag)
|
---|
103 | {
|
---|
104 | return ERROR_NOT_SUPPORTED;
|
---|
105 | }
|
---|
106 |
|
---|
107 |
|
---|
108 | DECLASM(int)
|
---|
109 | FS32_RMDIR(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd)
|
---|
110 | {
|
---|
111 | return ERROR_NOT_SUPPORTED;
|
---|
112 | }
|
---|
113 |
|
---|
114 |
|
---|
115 | DECLASM(int)
|
---|
116 | FS32_COPY(USHORT flag, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszSrc, USHORT iSrcCurDirEnd,
|
---|
117 | PCSZ pszDst, USHORT iDstCurDirEnd, USHORT nameType)
|
---|
118 | {
|
---|
119 | return ERROR_NOT_SUPPORTED;
|
---|
120 | }
|
---|
121 |
|
---|
122 |
|
---|
123 | DECLASM(int)
|
---|
124 | FS32_MOVE(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszSrc, USHORT iSrcCurDirEnd,
|
---|
125 | PCSZ pszDst, USHORT iDstCurDirEnd, USHORT type)
|
---|
126 | {
|
---|
127 | return ERROR_NOT_SUPPORTED;
|
---|
128 | }
|
---|
129 |
|
---|
130 |
|
---|
131 | DECLASM(int)
|
---|
132 | FS32_DELETE(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszFile, USHORT iCurDirEnd)
|
---|
133 | {
|
---|
134 | return ERROR_NOT_SUPPORTED;
|
---|
135 | }
|
---|
136 |
|
---|
137 |
|
---|
138 | DECLASM(int)
|
---|
139 | FS32_FILEATTRIBUTE(ULONG flag, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, PUSHORT pAttr)
|
---|
140 | {
|
---|
141 | return ERROR_NOT_SUPPORTED;
|
---|
142 | }
|
---|
143 |
|
---|
144 |
|
---|
145 | DECLASM(int)
|
---|
146 | FS32_PATHINFO(USHORT flag, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnt,
|
---|
147 | USHORT level, PBYTE pData, USHORT cbData)
|
---|
148 | {
|
---|
149 | return ERROR_NOT_SUPPORTED;
|
---|
150 | }
|
---|
151 |
|
---|
152 |
|
---|
153 | DECLASM(int)
|
---|
154 | FS32_MOUNT(USHORT flag, PVPFSI pvpfsi, PVBOXSFVP pvpfsd, USHORT hVPB, PCSZ pszBoot)
|
---|
155 | {
|
---|
156 | return ERROR_NOT_SUPPORTED;
|
---|
157 | }
|
---|
158 |
|
---|