Add deprcated macro to newly deprecated Window API