MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / create_section

Method create_section

Python-Bridge/Python-Bridge.py:511–523  ·  view source on GitHub ↗
(self, name, max_size, access, obj_flags, protection, allocation_attributes, hfile)

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected