Funzione per inizializzare un CertStore vuoto all'interno dell'oggetto DiMaTek.
LONG WINAPI dmtBuildNewCertStore (
HDMTOBJ hDmt)
External_Function dmtBuildNewCertStore "dmtBuildNewCertStore" Dimatec.dll ;
Handle hDmt ;
Returns Integer
Public Declare Function dmtBuildNewCertStore Lib "Dimatec.dll" _
(ByVal hDmt As Long) _
As Long
[DllImport("Dimatec.dll")]
public static extern int dmtBuildNewCertStore (
int hDmt);
hDmt - Handle dell'oggetto DiMaTek
DMT_OK in caso di successo, altrimenti un codice di errore
Integer ret
Move (dmtBuildNewCertStore( ;
ghdmt)) to ret
Dim res As Long
res = dmtBuildNewCertStore(g_hDmt)
int BuildNewCertStoreResult = CDIMATECLIBRARY.dmtBuildNewCertStore(
CDIMATECLIBRARY.ghDimatecObj);