IApartmentShutdown::OnUninitialize method (objidl.h)

Called when a registered apartment is shut down.

Syntax

void OnUninitialize(
  [in] UINT64 ui64ApartmentIdentifier
);

Parameters

[in] ui64ApartmentIdentifier

The apartment Identifier of the apartment that is shutting down

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header objidl.h

See also

IApartmentShutdown

RoRegisterForApartmentShutdown