Returns the number of volume images stored in an image file.

BOOL
WINAPI
WIMGetAttributes(
	HANDLE	 hWim,
	PWIM_INFO  pWimInfo,
	DWORD	cbWimInfo
	);

Parameters

hWim

[in] The handle to a .wim file returned by WIMCreateFile.

pWimInfo

[out] A pointer to a WIM_INFO structure that is returned with information about the .wim file.

cbWimInfo

[in] A DWORD value indicating the size of the pWimInfo buffer in which it passes.

Return Value

If the function succeeds, then the return value is nonzero.

If the function fails, then the return value is zero. To obtain extended error information, call GetLastError.

See Also