Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | 
 | 
| DLL | 
 |