21 references to SafeMemoryMappedFileHandle
System.Core (21)
Microsoft\Win32\UnsafeNativeMethods.cs (4)
1418
SafeMemoryMappedFileHandle
hFile,
1432
internal static extern
SafeMemoryMappedFileHandle
CreateFileMapping(
1451
internal static extern
SafeMemoryMappedFileHandle
OpenFileMapping(
1461
SafeMemoryMappedFileHandle
handle,
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (15)
32
private
SafeMemoryMappedFileHandle
_handle;
39
private MemoryMappedFile(
SafeMemoryMappedFileHandle
handle) {
47
private MemoryMappedFile(
SafeMemoryMappedFileHandle
handle, FileStream fileStream, bool leaveOpen) {
92
SafeMemoryMappedFileHandle
handle = OpenCore(mapName, inheritability, (int)desiredAccessRights, false);
170
SafeMemoryMappedFileHandle
handle = null;
241
SafeMemoryMappedFileHandle
handle = CreateCore(fileStream.SafeFileHandle, mapName, inheritability, memoryMappedFileSecurity,
300
SafeMemoryMappedFileHandle
handle = CreateCore(new SafeFileHandle(new IntPtr(-1), true), mapName, inheritability,
362
SafeMemoryMappedFileHandle
handle;
379
private static
SafeMemoryMappedFileHandle
CreateCore(SafeFileHandle fileHandle, String mapName,
385
SafeMemoryMappedFileHandle
handle = null;
420
private static
SafeMemoryMappedFileHandle
OpenCore(String mapName, HandleInheritability inheritability,
423
SafeMemoryMappedFileHandle
handle = UnsafeNativeMethods.OpenFileMapping(desiredAccessRights,
454
private static
SafeMemoryMappedFileHandle
CreateOrOpenCore(SafeFileHandle fileHandle, String mapName,
462
SafeMemoryMappedFileHandle
handle = null;
625
public
SafeMemoryMappedFileHandle
SafeMemoryMappedFileHandle {
System\IO\MemoryMappedFiles\MemoryMappedFileSecurity.cs (1)
60
internal MemoryMappedFileSecurity(
SafeMemoryMappedFileHandle
safeHandle, AccessControlSections includeSections )
System\IO\MemoryMappedFiles\MemoryMappedView.cs (1)
74
internal unsafe static MemoryMappedView CreateView(
SafeMemoryMappedFileHandle
memMappedFileHandle,