Method Reference (COM)
GetWIMInfoRetrieves information about a WIM file.
GetWIMInfo()
Parameters
Set the following properties before calling:Source | The source WIM file. |
Return Value
Success: | Returns 0. |
Failure: | Returns non-zero. |
After a successful call the following properties will contain information:
XML
ImageCount
BootIndex
Remarks
None.
Related
GetWIMInfo
Example
Set objWIM = WScript.CreateObject("GImageX.GImageXCtrl")
objWIM.Source = "test.wim"
objWIM.GetWIMInfo
WScript.Echo objWIM.XML
WScript.Echo objWIM.ImageCount
WScript.Echo objWIM.BootIndex
Set objWIM = Nothing