20 references to SafeRegistryHandle
System (20)
net\System\Net\_AutoWebProxyScriptEngine.cs (7)
46
private
SafeRegistryHandle
hkcu;
61
SafeRegistryHandle
.RegOpenCurrentUser(UnsafeNclNativeMethods.RegistryHelper.KEY_READ, out hkcu);
373
private
SafeRegistryHandle
regKey;
374
private
SafeRegistryHandle
regKeyLM;
375
private
SafeRegistryHandle
regKeyPolicy;
418
private void ListenForRegistryHelper(ref
SafeRegistryHandle
key, ref AutoResetEvent changeEvent, IntPtr baseKey, string subKey)
441
errorCode =
SafeRegistryHandle
.RegOpenKeyEx(baseKey, subKey, 0, UnsafeNclNativeMethods.RegistryHelper.KEY_READ, out key);
net\System\Net\_RegBlobWebProxyDataBuilder.cs (4)
64
private
SafeRegistryHandle
m_Registry;
66
public RegBlobWebProxyDataBuilder(string connectoid,
SafeRegistryHandle
registry)
80
SafeRegistryHandle
key = null;
108
errorCode =
SafeRegistryHandle
.RegOpenKeyEx(UnsafeNclNativeMethods.RegistryHelper.HKEY_LOCAL_MACHINE, ProxyKey, 0, UnsafeNclNativeMethods.RegistryHelper.KEY_READ, out key);
net\System\Net\_SafeNetHandles.cs (3)
3029
internal static uint RegOpenKeyEx(IntPtr key, string subKey, uint ulOptions, uint samDesired, out
SafeRegistryHandle
resultSubKey)
3034
internal uint RegOpenKeyEx(string subKey, uint ulOptions, uint samDesired, out
SafeRegistryHandle
resultSubKey)
3093
internal static uint RegOpenCurrentUser(uint samDesired, out
SafeRegistryHandle
resultKey)
net\System\Net\UnsafeNativeMethods.cs (6)
171
internal static extern uint RegOpenKeyEx(IntPtr key, string subKey, uint ulOptions, uint samDesired, out
SafeRegistryHandle
resultSubKey);
174
internal static extern uint RegOpenKeyEx(
SafeRegistryHandle
key, string subKey, uint ulOptions, uint samDesired, out
SafeRegistryHandle
resultSubKey);
181
internal static extern uint RegNotifyChangeKeyValue(
SafeRegistryHandle
key, bool watchSubTree, uint notifyFilter, SafeWaitHandle regEvent, bool async);
184
internal static extern uint RegOpenCurrentUser(uint samDesired, out
SafeRegistryHandle
resultKey);
187
internal static extern uint RegQueryValueEx(
SafeRegistryHandle
key, string valueName, IntPtr reserved, out uint type, [Out] byte[] data, [In][Out] ref uint size);