https://git.reactos.org/?p=reactos.git;a=commitdiff;h=67d3fbdd97ef967573b7405e4310ae4bdfd8d7f0

commit 67d3fbdd97ef967573b7405e4310ae4bdfd8d7f0
Author:     Pierre Schweitzer <pie...@reactos.org>
AuthorDate: Sat Oct 19 18:00:36 2019 +0200
Commit:     Pierre Schweitzer <pie...@reactos.org>
CommitDate: Sat Oct 19 18:00:36 2019 +0200

    [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));
 }
 

Reply via email to