Share via


SystemState::CheckRegistryValueUInt32 method

Retrieves an unsigned 32-bit integer (unsigned REG_DWORD) value from the registry.

Syntax

virtual HRESULT CheckRegistryValueUInt32(
  [in]  HKEY    keyRoot,
  [in]  LPCWSTR keyPath,
  [in]  LPCWSTR valueName,
  [out] ULONG   *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 [out]

A pointer to an item to receive the registry string 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