Exemplo n.º 1
0
 public static void Ch8ModifyCh8StructWithUnionByValueStd()
 {
     Ch8StructWithUnionINT2 value = new Ch8StructWithUnionINT2
     {
         iValue      = 123,
         ch8DataType = Ch8DataType.INT
     };
     bool ret = Ch8Native.Ch8ModifyCh8StructWithUnionByValueStd(value);
 }
Exemplo n.º 2
0
 public static extern bool Ch8ModifyCh8StructWithUnionByValue([MarshalAs(UnmanagedType.Struct)] Ch8StructWithUnionINT2 value);