Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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