13 references to SafeHeapAllocHandle
System.Security.Cryptography.Pkcs (13)
_generated\0\LibraryImports.g.cs (3)
1248
internal static partial global::Microsoft.Win32.SafeHandles.
SafeHeapAllocHandle
HeapAlloc(nint hHeap, global::Interop.Kernel32.HeapAllocFlags dwFlags, nint dwBytes)
1251
global::Microsoft.Win32.SafeHandles.
SafeHeapAllocHandle
__retVal = default;
1254
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeHeapAllocHandle
>.ManagedToUnmanagedOut __retVal_native__marshaller = new();
Internal\Cryptography\Pal\Windows\HeapBlockRetainer.cs (5)
23
_blocks = new List<
SafeHeapAllocHandle
>();
30
SafeHeapAllocHandle
hBlock =
SafeHeapAllocHandle
.Alloc(cbSize);
74
foreach (
SafeHeapAllocHandle
h in _blocks)
83
private List<
SafeHeapAllocHandle
> _blocks;
Internal\Cryptography\Pal\Windows\HelpersWindows.cs (1)
58
SafeHandle pvData =
SafeHeapAllocHandle
.Alloc(cbData);
Microsoft\Win32\SafeHandles\SafeHeapAllocHandle.cs (2)
15
internal static
SafeHeapAllocHandle
Alloc(int size)
17
SafeHeapAllocHandle
result = Interop.Kernel32.HeapAlloc(s_hHeap, HeapAllocFlags.None, size);
src\runtime\src\libraries\Common\src\Interop\Windows\Crypt32\Interop.CryptEncodeDecodeWrappers.cs (1)
36
SafeHandle sh =
SafeHeapAllocHandle
.Alloc(cbRequired);
src\runtime\src\libraries\Common\src\Interop\Windows\Kernel32\Interop.Heap.cs (1)
25
internal static partial
SafeHeapAllocHandle
HeapAlloc(IntPtr hHeap, HeapAllocFlags dwFlags, nint dwBytes);