The WIM_INFO structure contains information retrieved by the WIMGetAttributes function.

typedef struct _WIM_INFO
{
	WCHAR  WimPath[MAX_PATH];
	GUID   Guid;
	DWORD  ImageCount;
	DWORD  CompressionType;
	USHORT PartNumber;
	USHORT TotalParts;
	DWORD  BootIndex;
	DWORD  WimAttributes;
	DWORD  WimFlagsAndAttr;
}
WIM_INFO, *PWIM_INFO, *LPWIM_INFO;

Parameters

WimPath

Specifies the full path to the .wim file.

Guid

Specifies a GUID structure containing the unique identifier for the Windows image (.wim) file.

ImageCount

Specifies the number of images contained in the .wim file. This value is also returned by the WIMGetImageCount function.

CompressionType

Specifies the method of compression used to compress resources in the .wim file. See the WIMCreateFile function for the initial compression types.

PartNumber

Specifies the part number of the current .wim file in a spanned set. This value should be one, unless the data of the .wim file was originally split by the WIMSplitFile function.

TotalParts

Specifies the total number of .wim file parts in a spanned set. This value must be one, unless the data of the .wim file was originally split via the WIMSplitFile function.

BootIndex

Specifies the index of the bootable image in the .wim file. If this value is zero, then there are no bootable images available. To set a bootable image, call the WIMSetBootImage function.

WimAttributes

Specifies how the file is treated and what features will be used.

Attribute Description

WIM_ATTRIBUTE_NORMAL

The .wim file does not have any other attributes set.

WIM_ATTRIBUTE_RESOURCE_ONLY

The .wim file only contains file resources and no images or metadata.

WIM_ATTRIBUTE_METADATA_ONLY

The .wim file only contains image resources and XML information.

WIM_ATTRIBUTE_VERIFY_DATA

The .wim file contains integrity data that can be used by the WIMCopyFile or WIMCreateFile function.

WIM_ATTRIBUTE_RP_FIX

The .wim file contains one or more images where symbolic link or junction path fixup is enabled.

WIM_ATTRIBUTE_SPANNED

The .wim file has been split into multiple pieces via WIMSplitFile.

WIM_ATTRIBUTE_READONLY

The .wim file is locked and cannot be modified.

WimFlagsAndAttr

Specifies the flags used during a WIMCreateFile function.

See Also