couninitialize (ole32)
Last changed: -147.192.78.60

.
Summary
Closes the COM library on the current thread, unloads all DLLs loaded by the thread, frees any other resources that the thread maintains, and forces all RPC connections on the thread to close.

C# Signature:

[System.Runtime.InteropServices.DllImport("ole32.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern int CoUninitialize();

Documentation