다음을 통해 공유


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

Closes the current HandleT object.

Syntax

void Close();  

Remarks

The handle that underlies the current HandleT is closed, and the HandleT is set to the invalid state.

If the handle doesn't close properly, an exception is raised in the calling thread.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

HandleT Class