다음을 통해 공유


HANDLENullTraits::Close 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::Close Method.

Closes the specified handle.

Syntax

inline static bool Close(  
   _In_ Type h  
);  

Parameters

h
The handle to close.

Return Value

true if handle h closed successfully; otherwise, false.

Requirements

Header: corewrappers.h

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

See Also

HANDLENullTraits Structure