다음을 통해 공유


IRTCClient::PrepareForShutdown (Windows CE 5.0)

Send Feedback

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.

HRESULT PrepareForShutdown();

Parameters

None.

Return Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCClient | IRTCClient::Shutdown | RTC_CLIENT_EVENT_TYPE | RTC_EVENT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.