Partager via


IRTCReInviteEvent::Accept (Windows Embedded CE 6.0)

1/6/2010

This method specifies the content type and body for the response to the REINVITE request.

Syntax

HRESULT Accept(
  BSTR bstrContentType,
  BSTR bstrSessionDescription
);

Parameters

  • bstrContentType
    [in] The content type for the response to the REINVITE request.
  • bstrSessionDescription
    [in] The session description for the response to the REINVITE request.

Return Value

This method can return an RTC_E_ constant.

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

Value Meaning

E_OUTOFMEMORY

Insufficient memory to perform this operation.

RTC_E_INVALID_OBJECT_STATE

The session REINVITE is not in the incoming state.

RTC_E_INVALID_SESSION_STATE

The session is not in a valid state to perform this operation.

RTC_E_POINTER

One of the parameters is not a valid pointer.

Remarks

The content type is application-specific.

Applications should ensure that the called party can decipher the content type of the session description.

Requirements

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

See Also

Reference

IRTCReInviteEvent
IRTCReInviteEvent::Reject