[MOUNTMGR_APITEST] Dump offsets
authorPierre Schweitzer <pierre@reactos.org>
Sat, 19 Oct 2019 16:00:36 +0000 (18:00 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 19 Oct 2019 16:00:36 +0000 (18:00 +0200)
That shows that some offset are shared (everything but the symlinks)

modules/rostests/apitests/mountmgr/QueryPoints.c

index e0341ae..a56b149 100644 (file)
@@ -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));
 }