IopSymlinkGetRelatedMountPoint

_RELATIVE_SYMLINK_INFO *__stdcall IopSymlinkGetRelatedMountPoint(
        _RELATIVE_SYMLINK_INFO *MountPointInfo,
        UINT16 ExposedNamespace){
  if( !MountPointInfo )
    return MountPointInfo;
  do
  {
    if( (MountPointInfo->Flags & 1) == 0 )
      break;
    if( MountPointInfo->ExposedNamespaceLength > ExposedNamespace )
      break;
    MountPointInfo = MountPointInfo->InteriorMountPoint;
  }
  while( MountPointInfo );
  if( MountPointInfo && (MountPointInfo->Flags & 1) == 0 )
    return 0i64;
  else
    return MountPointInfo;
}

Referenced by:

IopGraftName
IopSymlinkRememberJunction