共用方式為


CAtlServiceModuleT::m_dwThreadID

Member variable storing the thread identifier of the Service.

DWORD m_dwThreadID;

Remarks

This variable stores the thread identifier of the current thread.

Requirements

Header: atlbase.h

See Also

Reference

CAtlServiceModuleT Class

Other Resources

CAtlServiceModuleT Members