        hdc = BeginPaint(hwnd, &ps);
        Memhdc = CreateCompatibleDC(hdc);
        Membitmap = CreateCompatibleBitmap(hdc, win_width, win_height);
        SelectObject(Memhdc, Membitmap);
        FillRect(Memhdc, &WBounds, WHITE_BRUSH);
 
        view_matrix_t vm = RPM<view_matrix_t>(moduleBase + dwViewMatrix);