8 references to Kernel32
Microsoft.Win32.Registry (8)
_generated\0\LibraryImports.g.cs (3)
81
internal 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)
98
fixed (global::Interop.
Kernel32
.SECURITY_ATTRIBUTES* __secAttrs_native = &secAttrs)
128
static 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)
222
Interop.
Kernel32
.SECURITY_ATTRIBUTES secAttrs = Interop.
Kernel32
.SECURITY_ATTRIBUTES.Create(pSecurityDescriptor);
1601
throw 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)
25
ref
Kernel32
.SECURITY_ATTRIBUTES secAttrs,