8 references to Kernel32
Microsoft.Win32.Registry (8)
_generated\0\LibraryImports.g.cs (3)
81internal static partial int RegCreateKeyEx(global::Microsoft.Win32.SafeHandles.SafeRegistryHandle hKey, string lpSubKey, int Reserved, string lpClass, int dwOptions, int samDesired, ref global::Interop.Kernel32.SECURITY_ATTRIBUTES secAttrs, out global::Microsoft.Win32.SafeHandles.SafeRegistryHandle hkResult, out int lpdwDisposition) 98fixed (global::Interop.Kernel32.SECURITY_ATTRIBUTES* __secAttrs_native = &secAttrs) 128static extern unsafe int __PInvoke(nint __hKey_native, ushort* __lpSubKey_native, int __Reserved_native, ushort* __lpClass_native, int __dwOptions_native, int __samDesired_native, global::Interop.Kernel32.SECURITY_ATTRIBUTES* __secAttrs_native, nint* __hkResult_native, int* __lpdwDisposition_native);
Microsoft\Win32\RegistryKey.cs (4)
222Interop.Kernel32.SECURITY_ATTRIBUTES secAttrs = Interop.Kernel32.SECURITY_ATTRIBUTES.Create(pSecurityDescriptor); 1601throw new IOException(Interop.Kernel32.GetMessage(errorCode), errorCode); 1612_ => new IOException(Interop.Kernel32.GetMessage(errorCode), errorCode),
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.RegCreateKeyEx.cs (1)
25ref Kernel32.SECURITY_ATTRIBUTES secAttrs,