Will this code work for Windows' Sticky Keys?

I'm using SDL Input and one of my principle controls is the [Shift] key. But, on WindowsXP, prolonged use of the [Shift] key makes windows think I want to use Sticky Keys which seriously messes with the game. I get my rocket tanks flying off the top of the screen (Thanks Microsoft! :evil: )

Will this code prevent that?