Pkg.WIM
— API for parsing Windows Imaging Format file systems¶
Overview¶
The Pkg.WIM
module contains the API for parsing Windows Imaging Format (WIM) file systems.
Enumerating Files¶
The following code example demonstrates how to enumerate files in a WIM file system:
from Pro.Core import *
from Pkg.WIM import *
def enumerateFiles(fname):
c = createContainerFromFile(fname)
if c.isNull():
return
obj = WIMObject()
if not obj.Load(c) or not obj.Initialize():
return
it = obj.FSIterator()
while it.HasNext():
e = it.Next()
print(e.Name())
Module API¶
Pkg.WIM module API.
Classes:
This class represents a WIM file system.
- class WIMObject¶
Bases:
Pro.Core.CFFObject
This class represents a WIM file system.