Reads the specified number of characters from the target.
HRESULT ReadNullTerminatedString( UINT64 address, UINT16 characterSize, UINT32 maxCharacters, BSTR *pString );
- address
[in] The address to read from.
- characterSize
[in] size of each character in the string
- maxCharacters
[in] The maximum number of characters to read. maxCharacters should be reasonable. Any request for more than 128MB of memory will fail. If the string is larger than maxCharacters, the result string will be truncated after maxCharacters.
- pString
[out] The BSTR read from the target.
Returns S_FALSE if truncated.
Requirements
Header: jscript9diag.h