// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ------------------------------------------------------------------------------ #pragma warning disable CS1591,CS1573,CS0465,CS0649,CS8019,CS1570,CS1584,CS1658,CS0436,CS8981,SYSLIB1092,CS3021,CS3019 using global::System; using global::System.Diagnostics; using global::System.Diagnostics.CodeAnalysis; using global::System.Runtime.CompilerServices; using global::System.Runtime.InteropServices; using global::System.Runtime.Versioning; using winmdroot = global::Windows.Win32; namespace Windows.Win32 { [global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.287+85e3fa26dd.RR")] internal static partial class UI_Controls_RichEdit_IRichEditOleCallback_Extensions { /// <inheritdoc cref="winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface.GetInPlaceContext(winmdroot.System.Ole.IOleInPlaceFrame**, winmdroot.System.Ole.IOleInPlaceUIWindow**, winmdroot.System.Ole.OLEINPLACEFRAMEINFO*)"/> internal static unsafe winmdroot.Foundation.HRESULT GetInPlaceContext(this winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface @this, winmdroot.System.Ole.IOleInPlaceFrame** lplpFrame, winmdroot.System.Ole.IOleInPlaceUIWindow** lplpDoc, ref winmdroot.System.Ole.OLEINPLACEFRAMEINFO lpFrameInfo) { fixed (winmdroot.System.Ole.OLEINPLACEFRAMEINFO* lpFrameInfoLocal = &lpFrameInfo) { winmdroot.Foundation.HRESULT __result = @this.GetInPlaceContext(lplpFrame, lplpDoc, lpFrameInfoLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface.QueryInsertObject(global::System.Guid*, winmdroot.System.Com.StructuredStorage.IStorage*, int)"/> internal static unsafe winmdroot.Foundation.HRESULT QueryInsertObject(this winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface @this, ref global::System.Guid lpclsid, winmdroot.System.Com.StructuredStorage.IStorage* lpstg, int cp) { fixed (global::System.Guid* lpclsidLocal = &lpclsid) { winmdroot.Foundation.HRESULT __result = @this.QueryInsertObject(lpclsidLocal, lpstg, cp); return __result; } } /// <inheritdoc cref="winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface.QueryAcceptData(winmdroot.System.Com.IDataObject*, ushort*, winmdroot.System.SystemServices.RECO_FLAGS, winmdroot.Foundation.BOOL, winmdroot.Foundation.HGLOBAL)"/> internal static unsafe winmdroot.Foundation.HRESULT QueryAcceptData(this winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface @this, winmdroot.System.Com.IDataObject* lpdataobj, ref ushort lpcfFormat, winmdroot.System.SystemServices.RECO_FLAGS reco, winmdroot.Foundation.BOOL fReally, winmdroot.Foundation.HGLOBAL hMetaPict) { fixed (ushort* lpcfFormatLocal = &lpcfFormat) { winmdroot.Foundation.HRESULT __result = @this.QueryAcceptData(lpdataobj, lpcfFormatLocal, reco, fReally, hMetaPict); return __result; } } /// <inheritdoc cref="winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface.GetClipboardData(winmdroot.UI.Controls.RichEdit.CHARRANGE*, uint, winmdroot.System.Com.IDataObject**)"/> internal static unsafe winmdroot.Foundation.HRESULT GetClipboardData(this winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface @this, ref winmdroot.UI.Controls.RichEdit.CHARRANGE lpchrg, uint reco, winmdroot.System.Com.IDataObject** lplpdataobj) { fixed (winmdroot.UI.Controls.RichEdit.CHARRANGE* lpchrgLocal = &lpchrg) { winmdroot.Foundation.HRESULT __result = @this.GetClipboardData(lpchrgLocal, reco, lplpdataobj); return __result; } } /// <inheritdoc cref="winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface.GetDragDropEffect(winmdroot.Foundation.BOOL, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS, winmdroot.System.Ole.DROPEFFECT*)"/> internal static unsafe winmdroot.Foundation.HRESULT GetDragDropEffect(this winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface @this, winmdroot.Foundation.BOOL fDrag, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, ref winmdroot.System.Ole.DROPEFFECT pdwEffect) { fixed (winmdroot.System.Ole.DROPEFFECT* pdwEffectLocal = &pdwEffect) { winmdroot.Foundation.HRESULT __result = @this.GetDragDropEffect(fDrag, grfKeyState, pdwEffectLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface.GetContextMenu(winmdroot.UI.Controls.RichEdit.RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE, winmdroot.System.Ole.IOleObject*, winmdroot.UI.Controls.RichEdit.CHARRANGE*, winmdroot.UI.WindowsAndMessaging.HMENU*)"/> internal static unsafe winmdroot.Foundation.HRESULT GetContextMenu(this winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface @this, winmdroot.UI.Controls.RichEdit.RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE seltype, winmdroot.System.Ole.IOleObject* lpoleobj, ref winmdroot.UI.Controls.RichEdit.CHARRANGE lpchrg, ref winmdroot.UI.WindowsAndMessaging.HMENU lphmenu) { fixed (winmdroot.UI.WindowsAndMessaging.HMENU* lphmenuLocal = &lphmenu) { fixed (winmdroot.UI.Controls.RichEdit.CHARRANGE* lpchrgLocal = &lpchrg) { winmdroot.Foundation.HRESULT __result = @this.GetContextMenu(seltype, lpoleobj, lpchrgLocal, lphmenuLocal); return __result; } } } } }