ILocalRegistry2::GetLocalRegistryRoot Method (String^)

 

Returns the local registry root.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetLocalRegistryRoot(
	[OutAttribute] String^% pbstrRoot
)

Parameters

pbstrRoot
Type: System::String^

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

Return Value

Type: System::Int32

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

From objext.idl:

HRESULT ILocalRegistry2::GetLocalRegistryRoot(

   [out] BSTR* pbstrRoot

);

Return to top
Show: