GetExtendedChars

 

Call this function to get the number of extended characters in a string.

Syntax

      inline int GetExtendedChars(
   LPCSTR szSrc,
   int nSrcLen 
) throw( );

Parameters

  • szSrc
    The string to be analyzed.

  • nSrcLen
    The length of the string in characters.

Return Value

Returns the number of extended characters found within the string as determined by IsExtendedChar.

Requirements

Header: atlenc.h

See Also

Active Template Library (ATL) Concepts
ATL COM Desktop Components
ATL Functions Alphabetical Reference
IsExtendedChar