Log lpwstring_t contents.

This commit is contained in:
gibbed 2017-01-09 23:57:47 -06:00
parent 13dd23a8a9
commit cec8932605
1 changed files with 6 additions and 0 deletions

View File

@ -378,6 +378,12 @@ inline void AppendParam(StringBuffer* string_buffer, lpstring_t param) {
string_buffer->AppendFormat("(%s)", param.value().c_str());
}
}
inline void AppendParam(StringBuffer* string_buffer, lpwstring_t param) {
string_buffer->AppendFormat("%.8X", param.guest_address());
if (param) {
string_buffer->AppendFormat("(%S)", param.value().c_str());
}
}
inline void AppendParam(StringBuffer* string_buffer,
pointer_t<X_OBJECT_ATTRIBUTES> record) {
string_buffer->AppendFormat("%.8X", record.guest_address());