HANDLENullTraits::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 HANDLENullTraits::GetInvalidValue Method.
Represents an invalid handle.
Syntax
inline static Type GetInvalidValue();
Return Value
Always returns nullptr
.
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers::HandleTraits