[MOUNTMGR_APITEST] Dump offsets

That shows that some offset are shared (everything but the symlinks)
This commit is contained in:
Pierre Schweitzer 2019-10-19 18:00:36 +02:00
parent a53992180d
commit 67d3fbdd97
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

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