Basic Win32 plumbing classes in C++