Update MapObject.vb

master
この中二病に爆焔を! 3 years ago
parent 6d7395d096
commit 609130688b

@ -115,6 +115,10 @@ Public Class MapObject : Implements IDisposable
}
End Function
Public Shared Function Exists(hMem As MapObject) As Boolean
Return Exists(hMem.hMem)
End Function
''' <summary>
''' Test file exists?
''' </summary>
@ -131,6 +135,14 @@ Public Class MapObject : Implements IDisposable
End Try
End Function
Public Shared Sub Allocate(file As MapObject)
Try
Call Allocate(file.size, file.hMem)
Catch ex As Exception
End Try
End Sub
''' <summary>
''' Allocate an empty memory region
''' </summary>

Loading…
Cancel
Save