9 references to Kernel32
System.Security.Cryptography.Pkcs (9)
_generated\0\LibraryImports.g.cs (4)
1248
internal static partial global::Microsoft.Win32.SafeHandles.SafeHeapAllocHandle HeapAlloc(nint hHeap, global::Interop.
Kernel32
.HeapAllocFlags dwFlags, nint dwBytes)
1279
static extern unsafe nint __PInvoke(nint __hHeap_native, global::Interop.
Kernel32
.HeapAllocFlags __dwFlags_native, nint __dwBytes_native);
1289
internal static partial bool HeapFree(nint hHeap, global::Interop.
Kernel32
.HeapAllocFlags dwFlags, nint lpMem)
1302
static extern unsafe int __PInvoke(nint __hHeap_native, global::Interop.
Kernel32
.HeapAllocFlags __dwFlags_native, nint __lpMem_native);
Microsoft\Win32\SafeHandles\SafeHeapAllocHandle.cs (4)
7
using HeapAllocFlags = Interop.
Kernel32
.HeapAllocFlags;
17
SafeHeapAllocHandle result = Interop.
Kernel32
.HeapAlloc(s_hHeap, HeapAllocFlags.None, size);
49
bool success = Interop.
Kernel32
.HeapFree(s_hHeap, HeapAllocFlags.None, handle);
56
private static readonly IntPtr s_hHeap = Interop.
Kernel32
.GetProcessHeap();
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptoThrowHelper.Windows.cs (1)
19
string message = Interop.
Kernel32
.GetMessage(hr);