Home page  
Help >
DdGetMetaphoneMapping() - get Metaphone phonetic mapping for a string
Version 7.11
DdGetMetaphoneMapping() - get Metaphone phonetic mapping for a string DdGetMetaphoneMapping() - get Metaphone phonetic mapping for a string

Prototype:
   void DdGetMetaphoneMapping(
      const char *inString,       /* [IN] source string */
      char *outString,            /* [OUT] result string */
      int outStringLength);       /* [IN] max length for  outString */

Description:
DdGetMetaphoneMapping() is the API level equivalent to the ddlCalc() string function _metaphone().

Description of Parameter inString:
const char *inString is the null-terminated ascii source word or name to be processed. *inString may contain any number of characters; but only the first six alphabetic characters are considered.

Description of Parameter outString:
char *outString is a user supplied buffer where the result string is stored as a null terminated ascii string. The result string contains up to 6 upper case alphabetic characters, plus the terminating null character.
If *inString contains no alphabetic characters, the result string is null.

Description of Parameter outStringLength:
int outStringLength is the maximum number of characters (including the null terminator) that can be stored into *outString.

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.