MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / Unregister

Method Unregister

TranslucentTB/windows/windowclass.cpp:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void WindowClass::Unregister()
24{
25 if (!UnregisterClass(atom(), m_hInstance))
26 {
27 LastErrorHandle(spdlog::level::info, L"Failed to unregister window class.");
28 }
29}
30
31WindowClass::WindowClass(WNDPROC procedure, Util::null_terminated_wstring_view className, const wchar_t *iconResource, HINSTANCE hInstance, unsigned int style, HBRUSH brush, HCURSOR cursor) :
32 m_hInstance(hInstance)

Callers 1

UnregisterSinkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected