zoukankan      html  css  js  c++  java
  • 注册表中路径的写法

    注册表中路径的写法
    实际上,因为用户模式下的应用程序总是由某个 “ 当前用户 ” 打开的,因此在用户模 式
    下可以直接访问 HKEY_CLASSES_ROOT 和 HKEY_CURRENT_USER ,但工作在内核模式
    下的驱动程序不属于任何一个用户,因此不能直接访问这两个根键。


    如果对象类型为注册表键,则对象名字应该起始于“Registry”。例如:

    键                     名称
    HKEY_USER              "RegistryUser"
    HKEY_LOCAL_MACHINE     "RegistryMachine"


    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 RegistryMachineSystemCurrentControlSetServices.

    RTL_REGISTRY_CONTROL

    Path is relative to RegistryMachineSystemCurrentControlSetControl.

    RTL_REGISTRY_WINDOWS_NT

    Path is relative to RegistryMachineSoftwareMicrosoftWindows NTCurrentVersion.

    RTL_REGISTRY_DEVICEMAP

    Path is relative to RegistryMachineHardwareDeviceMap.

    RTL_REGISTRY_USER

    Path is relative to RegistryUserCurrentUser. (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.


  • 相关阅读:
    [概述]移动机器人自主探索
    MRPT编译
    Kinect2.0相机标定
    小豆包的学习之旅:里程计运动模型
    小豆包的学习之旅:入门篇
    Kinect2.0点云数据获取
    COFF,amd64.vc90.mfc两个布署的问题
    [硬件]Robot运动控制
    [硬件]Urg_viewer数据读取
    [硬件]三维点云数据获取
  • 原文地址:https://www.cnblogs.com/vcerror/p/4289257.html
Copyright © 2011-2022 走看看