Updated on 2022-07-11 GMT+08:00

Displaying the Main Meeting Window

showMeetingWindow

API Description

This API is used to place the main meeting window at the top when it is minimized or covered by other windows. An ongoing meeting will be selected from the meeting list to show its window.

Precautions

None

Method Definition

HWM_SDK_AGENT_API hwmsdk::HwmErrCode ShowMeetingWindow();

Parameter Description

None

Return Values

Table 1 Return values

Type

Description

HwmErrCode

If 0 is returned, the operation is successful. If other values are returned, the operation fails. For details about values returned upon failures, see Common Error Codes.

Sample Code

/**
* Display the main window of a meeting.
*/
void demoSettingDlg::OnBnClickedButtonShowMeetingWindow()
{
    int ret = hwmsdkagent::ShowMeetingWindow();
    if (hwmsdk::HWM_COMMON_SUCCESS != ret)
    {
        AfxMessageBox("ShowMeetingWindow error" );
    }
}