Enables registration of an apartment shutdown notification handler.
The IApartmentShutdown interface inherits from the IUnknown interface. IApartmentShutdown also has these types of members:
The IApartmentShutdown interface has these methods.
Called when a registered apartment is shut down.
Implement the IApartmentShutdown interface to use the RoRegisterForApartmentShutdown function.
Minimum supported client
|Windows 8 [desktop apps | Windows Store apps]|
Minimum supported server
|Windows Server 2012 [desktop apps | Windows Store apps]|