获取Marshal.GetIDispatchForObject后如何调用GetTypeInfoCount?

时间:2015-01-08 04:18:02

标签: c# com com-interop

我在Managed Environment(C#)中获取了指向IDispatch的IntPtr指针,如何调用此接口的方法,如GetTypeInfoCount,GetTypeInfo和GetIDsOfNames?

IntPtr pointer = Marshal.GetIDispatchForObject(_browser.Document);
// Marshal.XXXX(pointer).GetTypeInfoCount() ?

0 个答案:

没有答案