Export (0) Print
Expand All
Expand Minimize

SzFindCh

Last modified: September 24, 2010

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Searches for the first occurrence of a character in a null-terminated string.

Header file:

Mapidefs.h

Implemented by:

MAPI

Called by:

Client applications and service providers

LPSTR SzFindCh(
  LPCSTR lpsz,
  USHORT ch
);

lpsz

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

ch

[in] The character to be searched for.

SzFindCh returns a pointer to the first 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.

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

Show:
© 2014 Microsoft