Changeset 68612 in vbox for trunk/src/VBox/Additions/os2/VBoxSF
- Timestamp:
- Sep 3, 2017 3:49:33 PM (7 years ago)
- Location:
- trunk/src/VBox/Additions/os2/VBoxSF
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/os2/VBoxSF/Makefile.kmk
r41477 r68612 7 7 include $(KBUILD_PATH)/subheader.kmk 8 8 9 VBOXSF_USE_WATCOM=1 10 TEMPLATE_VBoxGuestR0Watcom = xxx 11 TEMPLATE_VBoxGuestR0Watcom_EXTENDS = VBOXGUESTR0 12 TEMPLATE_VBoxGuestR0Watcom_TOOL = OPENWATCOM 13 TEMPLATE_VBoxGuestR0Watcom_CTOOL = OPENWATCOM 14 TEMPLATE_VBoxGuestR0Watcom_CXXTOOL = OPENWATCOM 15 TEMPLATE_VBoxGuestR0Watcom_LDTOOL = OPENWATCOM-WL 16 TEMPLATE_VBoxGuestR0Watcom_CINCS = \ 17 $(PATH_TOOL_OPENWATCOM)/h \ 18 $(PATH_TOOL_OPENWATCOM)/h/os2 \ 19 $(PATH_ROOT)/include \ 20 /libc/svn/trunk/libc/include # for os2ddk 21 TEMPLATE_VBoxGuestR0Watcom_CXXINCS = $(TEMPLATE_VBoxGuestR0Watcom_CINCS) 22 TEMPLATE_VBoxGuestR0Watcom_CFLAGS = -s -ze -w4 -d2 -hc -nt=TEXT32 -nc=CODE -4 23 TEMPLATE_VBoxGuestR0Watcom_CXXFLAGS = $(TEMPLATE_VBoxGuestR0Watcom_CFLAGS) 24 25 TEMPLATE_VBoxGuestR0Watcom_LDFLAGS = \ 26 form os2 lx physdevice \ 27 option NODefaultlibs \ 28 debug codeview all \ 29 option symfile 30 TEMPLATE_VBoxGuestR0Watcom_LIBS = $(NO_SUCH_VARIABLE) 31 32 9 33 #?DLLS += VBoxSF 10 34 SYSMODS += VBoxSF 35 ifdef VBOXSF_USE_WATCOM 36 VBoxSF_TEMPLATE = VBoxGuestR0Watcom 37 else 11 38 VBoxSF_TEMPLATE = VBOXGUESTR0 39 endif 12 40 VBoxSF_SYSSUFF = .ifs 13 41 VBoxSF_DLLSUFF = .ifs … … 16 44 . \ 17 45 $(PATH_ROOT)/src/VBox/Runtime/include 46 ifdef VBOXSF_USE_WATCOM 47 VBoxSF_LDFLAGS := \ 48 OPTION MODNAME='VBoxSF' \ 49 SEG TYPE CODE PRELOAD DYNAMIC SHARED NONPERMANENT, \ 50 TYPE DATA PRELOAD DYNAMIC 51 # OPTION DESCRIPTION "'VirtualBox Guest Additions Shared Folder FSD for OS/2.'" - quoting issues 52 # Data exports: 53 VBoxSF_LDFLAGS += \ 54 EXPORT 'FS_ATTRIBUTE' \ 55 EXPORT 'FS_NAME' \ 56 EXPORT 'FS_MPSAFEFLAGS2' \ 57 EXPORT 'FS32_ATTRIBUTE' 58 # 16-bit entry points. 59 VBoxSF_LDFLAGS += \ 60 EXPORT 'FS_ALLOCATEPAGESPACE' \ 61 EXPORT 'FS_ATTACH' \ 62 EXPORT 'FS_CANCELLOCKREQUEST' \ 63 EXPORT 'FS_CANCELLOCKREQUESTL' \ 64 EXPORT 'FS_CHDIR' \ 65 EXPORT 'FS_CHGFILEPTR' \ 66 EXPORT 'FS_CLOSE' \ 67 EXPORT 'FS_COMMIT' \ 68 EXPORT 'FS_COPY' \ 69 EXPORT 'FS_DELETE' \ 70 EXPORT 'FS_DOPAGEIO' \ 71 EXPORT 'FS_EXIT' \ 72 EXPORT 'FS_FILEATTRIBUTE' \ 73 EXPORT 'FS_FILEINFO' \ 74 EXPORT 'FS_FILEIO' \ 75 EXPORT 'FS_FILELOCKS' \ 76 EXPORT 'FS_FILELOCKSL' \ 77 EXPORT 'FS_FINDCLOSE' \ 78 EXPORT 'FS_FINDFIRST' \ 79 EXPORT 'FS_FINDFROMNAME' \ 80 EXPORT 'FS_FINDNEXT' \ 81 EXPORT 'FS_FINDNOTIFYCLOSE' \ 82 EXPORT 'FS_FINDNOTIFYFIRST' \ 83 EXPORT 'FS_FINDNOTIFYNEXT' \ 84 EXPORT 'FS_FLUSHBUF' \ 85 EXPORT 'FS_FSCTL' \ 86 EXPORT 'FS_FSINFO' \ 87 EXPORT 'FS_INIT' \ 88 EXPORT 'FS_IOCTL' \ 89 EXPORT 'FS_MKDIR' \ 90 EXPORT 'FS_MOUNT' \ 91 EXPORT 'FS_MOVE' \ 92 EXPORT 'FS_NEWSIZE' \ 93 EXPORT 'FS_NEWSIZEL' \ 94 EXPORT 'FS_NMPIPE' \ 95 EXPORT 'FS_OPENCREATE' \ 96 EXPORT 'FS_OPENPAGEFILE' \ 97 EXPORT 'FS_PATHINFO' \ 98 EXPORT 'FS_PROCESSNAME' \ 99 EXPORT 'FS_READ' \ 100 EXPORT 'FS_RMDIR' \ 101 EXPORT 'FS_SETSWAP' \ 102 EXPORT 'FS_SHUTDOWN' \ 103 EXPORT 'FS_WRITE' 104 # 32-bit entry points. 105 VBoxSF_LDFLAGS += \ 106 EXPORT 'FS32_CHGFILEPTR' \ 107 EXPORT 'FS32_CHGFILEPTRL' \ 108 EXPORT 'FS32_READ' \ 109 EXPORT 'FS32_READFILEATCACHE' \ 110 EXPORT 'FS32_RETURNFILECACHE' \ 111 EXPORT 'FS32_WRITE' 112 else 18 113 VBoxSF_LDFLAGS := $(addprefix -Zlinker , \ 19 114 SEG TYPE CODE PRELOAD DYNAMIC SHARED NONPERMANENT, \ 20 115 TYPE DATA PRELOAD DYNAMIC) 21 116 #VBoxSF_LDFLAGS += -s -t -v 117 endif 118 22 119 VBoxSF_SOURCES = \ 23 120 VBoxSFA.asm \ … … 25 122 VBoxSFFile.cpp \ 26 123 VBoxSFFind.cpp \ 27 VBoxSFInit.cpp \ 124 VBoxSFInit.cpp 125 ifndef VBOXSF_USE_WATCOM 126 VBoxSF_SOURCES += \ 28 127 VBoxSF.def 128 endif 29 129 VBoxSF_LIBS = \ 30 130 $(VBOX_LIB_VBGL_R0) \ 31 $(VBOX_LIB_IPRT_GUEST_R0) \ 32 $(VBOX_GCC_LIBGCC) \ 33 end 131 $(VBOX_LIB_IPRT_GUEST_R0) 132 ifdef VBOXSF_USE_WATCOM 133 VBoxSF_LIBS += $(PATH_IGCC)/lib/libend.lib 134 else 135 VBoxSF_LIBS += end 136 endif 34 137 35 138 include $(FILE_KBUILD_SUB_FOOTER) -
trunk/src/VBox/Additions/os2/VBoxSF/VBoxSF.cpp
r57358 r68612 44 44 FS32_EXIT(ULONG uid, ULONG pid, ULONG pdb) 45 45 { 46 NOREF(uid); NOREF(pid); NOREF(pdb); 46 47 } 47 48 … … 50 51 FS32_SHUTDOWN(ULONG type, ULONG reserved) 51 52 { 53 NOREF(type); NOREF(reserved); 52 54 return NO_ERROR; 53 55 } … … 55 57 56 58 DECLASM(int) 57 FS32_ATTACH(ULONG f lag, PCSZ pszDev, PVBOXSFVP pvpfsd, PVBOXSFCD pcdfsd, PBYTE pszParm, PUSHORT pcbParm)59 FS32_ATTACH(ULONG fFlags, PCSZ pszDev, PVBOXSFVP pvpfsd, PVBOXSFCD pcdfsd, PBYTE pszParm, PUSHORT pcbParm) 58 60 { 61 NOREF(fFlags); NOREF(pszDev); NOREF(pvpfsd); NOREF(pcdfsd); NOREF(pszParm); NOREF(pcbParm); 59 62 return ERROR_NOT_SUPPORTED; 60 63 } … … 62 65 63 66 DECLASM(int) 64 FS32_FLUSHBUF(USHORT hVPB, ULONG f lag)67 FS32_FLUSHBUF(USHORT hVPB, ULONG fFlags) 65 68 { 69 NOREF(hVPB); NOREF(fFlags); 66 70 return NO_ERROR; 67 71 } … … 69 73 70 74 DECLASM(int) 71 FS32_FSINFO(ULONG f lag, USHORT hVPB, PBYTE pbData, USHORT cbData, ULONG level)75 FS32_FSINFO(ULONG fFlags, USHORT hVPB, PBYTE pbData, USHORT cbData, ULONG uLevel) 72 76 { 77 NOREF(fFlags); NOREF(hVPB); NOREF(pbData); NOREF(cbData); NOREF(uLevel); 73 78 return ERROR_NOT_SUPPORTED; 74 79 } … … 76 81 77 82 DECLASM(int) 78 FS32_FSCTL(union argdat *pArgdat, ULONG iArgType, ULONG func,79 PVOID p Parm, USHORT lenParm, PUSHORT plenParmIO,80 PVOID p Data, USHORT lenData, PUSHORT plenDataIO)83 FS32_FSCTL(union argdat *pArgdat, ULONG iArgType, ULONG uFunction, 84 PVOID pvParm, USHORT cbParm, PUSHORT pcbParmIO, 85 PVOID pvData, USHORT cbData, PUSHORT pcbDataIO) 81 86 { 87 NOREF(pArgdat); NOREF(iArgType); NOREF(uFunction); NOREF(pvParm); NOREF(cbParm); NOREF(pcbParmIO); 88 NOREF(pvData); NOREF(cbData); NOREF(pcbDataIO); 82 89 return ERROR_NOT_SUPPORTED; 83 90 } … … 87 94 FS32_PROCESSNAME(PSZ pszName) 88 95 { 96 NOREF(pszName); 89 97 return NO_ERROR; 90 98 } … … 92 100 93 101 DECLASM(int) 94 FS32_CHDIR(ULONG f lag, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszDir, USHORT iCurDirEnd)102 FS32_CHDIR(ULONG fFlags, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszDir, USHORT iCurDirEnd) 95 103 { 104 NOREF(fFlags); NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszDir); NOREF(iCurDirEnd); 96 105 return ERROR_NOT_SUPPORTED; 97 106 } … … 99 108 100 109 DECLASM(int) 101 FS32_MKDIR(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ psz Name, USHORT iCurDirEnd,102 PBYTE p EABuf, ULONG flag)110 FS32_MKDIR(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszDir, USHORT iCurDirEnd, 111 PBYTE pbEABuf, ULONG fFlags) 103 112 { 113 NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszDir); NOREF(iCurDirEnd); NOREF(pbEABuf); NOREF(fFlags); 104 114 return ERROR_NOT_SUPPORTED; 105 115 } … … 107 117 108 118 DECLASM(int) 109 FS32_RMDIR(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ psz Name, USHORT iCurDirEnd)119 FS32_RMDIR(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszDir, USHORT iCurDirEnd) 110 120 { 121 NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszDir); NOREF(iCurDirEnd); 111 122 return ERROR_NOT_SUPPORTED; 112 123 } … … 114 125 115 126 DECLASM(int) 116 FS32_COPY(USHORT f lag, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszSrc, USHORT iSrcCurDirEnd,117 PCSZ pszDst, USHORT iDstCurDirEnd, USHORT nameType)127 FS32_COPY(USHORT fFlags, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszSrc, USHORT iSrcCurDirEnd, 128 PCSZ pszDst, USHORT iDstCurDirEnd, USHORT uNameType) 118 129 { 130 NOREF(fFlags); NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszSrc); NOREF(iSrcCurDirEnd); 131 NOREF(pszDst); NOREF(iDstCurDirEnd); NOREF(uNameType); 119 132 return ERROR_NOT_SUPPORTED; 120 133 } … … 123 136 DECLASM(int) 124 137 FS32_MOVE(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszSrc, USHORT iSrcCurDirEnd, 125 PCSZ pszDst, USHORT iDstCurDirEnd, USHORT type)138 PCSZ pszDst, USHORT iDstCurDirEnd, USHORT uNameType) 126 139 { 140 NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszSrc); NOREF(iSrcCurDirEnd); NOREF(pszDst); NOREF(iDstCurDirEnd); NOREF(uNameType); 127 141 return ERROR_NOT_SUPPORTED; 128 142 } … … 132 146 FS32_DELETE(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszFile, USHORT iCurDirEnd) 133 147 { 148 NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszFile); NOREF(iCurDirEnd); 134 149 return ERROR_NOT_SUPPORTED; 135 150 } … … 137 152 138 153 DECLASM(int) 139 FS32_FILEATTRIBUTE(ULONG f lag, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, PUSHORT pAttr)154 FS32_FILEATTRIBUTE(ULONG fFlags, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, PUSHORT pfAttr) 140 155 { 156 NOREF(fFlags); NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszName); NOREF(iCurDirEnd); NOREF(pfAttr); 141 157 return ERROR_NOT_SUPPORTED; 142 158 } … … 144 160 145 161 DECLASM(int) 146 FS32_PATHINFO(USHORT f lag, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnt,147 USHORT level, PBYTE pData, USHORT cbData)162 FS32_PATHINFO(USHORT fFlags, PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, 163 USHORT uLevel, PBYTE pbData, USHORT cbData) 148 164 { 165 NOREF(fFlags); NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszName); NOREF(iCurDirEnd); NOREF(uLevel); NOREF(pbData); NOREF(cbData); 149 166 return ERROR_NOT_SUPPORTED; 150 167 } … … 152 169 153 170 DECLASM(int) 154 FS32_MOUNT(USHORT f lag, PVPFSI pvpfsi, PVBOXSFVP pvpfsd, USHORT hVPB, PCSZ pszBoot)171 FS32_MOUNT(USHORT fFlags, PVPFSI pvpfsi, PVBOXSFVP pvpfsd, USHORT hVPB, PCSZ pszBoot) 155 172 { 173 NOREF(fFlags); NOREF(pvpfsi); NOREF(pvpfsd); NOREF(hVPB); NOREF(pszBoot); 156 174 return ERROR_NOT_SUPPORTED; 157 175 } -
trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFFile.cpp
r57358 r68612 43 43 DECLASM(int) 44 44 FS32_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 52 DECLASM(int) 53 FS32_CLOSE(ULONG type, ULONG IOflag, PSFFSI psffsi, PVBOXSFFSD psffsd) 54 { 55 return ERROR_NOT_SUPPORTED; 56 } 57 58 59 DECLASM(int) 60 FS32_COMMIT(ULONG type, ULONG IOflag, PSFFSI psffsi, PVBOXSFFSD psffsd) 61 { 62 return ERROR_NOT_SUPPORTED; 63 } 64 65 66 extern "C" APIRET APIENTRY 67 FS32_CHGFILEPTRL(PSFFSI psffsi, PVBOXSFFSD psffsd, LONGLONG off, ULONG ulMethod, ULONG IOflag) 68 { 45 PSFFSI psffsi, PVBOXSFFSD psffsd, ULONG uOpenMode, USHORT fOpenFlag, 46 PUSHORT puAction, USHORT fAttr, PBYTE pbEABuf, PUSHORT pfGenFlag) 47 { 48 NOREF(pcdfsi); NOREF(pcdfsd); NOREF(pszName); NOREF(iCurDirEnd); NOREF(psffsi); NOREF(psffsd); NOREF(uOpenMode); 49 NOREF(fOpenFlag); NOREF(puAction); NOREF(fAttr); NOREF(pbEABuf); NOREF(pfGenFlag); 50 return ERROR_NOT_SUPPORTED; 51 } 52 53 54 DECLASM(int) 55 FS32_CLOSE(ULONG uType, ULONG fIoFlags, PSFFSI psffsi, PVBOXSFFSD psffsd) 56 { 57 NOREF(uType); NOREF(fIoFlags); NOREF(psffsi); NOREF(psffsd); 58 return ERROR_NOT_SUPPORTED; 59 } 60 61 62 DECLASM(int) 63 FS32_COMMIT(ULONG uType, ULONG fIoFlags, PSFFSI psffsi, PVBOXSFFSD psffsd) 64 { 65 NOREF(uType); NOREF(fIoFlags); NOREF(psffsi); NOREF(psffsd); 66 return ERROR_NOT_SUPPORTED; 67 } 68 69 70 extern "C" APIRET APIENTRY 71 FS32_CHGFILEPTRL(PSFFSI psffsi, PVBOXSFFSD psffsd, LONGLONG off, ULONG uMethod, ULONG fIoFlags) 72 { 73 NOREF(psffsi); NOREF(psffsd); NOREF(off); NOREF(uMethod); NOREF(fIoFlags); 69 74 return ERROR_NOT_SUPPORTED; 70 75 } … … 73 78 /** Forwards the call to FS32_CHGFILEPTRL. */ 74 79 extern "C" APIRET APIENTRY 75 FS32_CHGFILEPTR(PSFFSI psffsi, PVBOXSFFSD psffsd, LONG off, ULONG ulMethod, ULONG IOflag) 76 { 77 return FS32_CHGFILEPTRL(psffsi, psffsd, off, ulMethod, IOflag); 78 } 79 80 DECLASM(int) 81 FS32_FILEINFO(ULONG flag, PSFFSI psffsi, PVBOXSFFSD psffsd, ULONG level, 82 PBYTE pData, ULONG cbData, ULONG IOflag) 83 { 84 return ERROR_NOT_SUPPORTED; 85 } 86 87 DECLASM(int) 88 FS32_NEWSIZEL(PSFFSI psffsi, PVBOXSFFSD psffsd, LONGLONG cbFile, ULONG IOflag) 89 { 90 return ERROR_NOT_SUPPORTED; 91 } 92 93 94 extern "C" APIRET APIENTRY 95 FS32_READ(PSFFSI psffsi, PVBOXSFFSD psffsd, PVOID pvData, PULONG pcb, ULONG IOflag) 96 { 97 return ERROR_NOT_SUPPORTED; 98 } 99 100 101 extern "C" APIRET APIENTRY 102 FS32_WRITE(PSFFSI psffsi, PVBOXSFFSD psffsd, PVOID pvData, PULONG pcb, ULONG IOflag) 103 { 104 return ERROR_NOT_SUPPORTED; 105 } 106 107 108 extern "C" APIRET APIENTRY 109 FS32_READFILEATCACHE(PSFFSI psffsi, PVBOXSFFSD psffsd, ULONG IOflag, LONGLONG off, ULONG pcb, KernCacheList_t **ppCacheList) 110 { 80 FS32_CHGFILEPTR(PSFFSI psffsi, PVBOXSFFSD psffsd, LONG off, ULONG uMethod, ULONG fIoFlags) 81 { 82 return FS32_CHGFILEPTRL(psffsi, psffsd, off, uMethod, fIoFlags); 83 } 84 85 DECLASM(int) 86 FS32_FILEINFO(ULONG fFlag, PSFFSI psffsi, PVBOXSFFSD psffsd, ULONG uLevel, 87 PBYTE pbData, ULONG cbData, ULONG fIoFlags) 88 { 89 NOREF(fFlag); NOREF(psffsi); NOREF(psffsd); NOREF(uLevel); NOREF(pbData); NOREF(cbData); NOREF(fIoFlags); 90 return ERROR_NOT_SUPPORTED; 91 } 92 93 DECLASM(int) 94 FS32_NEWSIZEL(PSFFSI psffsi, PVBOXSFFSD psffsd, LONGLONG cbFile, ULONG fIoFlags) 95 { 96 NOREF(psffsi); NOREF(psffsd); NOREF(cbFile); NOREF(fIoFlags); 97 return ERROR_NOT_SUPPORTED; 98 } 99 100 101 extern "C" APIRET APIENTRY 102 FS32_READ(PSFFSI psffsi, PVBOXSFFSD psffsd, PVOID pvData, PULONG pcb, ULONG fIoFlags) 103 { 104 NOREF(psffsi); NOREF(psffsd); NOREF(pvData); NOREF(pcb); NOREF(fIoFlags); 105 return ERROR_NOT_SUPPORTED; 106 } 107 108 109 extern "C" APIRET APIENTRY 110 FS32_WRITE(PSFFSI psffsi, PVBOXSFFSD psffsd, PVOID pvData, PULONG pcb, ULONG fIoFlags) 111 { 112 NOREF(psffsi); NOREF(psffsd); NOREF(pvData); NOREF(pcb); NOREF(fIoFlags); 113 return ERROR_NOT_SUPPORTED; 114 } 115 116 117 extern "C" APIRET APIENTRY 118 FS32_READFILEATCACHE(PSFFSI psffsi, PVBOXSFFSD psffsd, ULONG fIoFlags, LONGLONG off, ULONG pcb, KernCacheList_t **ppCacheList) 119 { 120 NOREF(psffsi); NOREF(psffsd); NOREF(fIoFlags); NOREF(off); NOREF(pcb); NOREF(ppCacheList); 111 121 return ERROR_NOT_SUPPORTED; 112 122 } … … 116 126 FS32_RETURNFILECACHE(KernCacheList_t *pCacheList) 117 127 { 128 NOREF(pCacheList); 118 129 return ERROR_NOT_SUPPORTED; 119 130 } … … 125 136 FS32_CANCELLOCKREQUESTL(PSFFSI psffsi, PVBOXSFFSD psffsd, struct filelockl *pLockRange) 126 137 { 138 NOREF(psffsi); NOREF(psffsd); NOREF(pLockRange); 127 139 return ERROR_NOT_SUPPORTED; 128 140 } … … 132 144 FS32_CANCELLOCKREQUEST(PSFFSI psffsi, PVBOXSFFSD psffsd, struct filelock *pLockRange) 133 145 { 146 NOREF(psffsi); NOREF(psffsd); NOREF(pLockRange); 134 147 return ERROR_NOT_SUPPORTED; 135 148 } … … 138 151 DECLASM(int) 139 152 FS32_FILELOCKSL(PSFFSI psffsi, PVBOXSFFSD psffsd, struct filelockl *pUnLockRange, 140 struct filelockl *pLockRange, ULONG timeout, ULONG flags) 141 { 153 struct filelockl *pLockRange, ULONG cMsTimeout, ULONG fFlags) 154 { 155 NOREF(psffsi); NOREF(psffsd); NOREF(pUnLockRange); NOREF(pLockRange); NOREF(cMsTimeout); NOREF(fFlags); 142 156 return ERROR_NOT_SUPPORTED; 143 157 } … … 146 160 DECLASM(int) 147 161 FS32_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 154 DECLASM(int) 155 FS32_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 163 DECLASM(int) 164 FS32_FILEIO(PSFFSI psffsi, PVBOXSFFSD psffsd, PBYTE pCmdList, USHORT cbCmdList, 165 PUSHORT poError, USHORT IOflag) 166 { 167 return ERROR_NOT_SUPPORTED; 168 } 169 170 171 DECLASM(int) 172 FS32_NMPIPE(PSFFSI psffsi, PVBOXSFFSD psffsd, USHORT OpType, union npoper *pOpRec, 173 PBYTE pData, PCSZ pszName) 174 { 175 return ERROR_NOT_SUPPORTED; 176 } 177 178 179 DECLASM(int) 180 FS32_OPENPAGEFILE(PULONG pFlag, PULONG pcMaxReq, PCSZ pszName, PSFFSI psffsi, PVBOXSFFSD psffsd, 181 USHORT ulOpenMode, USHORT usOpenFlag, USHORT usAttr, ULONG Reserved) 182 { 162 struct filelock *pLockRange, ULONG cMsTimeout, ULONG fFlags) 163 { 164 NOREF(psffsi); NOREF(psffsd); NOREF(pUnLockRange); NOREF(pLockRange); NOREF(cMsTimeout); NOREF(fFlags); 165 return ERROR_NOT_SUPPORTED; 166 } 167 168 169 DECLASM(int) 170 FS32_IOCTL(PSFFSI psffsi, PVBOXSFFSD psffsd, USHORT uCategory, USHORT uFunction, 171 PVOID pvParm, USHORT cbParm, PUSHORT pcbParmIO, 172 PVOID pvData, USHORT cbData, PUSHORT pcbDataIO) 173 { 174 NOREF(psffsi); NOREF(psffsd); NOREF(uCategory); NOREF(uFunction); NOREF(pvParm); NOREF(cbParm); NOREF(pcbParmIO); 175 NOREF(pvData); NOREF(cbData); NOREF(pcbDataIO); 176 return ERROR_NOT_SUPPORTED; 177 } 178 179 180 DECLASM(int) 181 FS32_FILEIO(PSFFSI psffsi, PVBOXSFFSD psffsd, PBYTE pbCmdList, USHORT cbCmdList, 182 PUSHORT poffError, USHORT fIoFlag) 183 { 184 NOREF(psffsi); NOREF(psffsd); NOREF(pbCmdList); NOREF(cbCmdList); NOREF(poffError); NOREF(fIoFlag); 185 return ERROR_NOT_SUPPORTED; 186 } 187 188 189 DECLASM(int) 190 FS32_NMPIPE(PSFFSI psffsi, PVBOXSFFSD psffsd, USHORT uOpType, union npoper *pOpRec, 191 PBYTE pbData, PCSZ pszName) 192 { 193 NOREF(psffsi); NOREF(psffsd); NOREF(uOpType); NOREF(pOpRec); NOREF(pbData); NOREF(pszName); 194 return ERROR_NOT_SUPPORTED; 195 } 196 197 198 DECLASM(int) 199 FS32_OPENPAGEFILE(PULONG pfFlags, PULONG pcMaxReq, PCSZ pszName, PSFFSI psffsi, PVBOXSFFSD psffsd, 200 USHORT uOpenMode, USHORT fOpenFlags, USHORT fAttr, ULONG uReserved) 201 { 202 NOREF(pfFlags); NOREF(pcMaxReq); NOREF(pszName); NOREF(psffsi); NOREF(psffsd); NOREF(uOpenMode); NOREF(fOpenFlags); 203 NOREF(fAttr); NOREF(uReserved); 183 204 return ERROR_NOT_SUPPORTED; 184 205 } … … 188 209 FS32_SETSWAP(PSFFSI psffsi, PVBOXSFFSD psffsd) 189 210 { 211 NOREF(psffsi); NOREF(psffsd); 190 212 return ERROR_NOT_SUPPORTED; 191 213 } … … 195 217 FS32_ALLOCATEPAGESPACE(PSFFSI psffsi, PVBOXSFFSD psffsd, ULONG cb, USHORT cbWantContig) 196 218 { 219 NOREF(psffsi); NOREF(psffsd); NOREF(cb); NOREF(cbWantContig); 197 220 return ERROR_NOT_SUPPORTED; 198 221 } … … 202 225 FS32_DOPAGEIO(PSFFSI psffsi, PVBOXSFFSD psffsd, struct PageCmdHeader *pList) 203 226 { 204 return ERROR_NOT_SUPPORTED; 205 } 206 227 NOREF(psffsi); NOREF(psffsd); NOREF(pList); 228 return ERROR_NOT_SUPPORTED; 229 } 230 -
trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFFind.cpp
r57358 r68612 41 41 42 42 DECLASM(int) 43 FS32_FINDFIRST(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, USHORT attr,43 FS32_FINDFIRST(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, USHORT fAttr, 44 44 PFSFSI pfsfsi, PVBOXSFFS pfsfsd, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, 45 USHORT level, USHORT flags)45 USHORT uLevel, USHORT fFlags) 46 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); 47 49 return ERROR_NOT_SUPPORTED; 48 50 } … … 51 53 DECLASM(int) 52 54 FS32_FINDFROMNAME(PFSFSI pfsfsi, PVBOXSFFS pfsfsd, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, 53 USHORT level, ULONG position, PCSZ pszName, USHORT flag)55 USHORT uLevel, ULONG position, PCSZ pszName, USHORT fFlags) 54 56 { 57 NOREF(pfsfsi); NOREF(pfsfsd); NOREF(pbData); NOREF(cbData); NOREF(pcMatch); NOREF(uLevel); NOREF(position); NOREF(pszName); 58 NOREF(fFlags); 55 59 return ERROR_NOT_SUPPORTED; 56 60 } … … 59 63 DECLASM(int) 60 64 FS32_FINDNEXT(PFSFSI pfsfsi, PVBOXSFFS pfsfsd, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, 61 USHORT level, USHORT flag)65 USHORT uLevel, USHORT fFlags) 62 66 { 67 NOREF(pfsfsi); NOREF(pfsfsd); NOREF(pbData); NOREF(cbData); NOREF(pcMatch); NOREF(uLevel); NOREF(fFlags); 63 68 return ERROR_NOT_SUPPORTED; 64 69 } … … 68 73 FS32_FINDCLOSE(PFSFSI pfsfsi, PVBOXSFFS pfsfsd) 69 74 { 75 NOREF(pfsfsi); NOREF(pfsfsd); 70 76 return ERROR_NOT_SUPPORTED; 71 77 } … … 76 82 77 83 DECLASM(int) 78 FS32_FINDNOTIFYFIRST(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, USHORT attr,79 PUSHORT p Handle, PBYTE pbData, USHORT cbData, PUSHORT pcMatch,80 USHORT level, USHORT flags)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) 81 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); 82 90 return ERROR_NOT_SUPPORTED; 83 91 } … … 85 93 86 94 DECLASM(int) 87 FS32_FINDNOTIFYNEXT(USHORT h andle, PBYTE pbData, USHORT cbData, PUSHORT pcMatch,88 USHORT level, ULONG timeout)95 FS32_FINDNOTIFYNEXT(USHORT hHandle, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, 96 USHORT uLevel, ULONG cMsTimeout) 89 97 { 98 NOREF(hHandle); NOREF(pbData); NOREF(cbData); NOREF(pcMatch); NOREF(uLevel); NOREF(cMsTimeout); 90 99 return ERROR_NOT_SUPPORTED; 91 100 } … … 93 102 94 103 DECLASM(int) 95 FS32_FINDNOTIFYCLOSE(USHORT h andle)104 FS32_FINDNOTIFYCLOSE(USHORT hHandle) 96 105 { 106 NOREF(hHandle); 97 107 return ERROR_NOT_SUPPORTED; 98 108 } -
trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFInternal.h
r3655 r68612 35 35 #define INCL_BASE 36 36 #define INCL_ERROR 37 #define INCL_LONGLONG 37 38 #include <os2.h> 38 39 #include <os2ddk/bsekee.h>
Note:
See TracChangeset
for help on using the changeset viewer.