Share via


INmConference::GetTopProvider

The GetTopProvider method retrieves the top provider, which is the member in charge of the conference.

HRESULT GetTopProvider(
INmMember **ppMember);

Parameters

  • ppMember
    [out] Pointer to a pointer to the INmMember interface on the top provider Member object.

Return Values

NetMeeting client applications can use the SUCCEEDED and FAILED macros in winerror.h to check return values.

Return values can include RPC layer errors or any of the following values.

  • S_OK
    The value was retrieved successfully.
  • S_FALSE
    There is no conference or no top provider for the conference.

Remarks

If the top provider leaves the conference, the conference ends. If you are monitoring the conference-state changes through INmCall::GetConference inside INmCallNotify::StateChanged, the return value is S_FALSE until the conference is created.

Requirements

**  Windows NT/2000:** Requires Windows NT 4.0 SP3 or later.
**  Windows 95/98:** Requires Windows 95 or later. Available as a redistributable for Windows 95.
**  Header:** Imsconf2.idl.

See Also

Further Reading