diff --git a/EgtInterface.vb b/EgtInterface.vb index d4a8b83..98ad0a6 100644 --- a/EgtInterface.vb +++ b/EgtInterface.vb @@ -6127,16 +6127,16 @@ Public Function EgtAddPhase() As Integer End Function -Private Function EgtSetCurrPhase_32(nPhase As Integer) As Boolean +Private Function EgtSetCurrPhase_32(nPhase As Integer, bForced As Boolean) As Boolean End Function -Private Function EgtSetCurrPhase_64(nPhase As Integer) As Boolean +Private Function EgtSetCurrPhase_64(nPhase As Integer, bForced As Boolean) As Boolean End Function -Public Function EgtSetCurrPhase(nPhase As Integer) As Boolean +Public Function EgtSetCurrPhase(nPhase As Integer, Optional bForced As Boolean = False) As Boolean If IntPtr.Size = 4 Then - Return EgtSetCurrPhase_32(nPhase) + Return EgtSetCurrPhase_32(nPhase, bForced) Else - Return EgtSetCurrPhase_64(nPhase) + Return EgtSetCurrPhase_64(nPhase, bForced) End If End Function diff --git a/My Project/AssemblyInfo.vb b/My Project/AssemblyInfo.vb index 163c1dd..8f86759 100644 --- a/My Project/AssemblyInfo.vb +++ b/My Project/AssemblyInfo.vb @@ -46,5 +46,5 @@ Imports System.Runtime.InteropServices ' utilizzando l'asterisco (*) come descritto di seguito: ' - - + +