public int AfterTypeChange(CHANGEKIND changeKind, IntPtr pTInfoAfter, IntPtr pStrName) { if (m_AfterTypeChangeFunc == null) { var fp = GetFunctionPointer(4); m_AfterTypeChangeFunc = (AfterTypeChangeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(AfterTypeChangeFunc)); } return(m_AfterTypeChangeFunc(m_ptr, changeKind, pTInfoAfter, pStrName)); }
public int RequestTypeChange(CHANGEKIND changeKind, IntPtr pTInfoBefore, IntPtr pStrName, ref int pfCancel) { if (m_RequestTypeChangeFunc == null) { var fp = GetFunctionPointer(3); m_RequestTypeChangeFunc = (RequestTypeChangeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(RequestTypeChangeFunc)); } return(m_RequestTypeChangeFunc(m_ptr, changeKind, pTInfoBefore, pStrName, ref pfCancel)); }
public int AfterTypeChange(CHANGEKIND changeKind, [NativeTypeName("ITypeInfo *")] ITypeInfo *pTInfoAfter, [NativeTypeName("LPOLESTR")] ushort *pStrName) { return(((delegate * stdcall <ITypeChangeEvents *, CHANGEKIND, ITypeInfo *, ushort *, int>)(lpVtbl[4]))((ITypeChangeEvents *)Unsafe.AsPointer(ref this), changeKind, pTInfoAfter, pStrName)); }
public int RequestTypeChange(CHANGEKIND changeKind, [NativeTypeName("ITypeInfo *")] ITypeInfo *pTInfoBefore, [NativeTypeName("LPOLESTR")] ushort *pStrName, [NativeTypeName("INT *")] int *pfCancel) { return(((delegate * stdcall <ITypeChangeEvents *, CHANGEKIND, ITypeInfo *, ushort *, int *, int>)(lpVtbl[3]))((ITypeChangeEvents *)Unsafe.AsPointer(ref this), changeKind, pTInfoBefore, pStrName, pfCancel)); }