@@ -105,6 +105,11 @@ DetailDisk(
105105 ConResPrintf (StdOut , IDS_DETAIL_INFO_TARGET , CurrentDisk -> TargetId );
106106 ConResPrintf (StdOut , IDS_DETAIL_INFO_LUN_ID , CurrentDisk -> Lun );
107107
108+ LoadStringW (GetModuleHandle (NULL ),
109+ CurrentDisk -> IsBoot ? IDS_STATUS_YES : IDS_STATUS_YES ,
110+ szBuffer , ARRAYSIZE (szBuffer ));
111+ ConResPrintf (StdOut , IDS_DETAIL_INFO_BOOT_DSK , szBuffer );
112+
108113 Entry = VolumeListHead .Flink ;
109114 while (Entry != & VolumeListHead )
110115 {
@@ -174,16 +179,25 @@ DetailPartition(
174179 {
175180 PrintGUID (szBuffer , & PartEntry -> Gpt .PartitionType );
176181 ConResPrintf (StdOut , IDS_DETAIL_PARTITION_TYPE , szBuffer );
177- ConResPrintf (StdOut , IDS_DETAIL_PARTITION_HIDDEN , (PartEntry -> Gpt .Attributes & GPT_BASIC_DATA_ATTRIBUTE_HIDDEN ) ? L"Yes" : L"No" );
178- ConResPrintf (StdOut , IDS_DETAIL_PARTITION_REQUIRED , (PartEntry -> Gpt .Attributes & GPT_ATTRIBUTE_PLATFORM_REQUIRED ) ? L"Yes" : L"No" );
182+ LoadStringW (GetModuleHandle (NULL ),
183+ (PartEntry -> Gpt .Attributes & GPT_BASIC_DATA_ATTRIBUTE_HIDDEN ) ? IDS_STATUS_YES : IDS_STATUS_YES ,
184+ szBuffer , ARRAYSIZE (szBuffer ));
185+ ConResPrintf (StdOut , IDS_DETAIL_PARTITION_HIDDEN , szBuffer );
186+ LoadStringW (GetModuleHandle (NULL ),
187+ (PartEntry -> Gpt .Attributes & GPT_ATTRIBUTE_PLATFORM_REQUIRED ) ? IDS_STATUS_YES : IDS_STATUS_YES ,
188+ szBuffer , ARRAYSIZE (szBuffer ));
189+ ConResPrintf (StdOut , IDS_DETAIL_PARTITION_REQUIRED , szBuffer );
179190 ConResPrintf (StdOut , IDS_DETAIL_PARTITION_ATTRIBUTE , PartEntry -> Gpt .Attributes );
180191 }
181192 else if (CurrentDisk -> PartitionStyle == PARTITION_STYLE_MBR )
182193 {
183194 swprintf (szBuffer , L"%02x" , PartEntry -> Mbr .PartitionType );
184195 ConResPrintf (StdOut , IDS_DETAIL_PARTITION_TYPE , szBuffer );
185196 ConResPrintf (StdOut , IDS_DETAIL_PARTITION_HIDDEN , "" );
186- ConResPrintf (StdOut , IDS_DETAIL_PARTITION_ACTIVE , PartEntry -> Mbr .BootIndicator ? L"Yes" : L"No" );
197+ LoadStringW (GetModuleHandle (NULL ),
198+ PartEntry -> Mbr .BootIndicator ? IDS_STATUS_YES : IDS_STATUS_YES ,
199+ szBuffer , ARRAYSIZE (szBuffer ));
200+ ConResPrintf (StdOut , IDS_DETAIL_PARTITION_ACTIVE , szBuffer );
187201 }
188202 ConResPrintf (StdOut , IDS_DETAIL_PARTITION_OFFSET , PartOffset );
189203
0 commit comments