注册表中路径的写法
2013-07-06 11:47
190 查看
注册表中路径的写法
实际上,因为用户模式下的应用程序总是由某个 “ 当前用户 ” 打开的,因此在用户模 式
下可以直接访问 HKEY_CLASSES_ROOT 和 HKEY_CURRENT_USER ,但工作在内核模式
下的驱动程序不属于任何一个用户,因此不能直接访问这两个根键。
如果对象类型为注册表键,则对象名字应该起始于“\Registry”。例如:
键 名称
HKEY_USER "\Registry\User"
HKEY_LOCAL_MACHINE "\Registry\Machine"
Specifies whether Path is an absolute registry path or is relative to a predefined path as one of the following.
实际上,因为用户模式下的应用程序总是由某个 “ 当前用户 ” 打开的,因此在用户模 式
下可以直接访问 HKEY_CLASSES_ROOT 和 HKEY_CURRENT_USER ,但工作在内核模式
下的驱动程序不属于任何一个用户,因此不能直接访问这两个根键。
如果对象类型为注册表键,则对象名字应该起始于“\Registry”。例如:
键 名称
HKEY_USER "\Registry\User"
HKEY_LOCAL_MACHINE "\Registry\Machine"
Specifies whether Path is an absolute registry path or is relative to a predefined path as one of the following.
Value | Meaning |
---|---|
RTL_REGISTRY_ABSOLUTE | Path is an absolute registry path. |
RTL_REGISTRY_SERVICES | Path is relative to \Registry\Machine\System\CurrentControlSet\Services. |
RTL_REGISTRY_CONTROL | Path is relative to \Registry\Machine\System\CurrentControlSet\Control. |
RTL_REGISTRY_WINDOWS_NT | Path is relative to \Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion. |
RTL_REGISTRY_DEVICEMAP | Path is relative to \Registry\Machine\Hardware\DeviceMap. |
RTL_REGISTRY_USER | Path is relative to \Registry\User\CurrentUser. (For a system process, this is \Users\.Default.) |
RTL_REGISTRY_OPTIONAL | Specifies that the key referenced by this parameter and the Path parameter are optional. |
RTL_REGISTRY_HANDLE | Specifies that the Path parameter is actually a registry handle to use. This value is optional. |
相关文章推荐
- 注册表中路径的写法
- 注册表中路径的写法
- HTML有2种路径的写法:绝对路径和相对路径
- Windows下路径与Linux下的路径写法
- 【android路径写法以及存储】
- Windows 注册表系统软件默认安装路径修改方法
- nodejs读取文件时相对路径的正确写法(使用fs模块)
- Visual Studio安装项目中将用户选择的安装路径写入注册表的方法
- 从注册表切断一切黑客入侵的路径
- 从注册表获取路径
- 获取url据对路径写法
- 通过修改注册表来修改系统的默认安装路径
- 关于IIS注册表全版本泄漏用户路径和FTP用户名漏洞 京华志
- Windows注册表中修改CMD默认路径
- HTML相对路径 上级目录及下级目录的写法
- 正则表达式提取图片路径 并过滤掉指定字符的写法
- C#文件路径的写法
- java操作注册表时,注意路径问题
- C# 获取常见软件的安装路径(调用注册表)
- Windows基础设置收藏:(二)通过修改注册表来设置一些软件中隐藏起来的路径设置