public bool ThumbnailSet(string filename, int rotation) { IntPtr gerror; bool res = Itdb_Artwork.itdb_artwork_set_thumbnail(Handle, filename, rotation, out gerror); if (gerror != IntPtr.Zero) { throw new GException(gerror); } return(res); }