⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cwp1094.htm

📁 WJ Communications RFID example code
💻 HTM
字号:
<!-- saved from url=(0007)http:// -->
<HTML><HEAD><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><TITLE>WJ.MPR.WinAPI.Registry</TITLE><LINK REL=STYLESHEET HREF="../CommentReport.css" TYPE="text/css"></HEAD><BODY topmargin=0 rightmargin=0 leftmargin=0 style="background-image: url(../titletile.jpg); background-repeat:repeat-x; background-position: 0 0;" ><DIV CLASS="PageHeading">WJ.MPR.WinAPI.Registry Class</DIV><DIV CLASS="Description">
Supplies the base &lt;b&gt;RegistryKeys&lt;/b&gt; that access values and subkeys in the registry.
<P></DIV><IMG src="../GradLeft.jpg" width=7 height=378 alt="" border="0" style="position:absolute; left:10; top:18;z-Index:2"><IMG src="../GradTop.jpg" width=352 height=7 alt="" border="0" align="top" style="position:absolute; left:10; top:18; z-index:1"><DIV CLASS="Remarks"><SPAN CLASS="RemarkHdrX">Access: </SPAN>Public</DIV><DIV CLASS="Remarks"><SPAN CLASS="RemarkHdrX">Base Classes: </SPAN>Object</DIV><TABLE CLASS="InfoTable" cellpadding=0 cellspacing=0><TR height=20><TD width=20>&nbsp;</TD><TD valign=top align=left width=9 bgcolor="#cccc66"><IMG SRC="../graycorner.jpg" align=top></TD><TD CLASS="TableLightLabel" WIDTH=206>Members</TD><TD CLASS="TableLightLabel" >Description</TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc"><A HREF="CWP1095.HTM" TARGET="CNTFRAME">LocalMachine</A></TD><TD CLASS="TableLightDesc">
Contains the configuration data for the local machine. This field reads the Windows registry base key HKEY_LOCAL_MACHINE.
<P></TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc"><A HREF="CWP1097.HTM" TARGET="CNTFRAME">CurrentUser</A></TD><TD CLASS="TableLightDesc">
Contains information about the current user preferences. This field reads the Windows registry base key HKEY_CURRENT_USER.
<P></TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc"><A HREF="CWP1098.HTM" TARGET="CNTFRAME">ClassesRoot</A></TD><TD CLASS="TableLightDesc">
 Defines the types (or classes) of documents and the properties associated with those types. This field reads the Windows registry base key HKEY_CLASSES_ROOT.
<P></TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc"><A HREF="CWP1099.HTM" TARGET="CNTFRAME">Users</A></TD><TD CLASS="TableLightDesc">
Contains information about the default user configuration. This field reads the Windows registry base key HKEY_USERS.
<P></TD><TD width=20>&nbsp;</TD></TR></TABLE><DIV CLASS="RemarkHdr">Remarks:</DIV><DIV CLASS="Remarks">This class provides the set of standard root keys found in the registry on
machines running Windows CE.  The registry is a storage facility for information about 
applications and default system settings. For example, applications can use the 
registry for storing information that needs to be preserved once the application is
closed, and access that same information when the application is reloaded.
For instance, you can store color preferences, screen locations, or the size of the window.
The keys exposed by Registry are: 
&lt;list type="bullet"&gt;
&lt;item&gt;&lt;term&gt;CurrentUser&lt;/term&gt;
	&lt;description&gt;Stores information about user preferences.&lt;/description&gt;&lt;/item&gt;
&lt;item&gt;&lt;term&gt;LocalMachine&lt;/term&gt;
	&lt;description&gt;Stores configuration information for the local machine.&lt;/description&gt;&lt;/item&gt;
&lt;item&gt;&lt;term&gt;ClassesRoot&lt;/term&gt;
	&lt;description&gt;Stores information about types (and classes) and their properties.&lt;/description&gt;&lt;/item&gt;  
&lt;item&gt;&lt;term&gt;Users&lt;/term&gt;
	&lt;description&gt;Stores information about the default user configuration.&lt;/description&gt;&lt;/item&gt;&lt;/list&gt; 
Once you have identified the root key under which you want to store/retrieve information 
from the registry, you can use the RegistryKey class to add or remove subkeys, and manipulate 
the values for a given key.<P></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -