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