[DllImport("coredll.dll", SetLastError = true, CharSet = CharSet.Unicode)] public static extern int RegQueryValueEx( IntPtr hKey, string lpValueName, IntPtr lpReserved, ref int lpType, IntPtr lpData, ref int lpcbData );
Microsoft documentation: Link
Last updated 1 year ago