tools.ps.windows: use offset-of instead.