(self, name, max_size, access, obj_flags, protection, allocation_attributes, hfile)
| 509 | self.__kb = kb |
| 510 | |
| 511 | def create_section(self, name, max_size, access, obj_flags, protection, allocation_attributes, hfile): |
| 512 | handle = c_uint64() |
| 513 | status = self.__kb.KbCreateSection( |
| 514 | byref(handle), |
| 515 | c_wchar_p(name), |
| 516 | c_uint64(max_size), |
| 517 | c_uint(access), |
| 518 | c_uint(obj_flags), |
| 519 | c_uint(protection), |
| 520 | c_uint(allocation_attributes), |
| 521 | c_uint64(hfile) |
| 522 | ) |
| 523 | return status, handle |
| 524 | |
| 525 | def open_section(self, name, access, obj_flags): |
| 526 | handle = c_uint64() |
nothing calls this directly
no outgoing calls
no test coverage detected