[DllImport("dtl.dll", SetLastError=true)]
static extern public int DTL_VERSION(StringBuilder sb, int maxChars);
Declare Function DTL_VERSION Lib "dtl.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
Dtl.dll functions are not thread safe. Multiple instances need to be in separate processes.
Please add some!
/// <summary>
/// Get version of dtl dll
/// </summary>
/// <param name="versionText">string to hold returned text</param>
/// <param name="maxCharsToReturn">size of string to hold version text</param>
/// <returns>dtl status</returns>
public static int DtlVersion(StringBuilder versionText, int maxCharsToReturn)
{
new UIPermission(UIPermissionWindow.AllWindows).Demand();
return (UnsafeNativeMethods.DTL_VERSION(versionText, maxCharsToReturn));
}