LXE MX7 Tecton CE Reference Manual page 72

Microsoft windows embedded ce 6 operating system
Hide thumbs Also See for MX7 Tecton CE:
Table of Contents

Advertisement

Commands Supported by Launch
SetRegData
Description
Adds or updates a data field in the registry.
Syntax
Setregdata,key,subkey,type,field,data[,data2][,data3]...
Parameters
key:
The abbreviated major registry key where you want to create/update the subkey. Can be one of:
l
l
l
The case of key doesn't matter
subkey:
The subkey you want to create/update a field in.
type:
The data type of the field you wish to create/update. Can be s (for string value), dd (for decimal value), dx
(for hexadecimal value) or b (for binary value). The case of type doesn't matter. If you're altering an existing
field, type can be different from the current type
field:
The name of the new field to be created/updated.
data:
The value of the field being created. This depends on the type of field. Binary fields can have many values
(up to 2000 bytes). In this case the data field holds the number of bytes in the binary field, and each byte is
given as a subsequent parameter in hexadecimal (data2, data3 etc.).
Example
Setregdata,LM,WidgetsPlc\Info,s,AppName,The Widget Program
Setregdata,LM,WidgetsPlc\Info,dx,HexField,FA5B
Setregdata,LM,WidgetsPlc\Info,b,5,d3,62,58,f1,9c
cr or hkcr (HKEY_CLASSES_ROOT)
cu or hkcu (HKEY_CURRENT_USER)
lm or hklm (HKEY_LOCAL_MACHINE).
E-EQ-MX7CERG-A [ 60  ] MX7 Tecton™ CE Reference Guide

Advertisement

Table of Contents
loading

Table of Contents