Debugging Tools for Windows |
The GetString method reads a null-terminated string from the target's memory. The string is located in the beginning of the region represented by the ExtRemoteData object.
PSTR
GetString(
OUT PSTR Buffer,
IN ULONG BufferChars,
IN ULONG MaxChars = 1024,
IN bool MustFit = false
) throw(...);
PWSTR
GetString(
OUT PWSTR Buffer,
IN ULONG BufferChars,
IN ULONG MaxChars = 1024,
IN bool MustFit = false
) throw(...);
Note the remainder of the Buffer buffer, after the string, can be overwritten by this method.
GetString returns the null-terminated string that was read from the target. This is Buffer.
This method can only be used if the region represented by the ExtRemoteData object is in virtual memory. It will not work if the region specifies physical memory.
Headers: Defined in Engextcpp.hpp. Include Engextcpp.hpp.