@type lpBaseOfDll: str @param lpBaseOfDll: Base address of the module. @type hFile: L{FileHandle} @param hFile: (Optional) Handle to the module file. @type fileName: str @param fileName: (Optional) Module filename. @type SizeOfImage: in
(self, lpBaseOfDll, hFile=None, fileName=None, SizeOfImage=None, EntryPoint=None, process=None)
| 142 | return win32.TRUE |
| 143 | |
| 144 | def __init__(self, lpBaseOfDll, hFile=None, fileName=None, SizeOfImage=None, EntryPoint=None, process=None): |
| 145 | """ |
| 146 | @type lpBaseOfDll: str |
| 147 | @param lpBaseOfDll: Base address of the module. |
| 148 | |
| 149 | @type hFile: L{FileHandle} |
| 150 | @param hFile: (Optional) Handle to the module file. |
| 151 | |
| 152 | @type fileName: str |
| 153 | @param fileName: (Optional) Module filename. |
| 154 | |
| 155 | @type SizeOfImage: int |
| 156 | @param SizeOfImage: (Optional) Size of the module. |
| 157 | |
| 158 | @type EntryPoint: int |
| 159 | @param EntryPoint: (Optional) Entry point of the module. |
| 160 | |
| 161 | @type process: L{Process} |
| 162 | @param process: (Optional) Process where the module is loaded. |
| 163 | """ |
| 164 | self.lpBaseOfDll = lpBaseOfDll |
| 165 | self.fileName = fileName |
| 166 | self.SizeOfImage = SizeOfImage |
| 167 | self.EntryPoint = EntryPoint |
| 168 | |
| 169 | self.__symbols = list() |
| 170 | |
| 171 | self.set_handle(hFile) |
| 172 | self.set_process(process) |
| 173 | |
| 174 | # Not really sure if it's a good idea... |
| 175 | ## def __eq__(self, aModule): |
nothing calls this directly
no test coverage detected