ULONG
RtlAnsiStringToUnicodeSize(
IN PANSI_STRING AnsiString
);
RtlAnsiStringToUnicodeSize returns the number of bytes required to hold an ANSI string converted into a Unicode string.
RtlAnsiStringToUnicodeSize returns the necessary size in bytes for a Unicode string buffer.
Callers of RtlAnsiStringToUnicodeSize must be running at IRQL PASSIVE_LEVEL.