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