Classic Theme Explorer: comment out debug prints that broke compilation on Windhawk v1.1
This commit is contained in:
parent
42ed283bfe
commit
2846a0bb50
1 changed files with 5 additions and 5 deletions
|
@ -333,16 +333,16 @@ UINT g_subclassRegisteredMsg = RegisterWindowMessage(L"Windhawk_SetWindowSubclas
|
||||||
|
|
||||||
LRESULT CALLBACK ClassicThemeExplorerSubClass(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR uIdSubclass, DWORD_PTR dwRefData) {
|
LRESULT CALLBACK ClassicThemeExplorerSubClass(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR uIdSubclass, DWORD_PTR dwRefData) {
|
||||||
if (uMsg == WM_DESTROY) {
|
if (uMsg == WM_DESTROY) {
|
||||||
Wh_Log("[Destroy] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam);
|
//Wh_Log(L"[Destroy] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam);
|
||||||
RemoveWindowSubclass(hWnd, ClassicThemeExplorerSubClass, 0);
|
RemoveWindowSubclass(hWnd, ClassicThemeExplorerSubClass, 0);
|
||||||
} else if (uMsg == g_subclassRegisteredMsg && !wParam) {
|
} else if (uMsg == g_subclassRegisteredMsg && !wParam) {
|
||||||
Wh_Log("[Unsub] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam);
|
//Wh_Log(L"[Unsub] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam);
|
||||||
RemoveWindowSubclass(hWnd, ClassicThemeExplorerSubClass, 0);
|
RemoveWindowSubclass(hWnd, ClassicThemeExplorerSubClass, 0);
|
||||||
} else if (uMsg == WM_PARENTNOTIFY || uMsg == WM_SIZE || uMsg == WM_GETICON) {
|
} else if (uMsg == WM_PARENTNOTIFY || uMsg == WM_SIZE || uMsg == WM_GETICON) {
|
||||||
Wh_Log("[Target] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam);
|
//Wh_Log(L"[Target] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam);
|
||||||
ClassicThemeExplorer(hWnd, wParam);
|
ClassicThemeExplorer(hWnd, wParam);
|
||||||
} else {
|
//} else {
|
||||||
Wh_Log("[Unknown] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam);
|
//Wh_Log(L"[Unknown] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam);
|
||||||
}
|
}
|
||||||
|
|
||||||
return DefSubclassProc(hWnd, uMsg, wParam, lParam);
|
return DefSubclassProc(hWnd, uMsg, wParam, lParam);
|
||||||
|
|
Loading…
Reference in a new issue