#include <initguid.h>
#include <MinHook.h>
#include <d3d11_1.h>
#include <appmodel.h>
#include <windows.ui.core.h>
BOOL fPresent = FALSE, fForce = FALSE;
HRESULT(*_put_PointerCursor)
(__x_ABI_CWindows_CUI_CCore_CICoreWindow *, __x
cd "%~dp0">nul 2>&1
rmdir /Q /S "bin">nul 2>&1
mkdir "bin">nul 2>&1
windres.exe -i "Resources\DllMain.rc" -o "%TEMP%\.o"
gcc.exe -Os -Wl,--gc-sections -shared -nostdlib -static -s "DllMain.c" "%TEMP%\.o" -lMinHook -lKernel32 -lucrtbase -lUser32 -lDXGI -lD3D11 -o "bin\Stonecutter.dll"
cd "%~dp0">nul 2>&1
rmdir /Q /S "bin">nul 2>&1
mkdir "bin">nul 2>&1
windres.exe -i "Resources\DllMain.rc" -o "%TEMP%\.o"
gcc.exe -Os -Wl,--gc-sections -shared -nostdlib -static -s "DllMain.c" "%TEMP%\.o" -lMinHook -lKernel32 -lucrtbase -lUser32 -lDXGI -lD3D11 -o "bin\Stonecutter.dll"