CBookmark Class

Used to store and manage bookmark data. Bookmark data up to 4 bytes long is stored in line. Data longer than 4 bytes is stored in an allocated byte array.

CBookmark

CBookmark();
CBookmark(
const CBookmark& other);
CBookmark(
ULONG ulSize, 
const BYTE *pBlob);
CBookmark(
const BLOB& blob);

Parameters

ulSize

Size of the bookmark data in bytes.

pBlob

Pointer to bookmark data. The contents of pBlob are copied.

blob

Blob structure containing bookmark data. The contents of blob are copied.

Comments

Bookmarks created with the default constructor are invalid. The copy constructor duplicates a bookmark. The other two constructors initialize the object.