Close the COM library in the current thread.
com
co-uninitialize
The function co-uninitialize
closes the COM library on the current thread. This should be called when COM is no longer required, for instance before exiting the application.
(co-uninitialize)
COM/Automation User Guide and Reference Manual - 01 Dec 2021 19:38:38