Share via


CriticalSectionTraits::GetInvalidValue Method

Specializes a CriticalSection template so that the template is always invalid.

inline static Type GetInvalidValue();

Return Value

Always returns a pointer to an invalid critical section.

Remarks

The Type modifier is defined as typedef CRITICAL_SECTION* Type;.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers::HandleTraits

See Also

Reference

CriticalSectionTraits Structure