---
name: "RtlFindCharInUnicodeString"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/RtlFindCharInUnicodeString"
---

# 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"**.
