Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 1.88 KB

handlenulltraits-structure.md

File metadata and controls

74 lines (49 loc) · 1.88 KB
description title ms.date ms.topic f1_keywords helpviewer_keywords ms.assetid
Learn more about: HANDLENullTraits Structure
HANDLENullTraits Structure
09/27/2018
reference
corewrappers/Microsoft::WRL::Wrappers::HandleTraits::HANDLENullTraits
corewrappers/Microsoft::WRL::Wrappers::HandleTraits::HANDLENullTraits::Close
corewrappers/Microsoft::WRL::Wrappers::HandleTraits::HANDLENullTraits::GetInvalidValue
Microsoft::WRL::Wrappers::HandleTraits::HANDLENullTraits structure
Microsoft::WRL::Wrappers::HandleTraits::HANDLENullTraits::Close method
Microsoft::WRL::Wrappers::HandleTraits::HANDLENullTraits::GetInvalidValue method
88a29a14-c516-40cb-a0ca-ee897a668623

HANDLENullTraits Structure

Defines common characteristics of an uninitialized handle.

Syntax

struct HANDLENullTraits;

Members

Public Typedefs

Name Description
Type A synonym for HANDLE.

Public Methods

Name Description
HANDLENullTraits::Close Closes the specified handle.
HANDLENullTraits::GetInvalidValue Represents an invalid handle.

Inheritance Hierarchy

HANDLENullTraits

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers::HandleTraits

HANDLENullTraits::Close

Closes the specified handle.

inline static bool Close(
   _In_ Type h
);

Parameters

h
The handle to close.

Return Value

true if handle h closed successfully; otherwise, false.

HANDLENullTraits::GetInvalidValue

Represents an invalid handle.

inline static Type GetInvalidValue();

Return Value

Always returns nullptr.