Freigeben über


ILocalRegistry2.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 containing the local registry root.

Returns

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

Remarks

This method is safe to access from any thread.

Applies to