MCPcopy Create free account
hub / github.com/LegacyUpdate/LegacyUpdate / LogListViewProc

Function LogListViewProc

nsisplugin/WriteLog.c:9–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7static WNDPROC g_pfnListViewProc = NULL;
8
9static LRESULT CALLBACK LogListViewProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {
10 if (msg == LVM_INSERTITEM) {
11 LVITEM *item = (LVITEM *)lParam;
12 if (item && (item->mask & LVIF_TEXT) && item->pszText) {
13 LogInternal(item->pszText);
14 }
15 }
16
17 return CallWindowProc(g_pfnListViewProc, hwnd, msg, wParam, lParam);
18}
19
20PLUGIN_METHOD(InitLog) {
21 PLUGIN_INIT();

Callers

nothing calls this directly

Calls 1

LogInternalFunction · 0.85

Tested by

no test coverage detected