Expand Minimize
This topic has not yet been rated - Rate this topic

StrStrNIW function

Finds the first occurrence of a substring within a string. The comparison is case-insensitive.

Syntax


PWSTR StrStrNIW(
  _In_  PWSTR pszFirst,
  _In_  PCWSTR pszSrch,
  UINT cchMax
);

Parameters

pszFirst [in]

Type: PWSTR

A pointer to the null-terminated, Unicode string that is being searched.

pszSrch [in]

Type: PCWSTR

A pointer to the null-terminated, Unicode substring that is being searched for.

cchMax

Type: UINT

The maximum number of characters from the beginning of the searched string in which to search for the substring.

Return value

Type: PWSTR

Returns the address of the first occurrence of the matching substring if successful, or NULL otherwise.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shlwapi.h

DLL

Shell32.dll

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.