Add GetWindow API call and constants.