int IShellPropSheetExt.AddPages(IntPtr lpfnAddPage, IntPtr x130fbcecf32fe781) { try { CreatePropertySheetPage(); if (hPropertySheetPage.Equals(0)) { _extensionReferences.Remove(this); return(1); } var func = CFunctionPointer.Create(lpfnAddPage, typeof(bool), typeof(IntPtr), typeof(IntPtr)); if ((bool)func.Invoke(new object[] { hPropertySheetPage, x130fbcecf32fe781 })) { return(0); } _extensionReferences.Remove(this); Comctl32.DestroyPropertySheetPage(hPropertySheetPage); return(1); } catch (Exception exception) { MessageBox.Show(exception.ToString()); return(1); } }
public virtual void SortUsingFunction(CFunctionPointer <Func <AnyObject, AnyObject, UnsafeMutablePointer, int> > compare, UnsafeMutablePointer context) { }
public virtual AnyObject[] SortedArrayUsingFunction(CFunctionPointer <Func <AnyObject, AnyObject, UnsafeMutablePointer, int> > comparator, UnsafeMutablePointer context, [Optional] NSData hint) { return(default(AnyObject[])); }