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

# StrStrNIW(3w)

## NAME

**StrStrNIW** (SHLWAPI.@)

## SYNOPSIS

LPWSTR StrStrNIW\
  (\
   LPCWSTR *lpFirst*,\
   LPCWSTR *lpSrch*,\
   UINT    *cchMax*\
  )

## DESCRIPTION

Find a substring within a string up to a given number of initial characters, ignoring case.

## PARAMS

*lpFirst* **\[In\]**  String to search in.

*lpSrch* **\[In\]**  String to look for.

*cchMax* **\[In\]**  Maximum number of initial search characters.

## RETURNS

The start of *lpFirst* within *lpSrch*, or **NULL** if not found.

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

Implemented in **"dlls/shlwapi/string.c"**.

Debug channel **"shell"**.
