From 67d3fbdd97ef967573b7405e4310ae4bdfd8d7f0 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sat, 19 Oct 2019 18:00:36 +0200 Subject: [PATCH] [MOUNTMGR_APITEST] Dump offsets That shows that some offset are shared (everything but the symlinks) --- modules/rostests/apitests/mountmgr/QueryPoints.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/rostests/apitests/mountmgr/QueryPoints.c b/modules/rostests/apitests/mountmgr/QueryPoints.c index e0341aec7d1..a56b1496606 100644 --- a/modules/rostests/apitests/mountmgr/QueryPoints.c +++ b/modules/rostests/apitests/mountmgr/QueryPoints.c @@ -12,7 +12,9 @@ TraceMountPoint(PMOUNTMGR_MOUNT_POINTS MountPoints, PMOUNTMGR_MOUNT_POINT MountPoint) { trace("MountPoint: %p\n", MountPoint); + trace("\tSymbolicOffset: %ld\n", MountPoint->SymbolicLinkNameOffset); trace("\tSymbolicLinkName: %.*S\n", MountPoint->SymbolicLinkNameLength / sizeof(WCHAR), (PWSTR)((ULONG_PTR)MountPoints + MountPoint->SymbolicLinkNameOffset)); + trace("\tDeviceOffset: %ld\n", MountPoint->DeviceNameOffset); trace("\tDeviceName: %.*S\n", MountPoint->DeviceNameLength / sizeof(WCHAR), (PWSTR)((ULONG_PTR)MountPoints + MountPoint->DeviceNameOffset)); }