CharacterToSymbol 

1.0     2.0     

Converts an ANSI string to an array of SYV_ symbol values.

int CharacterToSymbol( LPSTR lpstr, int cSyv, LPSYV lpsyv )

Parameters

lpstr

Address of a null-terminated ANSI string to be converted.

cSyv

Maximum number of SYV_ symbols the array lpsyv can hold.

lpsyv

Address of an array of SYV_ symbol values into which CharacterToSymbol places the converted symbols. The array must be large enough to hold cSyv symbols.

Return Value

Returns the number of characters converted, or -1 if there is an error.

Comments

Conversion proceeds until a null byte is found in lpstr or until lpsyv has been filled with cSyv symbols. A null byte is converted to SYV_NULL.

See Also

SymbolToCharacter, SYG