INmMember::GetAddr
Use the GetAddr method to retrieve the name of the member, if it is available.
HRESULT GetAddr
BSTR *pbstrAddr, NM_ADDR_TYPE *puType);
Parameters
- pbstrAddr
[out] Pointer to a location that contains the local user's name or address. - puType
[out] Pointer to a value from the NM_ADDR_* type enumeration that identifies the type of the user name and address.
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 address of the member was retrieved successfully. - E_POINTER
pbstrAddr is an invalid pointer. - E_FAIL
Internal resources are not available.
Remarks
The address and type returned by this method are the address and type that were used when the member joined the conference.
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.