www.pudn.com > GGMeeting(jb51.net).rar > IOleClientSite.cs, change:2015-04-08,size:1301b


´╗┐using System; 
using System.Collections.Generic; 
using System.Text; 
using System.Runtime.InteropServices; 
 
namespace ESFramework.Boost.Controls.Internals 
{ 
    [ComVisible(true), 
    Guid("00000118-0000-0000-C000-000000000046"),  
    InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] 
    public interface IOleClientSite 
    { 
 
        [return: MarshalAs(UnmanagedType.I4)] 
        [PreserveSig] 
        int SaveObject(); 
 
        [return: MarshalAs(UnmanagedType.I4)] 
        [PreserveSig] 
        int GetMoniker( 
            [In, MarshalAs(UnmanagedType.U4)]          int dwAssign, 
            [In, MarshalAs(UnmanagedType.U4)]          int dwWhichMoniker, 
            [Out, MarshalAs(UnmanagedType.Interface)] out object ppmk); 
 
        [return: MarshalAs(UnmanagedType.I4)] 
        [PreserveSig] 
        int GetContainer([MarshalAs(UnmanagedType.Interface)] out IOleContainer container); 
 
        [return: MarshalAs(UnmanagedType.I4)] 
        [PreserveSig] 
        int ShowObject(); 
 
        [return: MarshalAs(UnmanagedType.I4)] 
        [PreserveSig] 
        int OnShowWindow( 
            [In, MarshalAs(UnmanagedType.I4)] int fShow); 
 
        [return: MarshalAs(UnmanagedType.I4)] 
        [PreserveSig] 
        int RequestNewObjectLayout(); 
    } 
}