This topic has not yet been rated - Rate this topic

CComAutoThreadModule::Lock

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

LONG Lock( );

A value that may be useful for diagnostics or testing.

Performs an atomic increment on the lock count for the module and for the current thread. CComAutoThreadModule uses the module lock count to determine whether any clients are accessing the module. The lock count on the current thread is used for statistical purposes.

Header: atlbase.h

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.