TELGetDisplay
Gets the text displayed on a terminal and the display mode of the terminal.
pascal TELErr TELGetDisplay ( TELHandle hTEL, short index, short *displayMode, StringPtr *text);
hTEL- A handle to a telephone record associated with a telephone terminal.
index- A value the indicates which item of the displayed text to get. See "Display Items" on page 2-11 for a description of the available display items.
displayMode- On exit, the current display mode of the specified terminal. See "Display Modes" on page 2-10 for a description of the available display modes.
text- On exit, a pointer to a Pascal-style string that contains the text of the specified item on the display of the specified terminal. Your application is responsible for disposing of that string.
- function result
- A result code.
DESCRIPTION
TheTELGetDisplayfunction returns, in thetextparameter, a pointer to the text of the display item specified by theindexparameter on the terminal specified by thehTELparameter.TELGetDisplayalso returns, in thedisplayModeparameter, the current display mode of the specified terminal.