package:win32 v6.2.0
6.2.0 - 2026-05-07
🚀 Features
-
Add
OsVersionclass for reliable Windows version detection and OS baseline
checks. UseOsVersion.currentto retrieve the running version and the
relational operators (<,<=,>=,>) to range-check it against
well-known baselines (OsVersion.win10,OsVersion.win11, etc.). -
Add extension methods on
GUIDfor comparison and ordering:compareTo(),
isEqualTo(), and the relational operators (<,<=,>=,>). Useful for
usingGUIDas a key in sorted collections such asSplayTreeMap. -
Add
GET_X_LPARAM()andGET_Y_LPARAM()macros for correctly extracting
signed x/y cursor coordinates from Windows message parameters. Unlike
LOWORD()/HIWORD(), these macros handle negative coordinates that occur
when a secondary display is positioned to the left of or above the primary
display.
🐛 Bug Fixes
- Fix
IsWindowsServer()using the wrong constant.