共用方式為


CAtlExeModuleT::PostMessageLoop

This method is called immediately after the message loop exits.

HRESULT PostMessageLoop( ) throw( );

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

Override this method to perform custom application cleanup. The default implementation calls CAtlExeModuleT::RevokeClassObjects.

Requirements

Header: atlbase.h

See Also

Reference

CAtlExeModuleT Class

CAtlExeModuleT::PreMessageLoop

Other Resources

CAtlExeModuleT Members