Reference

RtlIsTextUnicode(3w)

NAME

RtlIsTextUnicode (NTDLL.@)

SYNOPSIS

BOOLEAN RtlIsTextUnicode
(
LPCVOID buf,
INT len,
INT* pf
)

DESCRIPTION

Attempt to guess whether a text buffer is Unicode.

PARAMS

buf [In] Text buffer to test.

len [In] Length of buf.

pf [Out] Destination for test results.

RETURNS

TRUE if the buffer is likely Unicode, FALSE otherwise.

FIXME

Should implement more tests.

IMPLEMENTATION

Declared in "winternl.h".

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

Debug channel "ntdll".

History