IOleContainer.cs 705 B

123456789101112
  1. using System;
  2. using System.Runtime.InteropServices;
  3. namespace LYFZ.OtherExpansion.SkinControl
  4. {
  5. [ComVisible(true), Guid("0000011B-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
  6. public interface IOleContainer
  7. {
  8. void ParseDisplayName([MarshalAs(UnmanagedType.Interface)] [In] object pbc, [MarshalAs(UnmanagedType.BStr)] [In] string pszDisplayName, [MarshalAs(UnmanagedType.LPArray)] [Out] int[] pchEaten, [MarshalAs(UnmanagedType.LPArray)] [Out] object[] ppmkOut);
  9. void EnumObjects([MarshalAs(UnmanagedType.U4)] [In] int grfFlags, [MarshalAs(UnmanagedType.LPArray)] [Out] object[] ppenum);
  10. void LockContainer([MarshalAs(UnmanagedType.I4)] [In] int fLock);
  11. }
  12. }