Partager via


IMAPITable::FreeBookmark

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Releases the memory associated with a bookmark.

HRESULT FreeBookmark(
BOOKMARK bkPosition
);

Parameters

Return Value

  • S_OK
    The bookmark was successfully freed.

  • MAPI_E_INVALID_BOOKMARK
    The specified bookmark does not exist.

Remarks

The IMAPITable::FreeBookmark method releases a bookmark that is no longer needed. The bookmark is no longer valid after this call. Whenever a table is released from memory, all of its associated bookmarks are also released.

Notes to Implementers

If the caller passes one of the three predefined bookmarks in the bkPosition parameter, ignore the request and return S_OK.

See Also

Reference

IMAPITable::CreateBookmark

IMAPITable : IUnknown