MCPcopy Create free account
hub / github.com/deskflow/deskflow / createWindowClass

Method createWindowClass

src/lib/platform/MSWindowsScreen.cpp:772–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770}
771
772ATOM 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
790void MSWindowsScreen::destroyClass(ATOM windowClass) const
791{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected