共用方式為


CComAutoThreadModule::dwThreadID

As of ATL 7.0, CComAutoThreadModule is obsolete: see ATL Module Classes for more details.

DWORD dwThreadID;

Remarks

Contains the identifier of the current thread.

Requirements

Header: atlbase.h

See Also

Reference

CComAutoThreadModule Class

Other Resources

CComAutoThreadModule Members