This is a quick'n'dirty library that sits between wintab32.dll and logs all of the API calls, so that you can examine a program's Wintab usage. It is ultimately based on generated code from Winedump, though it is standalone and only needs MinGW-w64 to compile.
Because this library is so simple, it just uses a simple GNUmakefile. By default, it will build for both 32-bit (x86) and 64-bit (x86-64) targets, though you can use the x86/x64 targets instead:
make x86 # build only 32-bit
make x64 # build only 64-bitBy default, it assumes the compilers are i686-w64-mingw32-g++ and x86_64-w64-mingw32-g++. If this is not true for your setup, you can override it by passing CXX32 and CXX64 to the make invocation:
make CXX32=g++ x86By default, logs go to stderr. If you want to send the logs to file, you can set the environment variable WINTAB_LOG to a filename, and that file will be used instead.
By default, Wintab-Interposer will try to find the real Wintab32 from the system directory. If it fails, it will try to load a library called wintab32_real. If both fail, it will log then abort.