JCL Help:RegWriteInteger@DelphiHKEY@string@string@Cardinal@Integer

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Writes an integer key to the registry.


Pascal

 procedure RegWriteInteger(const RootKey: DelphiHKEY; const Key: string; const Name: string; Value: Integer); overload;
procedure RegWriteInteger(const RootKey: DelphiHKEY; const Key: string; const Name: string; DataType: Cardinal; Value: Integer); overload;


Parameters

Parameters Description
const RootKey: DelphiHKEY The rootkey which to write to, one of the HKEY_XXX constants.
const Key: string The key (path) where the desired value is located, relative to RootKey.
const Name: string Name of the value to write.
Value: Integer Value to write.


Description

RegWriteInteger writes a single integer value to the registry. If the function fails it raises an EJclRegistryError exception. The specified Key must already exist.


See Also

RegWriteBool RegWriteString RegWriteBinary


About

Unit

JclRegistry


Donator

John C Molyneux


Contributors

Anonymous


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page