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