Code:
RtlInitUnicodeString(&str, buf);
RtlUnicodeStringToInteger(&str, 16, &val1);
WinDbg watch:
str : struct _UNICODE_STRING "123"
val1 : 0x123
I dont know about anyone else but I was expecting 0x7B. Ie, that it
works the same as atoi.
Anyone got any views on this?