Reference

RtlFormatMessage(3w)

NAME

RtlFormatMessage (NTDLL.@)

SYNOPSIS

NTSTATUS RtlFormatMessage
(
LPWSTR Message,
UCHAR MaxWidth,
BOOLEAN IgnoreInserts,
BOOLEAN Ansi,
BOOLEAN ArgumentIsArray,
__ms_va_list* Arguments,
LPWSTR Buffer,
ULONG BufferSize
)

DESCRIPTION

Formats a message (similar to sprintf).

PARAMS

Message [In] Message to format.

MaxWidth [In] Maximum width in characters of each output line.

IgnoreInserts [In] Whether to copy the message without processing inserts.

Ansi [In] Whether Arguments may have ANSI strings.

ArgumentsIsArray [In] Whether Arguments is actually an array rather than a va_list *.

Buffer [Out] Buffer to store processed message in.

BufferSize [In] Size of Buffer (in bytes?).

RETURNS

NTSTATUS code.

IMPLEMENTATION

Declared in "winternl.h".

Implemented in "dlls/ntdll/resource.c".

Debug channel "resource".

History