Multitouch use on Win Desktop

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ImNotDenisLeary
:warning: Old Version Published before Godot 3 was released.

So I am trying to get some multitouch support going for windows and I was going through the os_windows file where I noticed that the ‘RegisterTouchWindow’ method was commented out.

In order to get to use the multitouch functions properly, the window needs to call this method.

A problem I get, is that I can’t compile when I uncomment the method, I get the following error:
“error: ‘RegisterTouchWindow’ was not declared in this scope”

I’m currently not using VS to compile (I use minGW32), so that could also be a reason why I can’t compile Godot while this method is uncommented.

So my question is, is it not possible to compile the Godot when using this method?
That could be the reason why the method is commented out in the first place, or is it for some other reason the devs commented out this method?

[EDIT]
To shed some light into this issue, a colleague of mine noticed that the windows header, which is needed for the method, was pointing at a file within the minGW structure. And this particular file doesn’t have the ‘RegisterTouchWindow’ method.

So changing the path manually, so it points to a windows.h file (from the Windows SDK), the engine compiles without the error.

This surely breaks the cross-platform compilation when compiling with the minGW compiler, but for the time being, this sollution seems to work.