ILocalRegistryCorrected Interface


Establishes a locally-registered COM object relative to the local Visual Studio registry hive.

Namespace:   Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public interface ILocalRegistryCorrected

System_CAPS_pubmethodCreateInstance(Guid, IntPtr, Guid, UInt32, IntPtr)

Creates an instance of a class listed in the local registry.

System_CAPS_pubmethodGetClassObjectOfClsid(Guid, UInt32, IntPtr, Guid, IntPtr)

Returns the class object associated with a CLSID.

System_CAPS_pubmethodGetTypeLibOfClsid(Guid, ITypeLib)

Not implemented. Do not use.

This interface is similar to ILocalRegistry, but IUnknown pointers are passed as IntPtr instead of object. The result is the actual IUnknown pointer and not a wrapped managed proxy pointer.

ILocalRegistryCorrected provides a site with a local registry of object and type information. The local registry is not related to the system-wide registration database; it is strictly for use by the project.

Notes to Implementers:

Visual Studio implements this interface.

Notes to Callers:

This interface is obtained from the SLocalRegistry service.

Return to top