Returns the number of volume images stored in a Windows image (.wim) file.

DWORD
WINAPI
WIMGetImageCount(
	HANDLE hWim
	);

Parameters

hWim

[in] A handle to a .wim file returned by the WIMCreateFile function.

Return Value

The return value is the number of images in the .wim file. If this value is zero, then the image file is invalid or does not contain any images that can be applied.

See Also