Reference

RtlFindCharInUnicodeString(3w)

NAME

RtlFindCharInUnicodeString (NTDLL.@)

SYNOPSIS

NTSTATUS RtlFindCharInUnicodeString
(
int flags,
const UNICODE_STRING* main_str,
const UNICODE_STRING* search_chars,
USHORT* pos
)

PARAMS

flags [In] Flags.

main_str [In] Unicode string in which one or more characters are searched.

search_chars [In] Unicode string which contains the characters to search for.

pos [Out] Position of the first character found + 2.

DESCRIPTION

Searches for one of several unicode characters in a unicode string.

RETURNS

Success: STATUS_SUCCESS. pos contains the position after the character found.

Failure: STATUS_NOT_FOUND, if none of the search_chars are in main_str.

IMPLEMENTATION

Declared in "winternl.h".

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

Debug channel "ntdll".

History