IVsObjectManager::UnregisterLibMgr Method (UInt32)
Visual Studio 2015
Unregisters a library manager with the environment's object manager.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- dwCookie
-
Type:
System::UInt32
[in] Abstract handle used to un-register the library manager
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsObjectManager::UnregisterLibMgr(
[in] VSCOOKIE dwCookie
);
Unregister your library manager during Close, passing the dwCookie parameter that was returned to you during the RegisterLibMgr call. It is your package's responsibility to un-register its library manager. Do not rely on the environment to perform cleanup.
Show: