Пример #1
0
 public static extern bool StructWithSafeHandleByRef(ref StructWithHandle str, IntPtr expectedValue, IntPtr newValue);
Пример #2
0
 public static extern void StructWithSafeHandleOut(out StructWithHandle str, IntPtr expectedValue);
Пример #3
0
 public static extern bool StructWithSafeHandleByValue(StructWithHandle str, IntPtr expectedValue);