Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Closes the current HandleT object.
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