Partager via


IRTCSessionReferStatusEvent::StatusText (Windows Embedded CE 6.0)

1/6/2010

This method gets the status text associated with the status code. The status code is retrieved by IRTCSessionReferStatusEvent::StatusCode.

Syntax

HRESULT get_StatusText(
  BSTR* pbstrStatusText
);

Parameters

  • pbstrStatusText
    [out] Pointer to a BSTR that is filled with the status text for the referred session, or an empty string if there is no entry.

    The method allocates the buffer. The caller is responsible for releasing this memory with SysFreeString.

Return Value

This method can return an RTC_E_ constant.

The following table shows additional return values and additional information about a specific return value.

Value Meaning

E_POINTER

The pbstrStatusText parameter is not a valid pointer.

E_OUTOFMEMORY

Insufficient memory to perform this operation.

RTC_E_NOT_EXIST

The status text does not exist for this event

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

IRTCSessionReferStatusEvent
IRTCSessionReferStatusEvent::StatusCode

Other Resources

SysFreeString