Searched refs:ansi_string (Results 1 – 1 of 1) sorted by relevance
332 ANSI_STRING ansi_string; in AnsiToUnicode() local333 ansi_string.Length = static_cast<USHORT>(g_nt.strlen(string)); in AnsiToUnicode()334 ansi_string.MaximumLength = ansi_string.Length + 1; in AnsiToUnicode()335 ansi_string.Buffer = const_cast<char*>(string); in AnsiToUnicode()337 if (ansi_string.Length > ansi_string.MaximumLength) in AnsiToUnicode()340 size_t name_bytes = ansi_string.MaximumLength * sizeof(wchar_t) + in AnsiToUnicode()348 out_string->MaximumLength = ansi_string.MaximumLength * sizeof(wchar_t); in AnsiToUnicode()352 NTSTATUS ret = g_nt.RtlAnsiStringToUnicodeString(out_string, &ansi_string, in AnsiToUnicode()