[StructLayoutAttribute(LayoutKind.Sequential)] public struct IHU_TIMESTAMP { public int Seconds; public int Subsectonds; } [System.Runtime.InteropServices.DllImportAttribute("IHAPIDLLS.dll", EntryPoint = "api_ihuReadCurrentValue")] public static extern int api_ihuReadCurrentValue( int serverhandle, int number_of_tags, IntPtr tagnames, ref float tagvalues, ref IHU_TIMESTAMP timestamps, ref int tagerrs, IntPtr retmessage);
[StructLayoutAttribute(LayoutKind.Sequential)]
public struct IHU_TIMESTAMP
{
public int Seconds;
public int Subsectonds;
}
[System.Runtime.InteropServices.DllImportAttribute("IHAPIDLLS.dll", EntryPoint = "api_ihuReadCurrentValue")]
public static extern int api_ihuReadCurrentValue(
int serverhandle,
int number_of_tags,
IntPtr tagnames,
ref float tagvalues,
ref IHU_TIMESTAMP timestamps,
ref int tagerrs,
IntPtr retmessage);