I find WinAPI a very messy, inconsistent hulk of mostly obsolete code. I prefer not to use it when possible.