RegCreateKeyA (advapi32)
Last changed: -83.163.64.35

.
Summary
TODO - a short description

C# Signature:

[DllImport("advapi32.dll"]
static extern int RegCreateKeyA(uint hKey, string lpSubKey, ref IntPtr phkResult);

VB Signature:

Private Declare Function RegCreateKeyEx Lib "advapi32.dll" Alias "RegCreateKeyExA" (ByVal hKey As Integer, _

                                            ByVal lpSubKey As String, _
                                            ByVal Reserved As Integer, _
                                            ByVal lpClass As String, _
                                            ByVal dwOptions As Integer, _
                                            ByVal samDesired As Integer, _
                                            ByVal lpSecurityAttributes As Integer, _
                                            ByRef phkResult As Integer, _
                                            ByRef lpdwDisposition As Integer) As Integer

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

RegCreateKeyA(0x80000001, "Key Name", ref aKey);

Documentation