Platform SDK: Agent

IAgentCommandWindow::GetSize

HRESULT GetSize(
   long * plWidth,  // address of variable for Voice Commands Window width
   long * plHeight  // address of variable for Voice Commands Window height
);

Retrieves the current size of the Voice Commands Window.

plWidth
Address of a variable that receives the width of the Voice Commands Window in pixels, relative to the screen origin (upper left).
plHeight
Address of a variable that receives the height of the Voice Commands Window in pixels, relative to the screen origin (upper left).

See Also

IAgentCommandWindow::GetPosition