IVsObjectManager::RegisterLibMgr Method (Guid, IVsLibraryMgr^, UInt32)
Visual Studio 2015
Registers a library with the environment's object manager.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int RegisterLibMgr( [InAttribute] Guid% rguidLibMgr, IVsLibraryMgr^ pLibMgr, [OutAttribute] unsigned int% pdwCookie )
Parameters
- rguidLibMgr
-
Type:
System::Guid
[in] GUID of a library manager.
- pLibMgr
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsLibraryMgr^
[in] Pointer to a library manager.
- pdwCookie
-
Type:
System::UInt32
[out] Abstract handle identifying the newly registered library manager.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: