IProxyManager.cs 1.0 KB

12345678910111213141516171819202122232425262728
  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 System.ServiceModel;
  9. [System.Security.SuppressUnmanagedCodeSecurity,
  10. ComImport,
  11. Guid("C05307A7-70CE-4670-92C9-52A757744A02"),
  12. InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  13. interface IProxyManager
  14. {
  15. void GetIDsOfNames([MarshalAs(UnmanagedType.LPWStr)] string name, IntPtr dispid);
  16. [PreserveSig]
  17. int Invoke(UInt32 dispIdMember, IntPtr outerProxy, IntPtr pVarResult, IntPtr pExcepInfo);
  18. [PreserveSig]
  19. int FindOrCreateProxy(IntPtr outerProxy, ref Guid riid, out IntPtr tearOff);
  20. void TearDownChannels();
  21. [PreserveSig]
  22. int InterfaceSupportsErrorInfo(ref Guid riid);
  23. [PreserveSig]
  24. int SupportsDispatch();
  25. }
  26. }