Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SafeMemoryMappedFileHandle.cs
Go to the documentation of this file.
1
namespace
Microsoft.Win32.SafeHandles
;
2
3
public
sealed
class
SafeMemoryMappedFileHandle
:
SafeHandleZeroOrMinusOneIsInvalid
4
{
5
public
override
bool
IsInvalid
=> base.IsInvalid;
6
7
public
SafeMemoryMappedFileHandle
()
8
: base(ownsHandle: true)
9
{
10
}
11
12
protected
override
bool
ReleaseHandle
()
13
{
14
return
global::Interop.Kernel32.CloseHandle(
handle
);
15
}
16
}
Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Definition
SafeHandleZeroOrMinusOneIsInvalid.cs:7
Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle.SafeMemoryMappedFileHandle
SafeMemoryMappedFileHandle()
Definition
SafeMemoryMappedFileHandle.cs:7
Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle.ReleaseHandle
override bool ReleaseHandle()
Definition
SafeMemoryMappedFileHandle.cs:12
Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle.IsInvalid
override bool IsInvalid
Definition
SafeMemoryMappedFileHandle.cs:5
Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle
Definition
SafeMemoryMappedFileHandle.cs:4
System.Runtime.InteropServices.SafeHandle.handle
IntPtr handle
Definition
SafeHandle.cs:8
Microsoft.Win32.SafeHandles
Definition
SafeProcessHandle.cs:3
source
System.IO.MemoryMappedFiles
Microsoft.Win32.SafeHandles
SafeMemoryMappedFileHandle.cs
Generated by
1.10.0