IAgentBalloon::GetNumLines

[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]

HRESULT GetNumLines(
   long * pcLines  // address of variable for number of lines 
);                  // displayed in word balloon

Retrieves the value of the number of lines displayed in a word balloon.

  • Returns S_OK to indicate the operation was successful.

pcLines

The address of a variable that receives the number of lines displayed.

The Microsoft Agent server automatically scrolls the lines displayed for spoken output in the word balloon. The number of lines for a character word balloon is defined in the Microsoft Agent Character Editor. It cannot be changed by an application.

See Also

IAgentBalloon::GetNumCharsPerLine