- printf(" WIM_HDR_FLAG_%s is set\n", hdr_flags[i].name);
-
- printf("Chunk Size = %u\n", WIM_CHUNK_SIZE);
- fputs ("GUID = ", stdout);
- print_byte_field(hdr->guid, WIM_GID_LEN);
- putchar('\n');
- printf("Part Number = %hu\n", 1);
- printf("Total Parts = %hu\n", 1);
- printf("Image Count = %u\n", hdr->image_count);
- printf("Lookup Table Size = %"PRIu64"\n",
- (u64)hdr->lookup_table_res_entry.size);
- printf("Lookup Table Flags = 0x%hhx\n",
- hdr->lookup_table_res_entry.flags);
- printf("Lookup Table Offset = %"PRIu64"\n",
- hdr->lookup_table_res_entry.offset);
- printf("Lookup Table Original_size = %"PRIu64"\n",
- hdr->lookup_table_res_entry.original_size);
- printf("XML Data Size = %"PRIu64"\n",
- (u64)hdr->xml_res_entry.size);
- printf("XML Data Flags = 0x%hhx\n",
- hdr->xml_res_entry.flags);
- printf("XML Data Offset = %"PRIu64"\n",
- hdr->xml_res_entry.offset);
- printf("XML Data Original Size = %"PRIu64"\n",
- hdr->xml_res_entry.original_size);
- printf("Boot Metadata Size = %"PRIu64"\n",
- (u64)hdr->boot_metadata_res_entry.size);
- printf("Boot Metadata Flags = 0x%hhx\n",
- hdr->boot_metadata_res_entry.flags);
- printf("Boot Metadata Offset = %"PRIu64"\n",
- hdr->boot_metadata_res_entry.offset);
- printf("Boot Metadata Original Size = %"PRIu64"\n",
- hdr->boot_metadata_res_entry.original_size);
- printf("Boot Index = %u\n", hdr->boot_idx);
- printf("Integrity Size = %"PRIu64"\n",
- (u64)hdr->integrity.size);
- printf("Integrity Flags = 0x%hhx\n",
- hdr->integrity.flags);
- printf("Integrity Offset = %"PRIu64"\n",
- hdr->integrity.offset);
- printf("Integrity Original_size = %"PRIu64"\n",
- hdr->integrity.original_size);
+ tprintf(T(" WIM_HDR_FLAG_%s is set\n"), hdr_flags[i].name);
+
+ tprintf(T("Chunk Size = %u\n"), hdr->chunk_size);
+ tfputs (T("GUID = "), stdout);
+ print_byte_field(hdr->guid, GUID_SIZE, stdout);
+ tputchar(T('\n'));
+ tprintf(T("Part Number = %hu\n"), hdr->part_number);
+ tprintf(T("Total Parts = %hu\n"), hdr->total_parts);
+ tprintf(T("Image Count = %u\n"), hdr->image_count);
+ tprintf(T("Blob Table Size = %"PRIu64"\n"),
+ (u64)hdr->blob_table_reshdr.size_in_wim);
+ tprintf(T("Blob Table Flags = 0x%hhx\n"),
+ (u8)hdr->blob_table_reshdr.flags);
+ tprintf(T("Blob Table Offset = %"PRIu64"\n"),
+ hdr->blob_table_reshdr.offset_in_wim);
+ tprintf(T("Blob Table Original_size = %"PRIu64"\n"),
+ hdr->blob_table_reshdr.uncompressed_size);
+ tprintf(T("XML Data Size = %"PRIu64"\n"),
+ (u64)hdr->xml_data_reshdr.size_in_wim);
+ tprintf(T("XML Data Flags = 0x%hhx\n"),
+ (u8)hdr->xml_data_reshdr.flags);
+ tprintf(T("XML Data Offset = %"PRIu64"\n"),
+ hdr->xml_data_reshdr.offset_in_wim);
+ tprintf(T("XML Data Original Size = %"PRIu64"\n"),
+ hdr->xml_data_reshdr.uncompressed_size);
+ tprintf(T("Boot Metadata Size = %"PRIu64"\n"),
+ (u64)hdr->boot_metadata_reshdr.size_in_wim);
+ tprintf(T("Boot Metadata Flags = 0x%hhx\n"),
+ (u8)hdr->boot_metadata_reshdr.flags);
+ tprintf(T("Boot Metadata Offset = %"PRIu64"\n"),
+ hdr->boot_metadata_reshdr.offset_in_wim);
+ tprintf(T("Boot Metadata Original Size = %"PRIu64"\n"),
+ hdr->boot_metadata_reshdr.uncompressed_size);
+ tprintf(T("Boot Index = %u\n"), hdr->boot_idx);
+ tprintf(T("Integrity Size = %"PRIu64"\n"),
+ (u64)hdr->integrity_table_reshdr.size_in_wim);
+ tprintf(T("Integrity Flags = 0x%hhx\n"),
+ (u8)hdr->integrity_table_reshdr.flags);
+ tprintf(T("Integrity Offset = %"PRIu64"\n"),
+ hdr->integrity_table_reshdr.offset_in_wim);
+ tprintf(T("Integrity Original_size = %"PRIu64"\n"),
+ hdr->integrity_table_reshdr.uncompressed_size);