Share via


SystemState::CheckRegistryValueMultistring method

Retrieves a multi-string (REG_MULTI_SZ) value from the registry.

Syntax

virtual HRESULT CheckRegistryValueMultistring(
  [in]  HKEY    keyRoot,
  [in]  LPCWSTR keyPath,
  [in]  LPCWSTR valueName,
  [out] LPCWSTR *data,
  [out] ULONG   *length
) = 0;

Parameters

keyRoot [in]

A handle to the root of the registry key.

keyPath [in]

The registry value path.

valueName [in]

The registry value name.

data [out]

A pointer to a string buffer to receive the registry multi-string value.

length [out]

The length of the returned strings (including the zero at the end to indicate the last string).

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

SystemState