regopenkeyex (coredll)
Last changed: -62.253.128.14

.
Summary
Opens the specified key.

C# Signature:

[DllImport("coredll.dll")]
public static extern int RegOpenKeyEx(
   UIntPtr hKey, string lpSubKey, uint ulOptions,
   int samDesired, out IntPtr phkResult);

User-Defined Types:

None.

Notes:

The .NET Compact Framework does not contain a HandleRef type, so it may be necessary to call GC.KeepAlive after calling this function if the calling class wraps the hKey parameter as an unmanaged resource.

Tips & Tricks:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Documentation