Rilascia l'handle di un oggetto DiMaTek precedentemente creato con dmtCreate.
LONG WINAPI dmtRelease (
HDMTOBJ hDmt);
Public Declare Function dmtRelease Lib "Dimatec.dll" _
(ByVal hDmt As Long) _
As Long
External_Function dmtRelease "dmtRelease" Dimatec.dll ;
HDMTOBJ hDmt ;
returns integer
[DllImport("Dimatec.dll")]
public static extern int dmtRelease (
int hDmt);
hDmt - Handle dell'oggetto DiMaTek
DMT_OK in caso di successo, altrimenti un codice di errore
Integer ret
If (ghDmt > 0) Begin
Move (dmtRelease( ;
ghDmt)) to ret
End
If (g_hDmt > 0) Then
dmtRelease g_hDmt
End If
if (CDIMATECLIBRARY.ghDimatecObj > 0)
{
CDIMATECLIBRARY.dmtRelease(CDIMATECLIBRARY.ghDimatecObj);
}