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