#+build windows package sys_windows foreign import uxtheme "system:UxTheme.lib" MARGINS :: distinct [4]i32 PMARGINS :: ^MARGINS @(default_calling_convention="system") foreign uxtheme { IsThemeActive :: proc() -> BOOL --- SetWindowTheme :: proc(hWnd: HWND, pszSubAppName, pszSubIdList: LPCWSTR) -> HRESULT --- }