Share via


SystemState::SetRegistryValueUInt64 method

Sets an unsigned 64-bit (unsigned REG_QWORD) value Into the registry.

Syntax

virtual HRESULT SetRegistryValueUInt64(
  [in] HKEY      keyRoot,
  [in] LPCWSTR   keyPath,
  [in] LPCWSTR   valueName,
  [in] ULONGLONG data
) = 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 [in]

A pointer to an item to set the registry value.

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