HANDLETraits::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 HANDLETraits::GetInvalidValue Method.
Represents an invalid handle.
Syntax
inline static HANDLE GetInvalidValue();
Return Value
Always returns INVALID_HANDLE_VALUE. (INVALID_HANDLE_VALUE is defined by Windows.)
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers::HandleTraits