Windows API Wrapper in C++