Share via


CAtlCEValidateThreadIDDefault Methods

The following table lists the CAtlCEValidateThreadIDDefault methods:

CAtlCEValidateThreadIDDefault::CAtlCEValidateThreadIDDefault

Creates an instance of a CAtlCEValidateThreadIDDefault object and sets the m_ThreadId private data member.

CAtlCEValidateThreadIDDefault::Validate

Indicates whether the thread identifier, which is used as the handle of the calling thread, is the same as the original calling thread or different.

The following table lists the CAtlCEValidateThreadIDDefault macros:

CE_VALIDATE_THREADID_ASSERT Macro

In debug builds, CE_VALIDATE_THREADID_ASSERT generates a debug report when the CAtlCEValidateThreadIDDefault::Validate method returns false.

CE_VALIDATE_THREADID_RETURN Macro

Returns the parameter of the macro if the thread identifier is validated.

CE_VALIDATE_THREADID_THROW Macro

Throws an exception if the thread identifier is validated.

See Also

Concepts

CAtlCEValidateThreadIDDefault Class

Other Resources

Unique ATL for Devices Classes