INmConference::GetName
The GetName method retrieves the name of the Conference object.
HRESULT GetName (
BSTR *pbstrName);
Parameters
- pbstrName
[out] Pointer to an output buffer to hold name of the conference.
Return Values
NetMeeting client applications can use the SUCCEEDED and FAILED macros in winerror.h to check return values.
Return values can include remote procedure call (RPC) layer errors or any of the following values.
- S_OK
The value was retrieved successfully. - E_FAIL
Internal resources are not available. - E_OUTOFMEMORY
Memory could not be allocated to service the request.
Example
VOID DumpCallInfo(INmCall * pCall) { HRESULT hr; BSTR bstrName; BSTR bstrAddr; NM_ADDR_TYPE uType; NM_CALL_STATE uState; INmConference * pConference = NULL; // .. hr = pCall-GetName(&bstrName); if (SUCCEEDED(hr)) { // Do something with the name SysFreeString(bstr); }
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.