All things related to window and input you can find in FViewport
https://docs.unrealengine.com/latest/INT/API/RuntimeModules/Engine/FViewport/index.html
And there you can find things like that :
To get instace of your viewport from:
GEngine->GameViewport