description | title | ms.date | ms.topic | f1_keywords | helpviewer_keywords | ms.assetid | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: HANDLENullTraits Structure |
HANDLENullTraits Structure |
09/27/2018 |
reference |
|
|
88a29a14-c516-40cb-a0ca-ee897a668623 |
Defines common characteristics of an uninitialized handle.
struct HANDLENullTraits;
Name | Description |
---|---|
Type |
A synonym for HANDLE. |
Name | Description |
---|---|
HANDLENullTraits::Close | Closes the specified handle. |
HANDLENullTraits::GetInvalidValue | Represents an invalid handle. |
HANDLENullTraits
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers::HandleTraits
Closes the specified handle.
inline static bool Close(
_In_ Type h
);
h
The handle to close.
true
if handle h closed successfully; otherwise, false
.
Represents an invalid handle.
inline static Type GetInvalidValue();
Always returns nullptr
.