Finds the first occurrence of a substring within a string. The comparison is case-sensitive.
PCWSTR StrStrNW( PCWSTR pszFirst, PCWSTR pszSrch, UINT cchMax );
A pointer to the null-terminated, Unicode string that is being searched.
A pointer to the null-terminated, Unicode substring that is being searched for.
The maximum number of characters from the beginning of the searched string in which to search for the substring.
Returns the address of the first occurrence of the matching substring if successful, or NULL otherwise.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|