1 | /** $Id: VBoxSFFind.cpp 68612 2017-09-03 15:49:33Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBoxSF - OS/2 Shared Folders, Find File IFS EPs.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (c) 2007 knut st. osmundsen <bird-src-spam@anduin.net>
|
---|
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 | DECLASM(int)
|
---|
43 | FS32_FINDFIRST(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, USHORT fAttr,
|
---|
44 | PFSFSI pfsfsi, PVBOXSFFS pfsfsd, PBYTE pbData, USHORT cbData, PUSHORT pcMatch,
|
---|
45 | USHORT uLevel, USHORT fFlags)
|
---|
46 | {
|
---|
47 | NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszName); NOREF(iCurDirEnd); NOREF(fAttr); NOREF(pfsfsi); NOREF(pfsfsd); NOREF(pbData);
|
---|
48 | NOREF(cbData); NOREF(pcMatch); NOREF(uLevel); NOREF(fFlags);
|
---|
49 | return ERROR_NOT_SUPPORTED;
|
---|
50 | }
|
---|
51 |
|
---|
52 |
|
---|
53 | DECLASM(int)
|
---|
54 | FS32_FINDFROMNAME(PFSFSI pfsfsi, PVBOXSFFS pfsfsd, PBYTE pbData, USHORT cbData, PUSHORT pcMatch,
|
---|
55 | USHORT uLevel, ULONG position, PCSZ pszName, USHORT fFlags)
|
---|
56 | {
|
---|
57 | NOREF(pfsfsi); NOREF(pfsfsd); NOREF(pbData); NOREF(cbData); NOREF(pcMatch); NOREF(uLevel); NOREF(position); NOREF(pszName);
|
---|
58 | NOREF(fFlags);
|
---|
59 | return ERROR_NOT_SUPPORTED;
|
---|
60 | }
|
---|
61 |
|
---|
62 |
|
---|
63 | DECLASM(int)
|
---|
64 | FS32_FINDNEXT(PFSFSI pfsfsi, PVBOXSFFS pfsfsd, PBYTE pbData, USHORT cbData, PUSHORT pcMatch,
|
---|
65 | USHORT uLevel, USHORT fFlags)
|
---|
66 | {
|
---|
67 | NOREF(pfsfsi); NOREF(pfsfsd); NOREF(pbData); NOREF(cbData); NOREF(pcMatch); NOREF(uLevel); NOREF(fFlags);
|
---|
68 | return ERROR_NOT_SUPPORTED;
|
---|
69 | }
|
---|
70 |
|
---|
71 |
|
---|
72 | DECLASM(int)
|
---|
73 | FS32_FINDCLOSE(PFSFSI pfsfsi, PVBOXSFFS pfsfsd)
|
---|
74 | {
|
---|
75 | NOREF(pfsfsi); NOREF(pfsfsd);
|
---|
76 | return ERROR_NOT_SUPPORTED;
|
---|
77 | }
|
---|
78 |
|
---|
79 |
|
---|
80 |
|
---|
81 |
|
---|
82 |
|
---|
83 | DECLASM(int)
|
---|
84 | FS32_FINDNOTIFYFIRST(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, USHORT fAtt,
|
---|
85 | PUSHORT phHandle, PBYTE pbData, USHORT cbData, PUSHORT pcMatch,
|
---|
86 | USHORT uLevel, USHORT fFlags)
|
---|
87 | {
|
---|
88 | NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszName); NOREF(iCurDirEnd); NOREF(fAtt); NOREF(phHandle); NOREF(pbData); NOREF(cbData);
|
---|
89 | NOREF(pcMatch); NOREF(uLevel); NOREF(fFlags);
|
---|
90 | return ERROR_NOT_SUPPORTED;
|
---|
91 | }
|
---|
92 |
|
---|
93 |
|
---|
94 | DECLASM(int)
|
---|
95 | FS32_FINDNOTIFYNEXT(USHORT hHandle, PBYTE pbData, USHORT cbData, PUSHORT pcMatch,
|
---|
96 | USHORT uLevel, ULONG cMsTimeout)
|
---|
97 | {
|
---|
98 | NOREF(hHandle); NOREF(pbData); NOREF(cbData); NOREF(pcMatch); NOREF(uLevel); NOREF(cMsTimeout);
|
---|
99 | return ERROR_NOT_SUPPORTED;
|
---|
100 | }
|
---|
101 |
|
---|
102 |
|
---|
103 | DECLASM(int)
|
---|
104 | FS32_FINDNOTIFYCLOSE(USHORT hHandle)
|
---|
105 | {
|
---|
106 | NOREF(hHandle);
|
---|
107 | return ERROR_NOT_SUPPORTED;
|
---|
108 | }
|
---|
109 |
|
---|