Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual Studio SDK
Reference
Interfaces
 GetLocalRegistryRoot Method
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Studio SDK
ILocalRegistry2.GetLocalRegistryRoot Method

Returns the local registry root.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

Visual Basic (Declaration)
Function GetLocalRegistryRoot ( _
	<OutAttribute> ByRef pbstrRoot As String _
) As Integer
Visual Basic (Usage)
Dim instance As ILocalRegistry2
Dim pbstrRoot As String
Dim returnValue As Integer

returnValue = instance.GetLocalRegistryRoot(pbstrRoot)
C#
int GetLocalRegistryRoot (
	out string pbstrRoot
)
C++
int GetLocalRegistryRoot (
	[OutAttribute] String^% pbstrRoot
)
J#
int GetLocalRegistryRoot (
	/** @attribute OutAttribute() */ /** @ref */ String pbstrRoot
)
JScript
JScript does not support passing value-type arguments by reference.

Parameters

pbstrRoot

[out] Pointer to a string containing the local registry root.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From objext.idl:

C++
                            

HRESULT ILocalRegistry2::GetLocalRegistryRoot(

   [out] BSTR* pbstrRoot

);

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker