Freigeben über


HANDLETraits::Close Method

 

The latest version of this topic can be found at HANDLETraits::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

HANDLETraits Structure