Share via


HANDLETraits::Close Method

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.

Requirements

Header: corewrappers.h

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

See Also

Reference

HANDLETraits Structure