IOleClientSite.cs 992 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Runtime.InteropServices;
  3. namespace LYFZ.OtherExpansion.SkinControl
  4. {
  5. [ComVisible(true), Guid("00000118-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
  6. public interface IOleClientSite
  7. {
  8. [PreserveSig]
  9. [return: MarshalAs(UnmanagedType.I4)]
  10. int SaveObject();
  11. [PreserveSig]
  12. [return: MarshalAs(UnmanagedType.I4)]
  13. int GetMoniker([MarshalAs(UnmanagedType.U4)] [In] int dwAssign, [MarshalAs(UnmanagedType.U4)] [In] int dwWhichMoniker, [MarshalAs(UnmanagedType.Interface)] out object ppmk);
  14. [PreserveSig]
  15. [return: MarshalAs(UnmanagedType.I4)]
  16. int GetContainer([MarshalAs(UnmanagedType.Interface)] out IOleContainer container);
  17. [PreserveSig]
  18. [return: MarshalAs(UnmanagedType.I4)]
  19. int ShowObject();
  20. [PreserveSig]
  21. [return: MarshalAs(UnmanagedType.I4)]
  22. int OnShowWindow([MarshalAs(UnmanagedType.I4)] [In] int fShow);
  23. [PreserveSig]
  24. [return: MarshalAs(UnmanagedType.I4)]
  25. int RequestNewObjectLayout();
  26. }
  27. }