MCPcopy Create free account
hub / github.com/0x7c13/UnityEditor-DarkMode / IsWndClass

Function IsWndClass

UnityEditorDarkMode.cpp:133–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131HHOOK g_hook = nullptr;
132
133bool IsWndClass(HWND hWnd, const TCHAR* classname) {
134 TCHAR buf[512];
135 GetClassName(hWnd, buf, 512);
136 return _wcsicmp(classname, buf) == 0;
137}
138
139bool IsUnityWndClass(HWND hWnd) {
140 return IsWndClass(hWnd, L"UnityContainerWndClass");

Callers 3

IsUnityWndClassFunction · 0.85
CBTProcFunction · 0.85
CallWndSubClassProcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected