IsProcessDPIAware is Vista only, but the code which detects Vista should work on XP, too (if it didn't, we'd be hearing about crashes from XP users when they go into the system info screen, that's where I took the code from).