| 770 | } |
| 771 | |
| 772 | ATOM MSWindowsScreen::createWindowClass() const |
| 773 | { |
| 774 | WNDCLASSEX classInfo; |
| 775 | classInfo.cbSize = sizeof(classInfo); |
| 776 | classInfo.style = CS_DBLCLKS | CS_NOCLOSE; |
| 777 | classInfo.lpfnWndProc = &MSWindowsScreen::wndProc; |
| 778 | classInfo.cbClsExtra = 0; |
| 779 | classInfo.cbWndExtra = 0; |
| 780 | classInfo.hInstance = s_windowInstance; |
| 781 | classInfo.hIcon = nullptr; |
| 782 | classInfo.hCursor = nullptr; |
| 783 | classInfo.hbrBackground = nullptr; |
| 784 | classInfo.lpszMenuName = nullptr; |
| 785 | classInfo.lpszClassName = LPCWSTR(kAppName); |
| 786 | classInfo.hIconSm = nullptr; |
| 787 | return RegisterClassEx(&classInfo); |
| 788 | } |
| 789 | |
| 790 | void MSWindowsScreen::destroyClass(ATOM windowClass) const |
| 791 | { |
nothing calls this directly
no outgoing calls
no test coverage detected