AdtpAppendZString

INT64 __fastcall AdtpAppendZString(
        _UNICODE_STRING *ResultantString,
        UINT8 *FreeWhenDone,
        const WCHAR *StringToAppend,
        UINT64 *StringIndex){
  UNICODE_STRING StringToAppenda; 
  StringToAppenda = 0i64;
  RtlInitUnicodeString(&StringToAppenda, StringToAppend, (WCHAR)StringToAppend);
  return AdtpAppendString(ResultantString, FreeWhenDone, &StringToAppenda, StringIndex);
}

Referenced by:

AdtpBuildObjectTypeStrings