Share via


IRTCClient::PrepareForShutdown

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method asynchronously prepares the client for shutting down. The user agent is unregistered from registrars, and the active watchers are unsubscribed.

New sessions cannot be initiated or accepted after this method is called.

Syntax

HRESULT PrepareForShutdown();

Parameters

None.

Return Value

This method can return an RTC_E_ constant.

Remarks

This method can take a number of seconds to return.

An RTC_CLIENT_EVENT_TYPE value of RTCCET_ASYNC_CLEANUP_DONE signifies completion.

Note

IRTCClient::Shutdown should not be called until the RTCE_CLIENT event is received.

Requirements

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

See Also

Reference

IRTCClient
IRTCClient::Shutdown
RTC_CLIENT_EVENT_TYPE
RTC_EVENT