MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / files

Method files

windows/winobject/bits.py:127–137  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

125
126 @property
127 def files(self):
128 enum = IEnumBackgroundCopyFiles()
129 self.EnumFiles(enum)
130 count = gdef.ULONG()
131 enum.GetCount(count)
132 if not count:
133 return []
134 res_size = gdef.ULONG()
135 array = (BitsFile * count.value)()
136 enum.Next(count.value, array, res_size)
137 return array[:res_size.value]
138
139 @property
140 def type(self):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected