| 704 | } |
| 705 | |
| 706 | HWNDHolder createWindow (DWORD style, int w, int h, void* userData) |
| 707 | { |
| 708 | if (auto hwnd = CreateWindowW (classAtom, L"", style, CW_USEDEFAULT, CW_USEDEFAULT, |
| 709 | w, h, nullptr, nullptr, moduleHandle, nullptr)) |
| 710 | { |
| 711 | SetWindowLongPtr (hwnd, GWLP_USERDATA, (LONG_PTR) userData); |
| 712 | return hwnd; |
| 713 | } |
| 714 | |
| 715 | return {}; |
| 716 | } |
| 717 | |
| 718 | auto getClassName() const { return classAtom; } |
| 719 |
no outgoing calls
no test coverage detected