Reads a single character to the memory of the process. @see: L{peek_char} @type lpBaseAddress: int @param lpBaseAddress: Memory address to begin writing. @rtype: int @return: Character value read from the process memory. @raise WindowsEr
(self, lpBaseAddress)
| 1586 | raise ctypes.WinError() |
| 1587 | |
| 1588 | def read_char(self, lpBaseAddress): |
| 1589 | """ |
| 1590 | Reads a single character to the memory of the process. |
| 1591 | |
| 1592 | @see: L{peek_char} |
| 1593 | |
| 1594 | @type lpBaseAddress: int |
| 1595 | @param lpBaseAddress: Memory address to begin writing. |
| 1596 | |
| 1597 | @rtype: int |
| 1598 | @return: Character value read from the process memory. |
| 1599 | |
| 1600 | @raise WindowsError: On error an exception is raised. |
| 1601 | """ |
| 1602 | return ord(self.read(lpBaseAddress, 1)) |
| 1603 | |
| 1604 | def write_char(self, lpBaseAddress, char): |
| 1605 | """ |
no test coverage detected