Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
0 out of 1 rated this helpful - Rate this topic

RoRegisterForApartmentShutdown function

TBD

Syntax


 WINAPI RoRegisterForApartmentShutdown(
  _In_   IApartmentShutdown *callbackObject,
  _Out_  UINT64 *apartmentIdentifier,
   
);

Parameters

callbackObject [in]

The application-supplied IApartmentShutdown interface.

apartmentIdentifier [out]

The identifier for the apartment.

TBD

Return value

TBD

Remarks

To receive apartment shutdown notifications, your app must register its apartment shutdown handler with the system by calling the RoRegisterForApartmentShutdown function.

Warning  

Don't call the RoRegisterForApartmentShutdown function from the OnUninitialize callback.

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Roapi.h

See also

IApartmentShutdown
RoUnregisterForApartmentShutdown

 

 

Build date: 5/16/2013

Community Additions

© 2013 Microsoft. All rights reserved.