The Member object contains information about a participant in a conference.
Applications will receive notification through the INmConferenceNotify::MemberChanged method when a Member object has been created.
INmMember Interface |
This interface provides information on the participant in a conference.
Eject |
GetAddr |
GetConference |
GetID |
GetName |
GetNmchCaps |
GetNmVersion |
GetShareState |
GetUserData |
IsMCU |
IsSelf |
HRESULT Eject(void);
Removes a member from the conference. Only the top provider can remove a member from the conference.
HRESULT GetAddr(
[out] BSTR *pbstrAddr,
[out] NM_ADDR_TYPE *puType);
Retrieves the address for the member, if available.
S_OK | Success. |
E_POINTER | The pbstrAddr pointer is invalid. |
E_FAIL | Internal resources are not available. |
NM_ADDR_H323_GATEWAY | IP address of the gateway server and the phone number (www.xxx.yyy.zzz/number). Also see INmManager::CreateCall. |
NM_ADDR_IP | IP address. |
NM_ADDR_MACHINENAME | Machine name. |
NM_ADDR_ULS | ILS server name and e-mail name. (server/e-mail). |
NM_ADDR_UNKNOWN | Unknown type. |
The address and type returned by this method are the address and type that were used when the member joined the conference.
HRESULT GetConference(
[out] INmConference **ppConference);
Retrieves a pointer to the conference in which the member is participating.
S_OK | Success. |
S_FALSE | No conference is available. |
E_POINTER | The ppConference pointer is invalid. |
E_FAIL | Internal resources are not available. |
If this method returns S_OK, the application must call Release for ppConference.
HRESULT GetID(
[out] ULONG *puID);
Retrieves the unique identifier for the Member object.
This method is only valid when there is a data conference.
HRESULT GetName(
[out] BSTR *pbstrName);
Retrieves the string for the member name.
HRESULT GetNmchCaps(
[out] ULONG *puchCaps);
Retrieves information about the channels in which this member is currently participating.
NMCH_AUDIO | Audio channel. |
NMCH_DATA | Data channel. |
NMCH_FT | File Transfer channel. |
NMCH_SHARE | Application Sharing channel. |
NMCH_VIDEO | Video channel. |
HRESULT GetNmVersion(
[out] ULONG *puVersion);
Retrieves the NetMeeting version number.
NM_VER_1 | = 1 |
NM_VER_2 | = 2 |
NM_VER_FUTURE | = 15 |
NM_VER_UNKNOWN | = 0 |
The version number is valid only when the member has data capabilities.
HRESULT GetShareState(
[out] NM_SHARE_STATE *puState);
Retrieves the current application sharing tate for a member.
NM_SHARE_COLLABORATING | The local user is not working alone and does not have control of the cursor. Other conference members can work in any applications the local user has shared. |
NM_SHARE_IN_CONTROL | Gives the local user control of the cursor. If the user was working alone, this will also grant permission to others to take control of this shared application. |
NM_SHARE_UNKNOWN | The current state is unknown. This may result if this is an audio- and video-only conference, or if application sharing is not available. |
NM_SHARE_WORKING_ALONE | The local user is working alone. Other conference members can see applications that this user has shared, but they cannot work in them. The local user can see applications that others have shared, but he or she cannot work in them. |
HRESULT GetUserData(
[in] REFGUID rguid,
[out] BYTE **ppb,
[out] ULONG *pcb);
Retrieves the private data associated with the globally unique identifier (GUID) for the member.
This method is not yet implemented.
S_OK | Success. |
E_POINTER | The ppb or pcb pointer is invalid. |
E_INVALIDARG | The rguid parameter is invalid. |
E_FAIL | Internal resources are not available. |
HRESULT IsMCU(void);
Determines whether the Member object represents a multipoint control unit (MCU).
HRESULT IsSelf(void);
Determines if the Member object represents the local user.
Last Updated: November 1, 1997
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.