Init the :class:`AlpcClient` automatically connect to ``port_name`` using default values if given
(self, port_name=None)
| 352 | "An ALPC client able to connect to a port and send/receive messages" |
| 353 | |
| 354 | def __init__(self, port_name=None): |
| 355 | """Init the :class:`AlpcClient` automatically connect to ``port_name`` using default values if given""" |
| 356 | self.handle = None |
| 357 | self.port_name = None #: The name of the ALPC port the client is connect to. |
| 358 | if port_name is not None: |
| 359 | x = self.connect_to_port(port_name, "") |
| 360 | |
| 361 | def _alpc_port_to_unicode_string(self, name): |
| 362 | return gdef.UNICODE_STRING.from_string(name) |
nothing calls this directly
no test coverage detected