共用方式為


CAtlExeModuleT::m_dwTimeOut

A time-out value used to delay the unloading of the module.

DWORD m_dwTimeOut;

Remarks

Change this value after calling CAtlExeModuleT::InitializeCom to define the number of milliseconds used as the time-out value for shutting down the server. The default value is 5000 milliseconds. See the CAtlExeModuleT Overview for more details.

Requirements

Header: atlbase.h

See Also

Reference

CAtlExeModuleT Class