共用方式為


ILocalRegistry4 Interface

Definition

Establishes a local registry relative to the Visual Studio registry hive. You can get an instance of the interface through the SLocalRegistry (SID_SLocalRegistry) service.

public interface class ILocalRegistry4
public interface class ILocalRegistry4
__interface ILocalRegistry4
[System.Runtime.InteropServices.Guid("5C45B909-E820-4ACC-B894-0A013C6DA212")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface ILocalRegistry4
[System.Runtime.InteropServices.Guid("5C45B909-E820-4ACC-B894-0A013C6DA212")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ILocalRegistry4
[<System.Runtime.InteropServices.Guid("5C45B909-E820-4ACC-B894-0A013C6DA212")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type ILocalRegistry4 = interface
[<System.Runtime.InteropServices.Guid("5C45B909-E820-4ACC-B894-0A013C6DA212")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ILocalRegistry4 = interface
Public Interface ILocalRegistry4
Attributes

Remarks

This interface is safe to access from any thread.

Methods

GetLocalRegistryRootEx(UInt32, UInt32, String)

Returns the local registry root.

RegisterClassObject(Guid, UInt32)

Loads a class factory and registers it with COM.

RegisterInterface(Guid)

Registers an interface for marshaling by using a locally registered proxy.

RevokeClassObject(UInt32)

Revokes a registered class object.

Applies to