NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
载入中...
搜索中...
未找到
neforce::registry_key::value_info结构体 参考

系统注册表值信息结构 更多...

#include <registry_key.hpp>

Public 成员函数

wstring to_string () const
 将值数据转换为字符串
::DWORD to_dword () const noexcept
 将值数据转换为32位整数
::ULONGLONG to_qword () const noexcept
 将值数据转换为64位整数
vector< wstringto_multi_string () const
 将值数据转换为多字符串列表

Public 属性

wstring name
 值名称
value_type type
 值类型
vector< byte_tdata
 原始数据

详细描述

系统注册表值信息结构

在文件 registry_key.hpp124 行定义.

成员函数说明

◆ to_dword()

::DWORD neforce::registry_key::value_info::to_dword ( ) const
nodiscardnoexcept

将值数据转换为32位整数

返回
DWORD值

◆ to_multi_string()

vector< wstring > neforce::registry_key::value_info::to_multi_string ( ) const
nodiscard

将值数据转换为多字符串列表

返回
字符串向量
异常
registry_key_exception当类型不是REG_MULTI_SZ时抛出

引用了 name , 以及 to_multi_string().

被这些函数引用 to_multi_string().

◆ to_qword()

::ULONGLONG neforce::registry_key::value_info::to_qword ( ) const
nodiscardnoexcept

将值数据转换为64位整数

返回
QWORD值

引用了 to_qword().

被这些函数引用 to_qword().

◆ to_string()

wstring neforce::registry_key::value_info::to_string ( ) const
nodiscard

将值数据转换为字符串

返回
字符串值
异常
registry_key_exception当类型不是字符串类型时抛出

该结构体的文档由以下文件生成: