C
void TeSetBuffer( TEXTENTRY * pTe, XCHAR * pText, WORD MaxSize );
Overview
This function sets the buffer used to display text. If the buffer is initialized with a string, the string must be a null terminated string. If the string length is greater than MaxSize, string will be truncated to MaxSize. pText must point to a valid memory location with size equal to MaxSize+1. The +1 is used for the string terminator.
Input Parameters
Input Parameters |
Description |
TEXTENTRY * pTe |
pointer to the object |
XCHAR * pText |
pointer to the new text buffer to be displayed |
maxSize |
maximum length of the new buffer to be used. |
Returns
none.
Preconditions
none
Side Effects
none.