Use the CompareBookmarks method to determine if two bookmarks are identical or not. Bookmark1 and Bookmark2 are the bookmarks to compare. If the bookmarks differ, CompareBookmarks returns 1. If the Bookmarks are identical, or both bookmarks are nil, CompareBookmarks returns 0.