HrStrstriW

The HrStrstriW function determines whether one string is a prefix of another.

Quick Info

Header file: CONVREGH.H
Library: CONVREGH.LIB
Unicode: Exclusively

HRESULT HrStrstriW(
  LPCWSTR pszSubString,  
  LPCWSTR pszString      
);
 

Parameters

pszSubString
Input parameter. Points to the Unicode substring to be checked for within the string contained in pszString.
pszString
Input parameter. Points to the Unicode string that might contain the substring contained in pszSubString.

Return Values

See Return Values.

Remarks

The HrStrstriW function is case-insensitive, i.e., both the string and substring are converted to uppercase before the substring search is performed.

For more information on this function, see the HrStrstriW function in CONVREGH.CPP under the MESGXLAT code sample in the Code Samples folder.