public static GnomeKeyring.Found New(IntPtr raw) { if (raw == IntPtr.Zero) { return GnomeKeyring.Found.Zero; } GnomeKeyring.Found self = new GnomeKeyring.Found(); self = (GnomeKeyring.Found) Marshal.PtrToStructure (raw, self.GetType ()); return self; }
public static GnomeKeyring.Found New(IntPtr raw) { if (raw == IntPtr.Zero) { return(GnomeKeyring.Found.Zero); } GnomeKeyring.Found self = new GnomeKeyring.Found(); self = (GnomeKeyring.Found)Marshal.PtrToStructure(raw, self.GetType()); return(self); }
static extern void gnome_keyring_found_free(ref GnomeKeyring.Found raw);