The casements library adapts a few bits of the Win32 API for C++.