(self, section_handle, size, flags=0)
| 426 | return AlpcSection(AlpcSectionHandle.value, ActualSectionSize.value) |
| 427 | |
| 428 | def map_section(self, section_handle, size, flags=0): |
| 429 | view_attributes = gdef.ALPC_DATA_VIEW_ATTR() |
| 430 | view_attributes.Flags = 0 |
| 431 | view_attributes.SectionHandle = section_handle |
| 432 | view_attributes.ViewBase = 0 |
| 433 | view_attributes.ViewSize = size |
| 434 | r = winproxy.NtAlpcCreateSectionView(self.handle, flags, view_attributes) |
| 435 | return view_attributes |
| 436 | |
| 437 | def disconnect(self): |
| 438 | if self.handle: |
no outgoing calls
no test coverage detected