@@ -210,8 +210,9 @@ VOID PvpPeEnumerateNestedSignatures(
210
210
WCHAR number [PH_INT32_STR_LEN_1 ];
211
211
212
212
PhPrintUInt32 (number , ++ (* Count ));
213
- lvItemIndex = PhAddListViewItem (
213
+ lvItemIndex = PhAddListViewGroupItem (
214
214
ListViewHandle ,
215
+ 1 ,
215
216
MAXINT ,
216
217
number ,
217
218
(PVOID )certificateContext
@@ -266,8 +267,9 @@ VOID PvpPeEnumerateFileCertificates(
266
267
WCHAR number [PH_INT32_STR_LEN_1 ];
267
268
268
269
PhPrintUInt32 (number , ++ count );
269
- lvItemIndex = PhAddListViewItem (
270
+ lvItemIndex = PhAddListViewGroupItem (
270
271
ListViewHandle ,
272
+ 0 ,
271
273
MAXINT ,
272
274
number ,
273
275
(PVOID )certificateContext
@@ -389,6 +391,9 @@ INT_PTR CALLBACK PvpPeSecurityDlgProc(
389
391
if (context -> ListViewImageList = ImageList_Create (2 , 20 , ILC_COLOR , 1 , 1 ))
390
392
ListView_SetImageList (context -> ListViewHandle , context -> ListViewImageList , LVSIL_SMALL );
391
393
394
+ ListView_EnableGroupView (context -> ListViewHandle , TRUE);
395
+ PhAddListViewGroup (context -> ListViewHandle , 0 , L"Image certificates" );
396
+ PhAddListViewGroup (context -> ListViewHandle , 1 , L"Nested certificates" );
392
397
PvpPeEnumerateFileCertificates (context -> ListViewHandle );
393
398
394
399
PhInitializeWindowTheme (hwndDlg , PeEnableThemeSupport );
0 commit comments