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.
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 |
|
See also
Build date: 5/16/2013
