Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The entire structure is also documented on MSDN with all possible values - https://learn.microsoft.com/en-us/windows/win32/sbscs/applic....

While MSDN is a bit impractical to browse (there's simply so much stuff in there) it's usually the best place to go to for documentation when doing Windows dev.



Strongly disagree. There's way too much mystery and magic number usage in the official documentation.


The magic numbers (hashes and UUIDs) sort of make sense because there's a slightly adversarial interaction between developers and Microsoft. If you just had a compatibleWindowsMin and compatibleWindowsMax field with version numbers, people would just go ahead and put "9999" in the max field, and then OS upgrades break applications again. By using UUIDs instead, an application developer can't intentionally or unintentionally declare compatibility with unreleased Windows versions.


Can you recommend any good alternatives for someone looking to learn programming using windows APIs?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: