点击或拖拽改变大小

AdvApiRegQueryInfoKey 方法

Sweet 开发框架

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <summary> 文档]

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int RegQueryInfoKey(
	IntPtr hKey,
	string lpClass,
	ref int lpcbClass,
	ref int lpReserved,
	ref int lpcSubKeys,
	ref int lpcbMaxSubKeyLen,
	ref int lpcbMaxClassLen,
	ref int lpcValues,
	ref int lpcbMaxValueNameLen,
	ref int lpcbMaxValueLen,
	ref int lpcbSecurityDescriptor,
	ref FILETIME lpftLastWriteTime
)

参数

hKey
类型:SystemIntPtr

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <param name="hKey"/> 文档]

lpClass
类型:SystemString

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <param name="lpClass"/> 文档]

lpcbClass
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <param name="lpcbClass"/> 文档]

lpReserved
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <param name="lpReserved"/> 文档]

lpcSubKeys
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <param name="lpcSubKeys"/> 文档]

lpcbMaxSubKeyLen
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <param name="lpcbMaxSubKeyLen"/> 文档]

lpcbMaxClassLen
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <param name="lpcbMaxClassLen"/> 文档]

lpcValues
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <param name="lpcValues"/> 文档]

lpcbMaxValueNameLen
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <param name="lpcbMaxValueNameLen"/> 文档]

lpcbMaxValueLen
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <param name="lpcbMaxValueLen"/> 文档]

lpcbSecurityDescriptor
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <param name="lpcbSecurityDescriptor"/> 文档]

lpftLastWriteTime
类型:Sweet.Common.Win32FILETIME

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <param name="lpftLastWriteTime"/> 文档]

返回值

类型:Int32

[缺少 "M:Sweet.Common.Win32.AdvApi.RegQueryInfoKey(System.IntPtr,System.String,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Int32@,Sweet.Common.Win32.FILETIME@)" 的 <returns> 文档]

参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架