3 writes to hkey
mscorlib (3)
microsoft\win32\registrykey.cs (3)
205
this.
hkey
= hkey;
240
hkey
= null;
1689
this.
hkey
= null;
39 references to hkey
mscorlib (39)
microsoft\win32\registrykey.cs (39)
229
if (
hkey
!= null) {
233
hkey
.Dispose();
262
if (
hkey
!= null) {
264
Win32Native.RegFlushKey(
hkey
);
384
int ret = Win32Native.RegCreateKeyEx(
hkey
,
452
ret = Win32Native.RegDeleteKeyEx(
hkey
, subkey, (int)regView, 0);
456
ret = Win32Native.RegDeleteKey(
hkey
, subkey);
520
ret = Win32Native.RegDeleteKeyEx(
hkey
, subkey, (int)regView, 0);
524
ret = Win32Native.RegDeleteKey(
hkey
, subkey);
557
ret = Win32Native.RegDeleteKeyEx(
hkey
, subkey, (int)regView, 0);
561
ret = Win32Native.RegDeleteKey(
hkey
, subkey);
587
int errorCode = Win32Native.RegDeleteValue(
hkey
, name);
736
int ret = Win32Native.RegOpenKeyEx(
hkey
,
800
int ret = Win32Native.RegOpenKeyEx(
hkey
, name, 0, (rights | (int)regView), out result);
829
int ret = Win32Native.RegOpenKeyEx(
hkey
,
935
return
hkey
;
969
int ret = Win32Native.RegQueryInfoKey(
hkey
,
1017
int ret = Win32Native.RegEnumKeyEx(
hkey
,
1053
int ret = Win32Native.RegQueryInfoKey(
hkey
,
1092
int ret = Win32Native.RegEnumValue(
hkey
,
1183
int ret = Win32Native.RegQueryValueEx(
hkey
, name, null, ref type, (byte[])null, ref datasize);
1192
while (Win32Native.ERROR_MORE_DATA == (r = Win32Native.RegQueryValueEx(
hkey
, name, null, ref type, blob, ref sizeInput))) {
1232
ret = Win32Native.RegQueryValueEx(
hkey
, name, null, ref type, blob, ref datasize);
1245
ret = Win32Native.RegQueryValueEx(
hkey
, name, null, ref type, ref blob, ref datasize);
1259
ret = Win32Native.RegQueryValueEx(
hkey
, name, null, ref type, ref blob, ref datasize);
1278
ret = Win32Native.RegQueryValueEx(
hkey
, name, null, ref type, blob, ref datasize);
1303
ret = Win32Native.RegQueryValueEx(
hkey
, name, null, ref type, blob, ref datasize);
1331
ret = Win32Native.RegQueryValueEx(
hkey
, name, null, ref type, blob, ref datasize);
1399
int ret = Win32Native.RegQueryValueEx(
hkey
, name, null, ref type, (byte[])null, ref datasize);
1491
ret = Win32Native.RegSetValueEx(
hkey
,
1534
ret = Win32Native.RegSetValueEx(
hkey
,
1547
ret = Win32Native.RegSetValueEx(
hkey
,
1561
ret = Win32Native.RegSetValueEx(
hkey
,
1574
ret = Win32Native.RegSetValueEx(
hkey
,
1642
return new RegistrySecurity(
hkey
, keyName, includeSections);
1651
registrySecurity.Persist(
hkey
, keyName);
1688
this.
hkey
.SetHandleAsInvalid();
2087
int retval = Win32Native.RegQueryValueEx(
hkey
, name, null, ref type, (byte[])null, ref datasize);
2093
if (
hkey
== null) {