Share via


Adding a Key and Values, and Modifying a Value Example

Send Feedback

This example adds a registry key (Registry\HKLM\Software\Microsoft\TestKey3), adds values to the key, and then modifies one of the values (TestValue).

<wap-provisioningdoc>
   <characteristic type="Registry">
      <characteristic type="HKCU\Software\Microsoft\TestKey3">
         <parm name="TestValue" value="5" datatype="integer" />
         <parm name="TestValueBoolean" value="1" datatype="boolean" />
         <!-- boolean is stored as an integer in the registry -->
         <parm name="TestValueString" value="testtesttest" 
         datatype="string" />
         <parm name="TestValueDateTime1" value="10/20/01 3:55:04 pm" 
         datatype="date" />  
         <!-- date and time may be combined into a 
         single value using either date or time datatypes -->
         <parm name="TestValueDateTime2" value="10/20/01 3:55:04 pm" 
         datatype="time" />
         <parm name="TestValueString2"
         value="string1&#xF000;string2&#xF000;string3&#xF000;&#xF000;" datatype="multiplestring" />  
         <!-- multiple strings are  separated by &#xF000; -->
         <!-- multiple strings are ended with two &#xF000; -->
         <parm name="TestValueInteger"
         value="5iAGkAbgBhAHIAeQAgAGIAbABvAG" datatype="binary" />
      </characteristic>
   </characteristic>
</wap-provisioningdoc>

See Also

Registry Configuration Service Provider Examples for OMA Client Provisioning

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.