Example #1
0
 public static extern TPCANStatus SetValue(
     [MarshalAs(UnmanagedType.U1)]
     TPCANHandle Channel,
     [MarshalAs(UnmanagedType.U1)]
     TPCANParameter Parameter,
     ref UInt32 NumericBuffer,
     UInt32 BufferLength);
Example #2
0
 public static extern TPCANStatus GetValue(
     [MarshalAs(UnmanagedType.U1)]
     TPCANHandle Channel,
     [MarshalAs(UnmanagedType.U1)]
     TPCANParameter Parameter,
     StringBuilder StringBuffer,
     UInt32 BufferLength);
Example #3
0
 public static extern TPCANStatus SetValue(
     [MarshalAs(UnmanagedType.U1)]
     TPCANHandle Channel,
     [MarshalAs(UnmanagedType.U1)]
     TPCANParameter Parameter,
     [MarshalAs(UnmanagedType.LPStr, SizeParamIndex = 3)]
     string StringBuffer,
     UInt32 BufferLength);