Partilhar via


ILocalRegistry3.GetLocalRegistryRoot(String) Method

Definition

Returns the local registry root.

public:
 int GetLocalRegistryRoot([Runtime::InteropServices::Out] System::String ^ % pbstrRoot);
int GetLocalRegistryRoot([Runtime::InteropServices::Out] std::wstring const & & pbstrRoot);
public int GetLocalRegistryRoot (out string pbstrRoot);
abstract member GetLocalRegistryRoot : string -> int
Public Function GetLocalRegistryRoot (ByRef pbstrRoot As String) As Integer

Parameters

pbstrRoot
String

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

Returns

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

Implements

Remarks

This method is safe to access from any thread.

Applies to