| description | Learn more about: HANDLENullTraits Structure | |||
|---|---|---|---|---|
| title | HANDLENullTraits Structure | |||
| ms.date | 09/27/2018 | |||
| ms.topic | reference | |||
| f1_keywords |
|
|||
| helpviewer_keywords |
|
|||
| ms.assetid | 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.