Using a hardware SDK to create a custom module, need proper linux include and HWND context.

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

Here’s the includes section I have for the module…the SDK has the ifdef UNIX in it…but I fear that’s not correct for godot linux because the HWND is not recognized…

#include <stdio.h>
#include "reference.h"
#include "isense.h"
#ifdef UNIX
    #include <unistd.h>
#endif

Here’s the code that needs the HWND:

pTrackerHandle = ISD_OpenTracker((HWND)NULL, 0, FALSE, FALSE);

What changes do I need to make to get this call to work?

:bust_in_silhouette: Reply From: lehthanis

Figured it out. it’s Hwnd, not HWND.