IProxyProvider.cs 929 B

12345678910111213141516171819202122232425
  1. //-----------------------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //-----------------------------------------------------------------------------
  4. namespace System.ServiceModel.ComIntegration
  5. {
  6. using System;
  7. using System.Runtime.InteropServices;
  8. using Microsoft.Win32;
  9. using System.Reflection;
  10. using System.Collections.Generic;
  11. using System.Threading;
  12. [System.Security.SuppressUnmanagedCodeSecurity,
  13. ComImport,
  14. Guid("11281BB7-1253-45ef-B98F-D551F79499FD"),
  15. InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  16. interface IProxyProvider
  17. {
  18. [PreserveSig]
  19. int CreateOuterProxyInstance(IProxyManager proxyManager, [In()] ref Guid riid, out IntPtr ppv);
  20. [PreserveSig]
  21. int CreateDispatchProxyInstance(IntPtr outer, IPseudoDispatch proxy, out IntPtr ppvInner);
  22. }
  23. }