DDC.ObjectManagement-Advanced.cs 884 B

123456789101112131415161718192021
  1. using System;
  2. using System.Runtime.InteropServices;
  3. using TDMS.Common;
  4. namespace TDMS.Externals
  5. {
  6. internal partial class DDC : DIAdemConnectivity
  7. {
  8. [DllImport(DLL, CallingConvention = CallingConvention.StdCall, EntryPoint = "DDC_RemoveChannelGroup")]
  9. public static extern Error RemoveChannelGroup(IntPtr channelGroup);
  10. [DllImport(DLL, CallingConvention = CallingConvention.StdCall, EntryPoint = "DDC_RemoveChannel")]
  11. public static extern Error RemoveChannel(IntPtr channel);
  12. [DllImport(DLL, CallingConvention = CallingConvention.StdCall, EntryPoint = "DDC_CloseChannelGroup")]
  13. public static extern Error CloseChannelGroup(IntPtr channelGroup);
  14. [DllImport(DLL, CallingConvention = CallingConvention.StdCall, EntryPoint = "DDC_CloseChannel")]
  15. public static extern Error CloseChannel(IntPtr channel);
  16. }
  17. }