Implement GetLocation under Windows