winfo is a simple Windows utility written in Odin to display window information, such as class names or extended style information.
winfo is in deep alpha right now, and is prone to bugs.
Prerequisites to build winfo:
- Windows (winfo only supports Windows)
- Installed
zig v0.13or later (can be any C compiler, butzig ccis portable and configured in the Lua build script) - Installed
odin dev-2025-2or later - Installed any
luainterpreter to use the build script
Steps to build:
- Clone the repo with the
odin-httpsubmodule - cd into the main repo directory
- If using the lua build script and having the prerequisites, simply run
lua build.luaorlua build.lua -windowsto build in the windows subsystem - If not using the lua build script, compile the c code in
./cinto a static library namedwinfo_utils.libin the main repo dir, (optionally) compile the resource file withrc, then useodin build . -linker:lldto compile the main binary (to include the resource file you can use:-extra-linker-flags:"winfo.res"). You can see the commands and their order inbuild.lua.
- If using the lua build script and having the prerequisites, simply run