diff options
Diffstat (limited to 'src/VBox/HostServices')
-rw-r--r-- | src/VBox/HostServices/SharedFolders/testcase/tstShflSizes.cpp | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/src/VBox/HostServices/SharedFolders/testcase/tstShflSizes.cpp b/src/VBox/HostServices/SharedFolders/testcase/tstShflSizes.cpp index 9d1a0632df6..c4caaaa6147 100644 --- a/src/VBox/HostServices/SharedFolders/testcase/tstShflSizes.cpp +++ b/src/VBox/HostServices/SharedFolders/testcase/tstShflSizes.cpp @@ -70,56 +70,56 @@ int main(int argc, char **argv) * Therefore this testcase verifies whether structure sizes are correct for the current ARCH_BITS. */ # if ARCH_BITS == 64 - STRUCT(VBoxSFQueryMappings, 64); - STRUCT(VBoxSFQueryMapName, 48); - STRUCT(VBoxSFMapFolder_Old, 64); - STRUCT(VBoxSFMapFolder, 80); - STRUCT(VBoxSFUnmapFolder, 32); - STRUCT(VBoxSFCreate, 64); - STRUCT(VBoxSFClose, 48); - STRUCT(VBoxSFRead, 96); - STRUCT(VBoxSFWrite, 96); - STRUCT(VBoxSFLock, 96); - STRUCT(VBoxSFFlush, 48); - STRUCT(VBoxSFList, 144); - STRUCT(VBoxSFInformation, 96); - STRUCT(VBoxSFRemove, 64); - STRUCT(VBoxSFRename, 80); + STRUCT(VBoxSFQueryMappings, 88); + STRUCT(VBoxSFQueryMapName, 72); + STRUCT(VBoxSFMapFolder_Old, 88); + STRUCT(VBoxSFMapFolder, 104); + STRUCT(VBoxSFUnmapFolder, 56); + STRUCT(VBoxSFCreate, 88); + STRUCT(VBoxSFClose, 72); + STRUCT(VBoxSFRead, 120); + STRUCT(VBoxSFWrite, 120); + STRUCT(VBoxSFLock, 120); + STRUCT(VBoxSFFlush, 72); + STRUCT(VBoxSFList, 168); + STRUCT(VBoxSFInformation, 120); + STRUCT(VBoxSFRemove, 88); + STRUCT(VBoxSFRename, 104); # elif ARCH_BITS == 32 - STRUCT(VBoxSFQueryMappings, 52); - STRUCT(VBoxSFQueryMapName, 40); /* this was changed from 52 in 21976 after VBox-1.4. */ - STRUCT(VBoxSFMapFolder_Old, 52); - STRUCT(VBoxSFMapFolder, 64); - STRUCT(VBoxSFUnmapFolder, 28); - STRUCT(VBoxSFCreate, 52); - STRUCT(VBoxSFClose, 40); - STRUCT(VBoxSFRead, 76); - STRUCT(VBoxSFWrite, 76); - STRUCT(VBoxSFLock, 76); - STRUCT(VBoxSFFlush, 40); - STRUCT(VBoxSFList, 112); - STRUCT(VBoxSFInformation, 76); - STRUCT(VBoxSFRemove, 52); - STRUCT(VBoxSFRename, 64); + STRUCT(VBoxSFQueryMappings, 24+52); + STRUCT(VBoxSFQueryMapName, 24+40); /* this was changed from 52 in 21976 after VBox-1.4. */ + STRUCT(VBoxSFMapFolder_Old, 24+52); + STRUCT(VBoxSFMapFolder, 24+64); + STRUCT(VBoxSFUnmapFolder, 24+28); + STRUCT(VBoxSFCreate, 24+52); + STRUCT(VBoxSFClose, 24+40); + STRUCT(VBoxSFRead, 24+76); + STRUCT(VBoxSFWrite, 24+76); + STRUCT(VBoxSFLock, 24+76); + STRUCT(VBoxSFFlush, 24+40); + STRUCT(VBoxSFList, 24+112); + STRUCT(VBoxSFInformation, 24+76); + STRUCT(VBoxSFRemove, 24+52); + STRUCT(VBoxSFRename, 24+64); # else # error "Unsupported ARCH_BITS" # endif /* ARCH_BITS */ #else - STRUCT(VBoxSFQueryMappings, 52); - STRUCT(VBoxSFQueryMapName, 40); /* this was changed from 52 in 21976 after VBox-1.4. */ - STRUCT(VBoxSFMapFolder_Old, 52); - STRUCT(VBoxSFMapFolder, 64); - STRUCT(VBoxSFUnmapFolder, 28); - STRUCT(VBoxSFCreate, 52); - STRUCT(VBoxSFClose, 40); - STRUCT(VBoxSFRead, 76); - STRUCT(VBoxSFWrite, 76); - STRUCT(VBoxSFLock, 76); - STRUCT(VBoxSFFlush, 40); - STRUCT(VBoxSFList, 112); - STRUCT(VBoxSFInformation, 76); - STRUCT(VBoxSFRemove, 52); - STRUCT(VBoxSFRename, 64); + STRUCT(VBoxSFQueryMappings, 24+52); + STRUCT(VBoxSFQueryMapName, 24+40); /* this was changed from 52 in 21976 after VBox-1.4. */ + STRUCT(VBoxSFMapFolder_Old, 24+52); + STRUCT(VBoxSFMapFolder, 24+64); + STRUCT(VBoxSFUnmapFolder, 24+28); + STRUCT(VBoxSFCreate, 24+52); + STRUCT(VBoxSFClose, 24+40); + STRUCT(VBoxSFRead, 24+76); + STRUCT(VBoxSFWrite, 24+76); + STRUCT(VBoxSFLock, 24+76); + STRUCT(VBoxSFFlush, 24+40); + STRUCT(VBoxSFList, 24+112); + STRUCT(VBoxSFInformation, 24+76); + STRUCT(VBoxSFRemove, 24+52); + STRUCT(VBoxSFRename, 24+64); #endif /* VBOX_WITH_64_BITS_GUESTS */ /* |