SzFindLastCh 

The SzFindLastCh function searches for the last occurrence of a character in a null-terminated string.

 

Note  This function may not be supported in future versions of MAPI.

 

Quick Info

Header file:

MAPIUTIL.H

Implemented by:

MAPI

Called by:

Client applications and service providers

 

LPTSTR SzFindLastCh(

    LPCTSTR lpsz,

 

    USHORT ch

 

   );

 

 

Parameters

lpsz

[in] Pointer to the null-terminated string to be searched.

ch

[in] The character to be searched for.

 

Return Values

SzFindLastCh returns a pointer to the last occurrence of the character in the string. If the character does not occur anywhere in the string, or if the lpsz parameter is NULL, a value of NULL is returned.

Remarks

The SzFindLastCh function searches for an exact match only; it is sensitive to case and diacritical differences. Searches in the Unicode1BP47M and DBCS2LPDY7 formats are supported.