Win32: Using class inheritance for windows.