CriticalSectionTraits::GetInvalidValue Method
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at CriticalSectionTraits::GetInvalidValue Method.
Specializes a CriticalSection template so that the template is always invalid.
Syntax
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