未验证 提交 ae9becb5 编写于 作者: A Andrii Kurdiumov 提交者: GitHub

Fix QueryInsertEmbedded parameter type (#6622)

* Fix QueryInsertEmbedded parameter type

* Fix compilation error
上级 e5076809
......@@ -586,7 +586,7 @@ public void GetEmbedded(int index, ref Guid guidService, ref Guid riid, out obje
}
// See msdn's ITextStoreACP documentation for a full description.
public void QueryInsertEmbedded(ref Guid guidService, int formatEtc, out bool insertable)
public void QueryInsertEmbedded(ref Guid guidService, IntPtr formatEtc, out bool insertable)
{
#if true
//
......
......@@ -1630,7 +1630,7 @@ public interface ITextStoreACP
//HRESULT QueryInsertEmbedded([in] const GUID *pguidService,
// [in] const FORMATETC *pFormatEtc,
// [out] BOOL *pfInsertable);
void QueryInsertEmbedded(ref Guid guidService, int /*ref Win32.FORMATETC*/ formatEtc, [MarshalAs(UnmanagedType.Bool)] out bool insertable);
void QueryInsertEmbedded(ref Guid guidService, IntPtr /*ref Win32.FORMATETC*/ formatEtc, [MarshalAs(UnmanagedType.Bool)] out bool insertable);
/// <summary></summary>
//HRESULT InsertEmbedded([in] DWORD dwFlags,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册