Share via


IRTCClient::PrepareForShutdown (Windows Embedded CE 6.0)

1/6/2010

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