点击或拖拽改变大小

AdvApiRegCreateKeyEx 方法

Sweet 开发框架

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

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int RegCreateKeyEx(
	IntPtr hKey,
	string lpSubKey,
	int Reserved,
	string lpClass,
	int dwOptions,
	int samDesired,
	ref SECURITY_ATTRIBUTES lpSecurityAttributes,
	ref int phkResult,
	ref int lpdwDisposition
)

参数

hKey
类型:SystemIntPtr

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

lpSubKey
类型:SystemString

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

Reserved
类型:SystemInt32

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

lpClass
类型:SystemString

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

dwOptions
类型:SystemInt32

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

samDesired
类型:SystemInt32

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

lpSecurityAttributes
类型:Sweet.Common.Win32SECURITY_ATTRIBUTES

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

phkResult
类型:SystemInt32

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

lpdwDisposition
类型:SystemInt32

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

返回值

类型:Int32

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

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