diff options
Diffstat (limited to 'tests/src/Interop/COM/ServerContracts/Server.Contracts.cs')
-rw-r--r-- | tests/src/Interop/COM/ServerContracts/Server.Contracts.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/src/Interop/COM/ServerContracts/Server.Contracts.cs b/tests/src/Interop/COM/ServerContracts/Server.Contracts.cs index 7c198c7138..f32518485c 100644 --- a/tests/src/Interop/COM/ServerContracts/Server.Contracts.cs +++ b/tests/src/Interop/COM/ServerContracts/Server.Contracts.cs @@ -306,6 +306,22 @@ namespace Server.Contract void SetNextLicense([MarshalAs(UnmanagedType.LPWStr)] string lic); } + + /// <remarks> + /// This interface is used to test consumption of the NET server from a NET client only. + /// </remarks> + [ComVisible(true)] + [Guid("CCBC1915-3252-4F6B-98AA-411CE6213D94")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + public interface IConsumeNETServer + { + IntPtr GetCCW(); + object GetRCW(); + void ReleaseResources(); + + bool EqualByCCW(object obj); + bool NotEqualByRCW(object obj); + } } #pragma warning restore 618 // Must test deprecated features |