31 HANDLE LoadingProcessId;
41 static RECT MinimumSize = { -1, -1, -1, -1 };
43 static BOOLEAN LoadSymbolsEnumGenericModulesCallback(
45 _In_opt_ PVOID Context
48 PNETWORK_STACK_CONTEXT context = Context;
63 Module->FileName->Buffer,
64 (ULONG64)Module->BaseAddress,
72 _In_ HWND ParentWindowHandle,
78 networkStackContext.NetworkItem = NetworkItem;
81 if (networkStackContext.SymbolProvider->IsRealHandle)
84 networkStackContext.LoadingProcessId = NetworkItem->ProcessId;
86 NetworkItem->ProcessId,
87 networkStackContext.SymbolProvider->ProcessHandle,
89 LoadSymbolsEnumGenericModulesCallback,
98 LoadSymbolsEnumGenericModulesCallback,
105 PhShowError(ParentWindowHandle, L
"Unable to open the process.");
114 (LPARAM)&networkStackContext
131 PNETWORK_STACK_CONTEXT networkStackContext;
142 lvHandle = GetDlgItem(hwndDlg,
IDC_LIST);
147 networkStackContext->ListViewHandle = lvHandle;
151 SetProp(hwndDlg, L
"LayoutManager", (HANDLE)layoutManager);
158 if (MinimumSize.left == -1)
166 MapDialogRect(hwndDlg, &rect);
168 MinimumSize.left = 0;
175 address = *(PVOID *)&networkStackContext->NetworkItem->OwnerInfo[i];
181 networkStackContext->SymbolProvider,
196 PNETWORK_STACK_CONTEXT networkStackContext;
205 RemoveProp(hwndDlg, L
"LayoutManager");
210 INT
id = LOWORD(wParam);
216 EndDialog(hwndDlg, IDOK);