--- title: "CBookmark::GetBuffer | Microsoft Docs" ms.custom: "" ms.date: "11/04/2016" ms.reviewer: "" ms.suite: "" ms.technology: ["cpp-windows"] ms.tgt_pltfrm: "" ms.topic: "article" f1_keywords: ["ATL.CBookmark<0>.GetBuffer", "ATL.CBookmark.GetBuffer", "ATL::CBookmark<0>::GetBuffer", "ATL::CBookmark::GetBuffer", "CBookmark.GetBuffer", "ATL::CBookmark::GetBuffer", "ATL.CBookmark.GetBuffer", "CBookmark<0>.GetBuffer", "CBookmark::GetBuffer", "CBookmark<0>::GetBuffer", "CBookmark.GetBuffer", "CBookmark::GetBuffer"] dev_langs: ["C++"] helpviewer_keywords: ["GetBuffer method"] ms.assetid: f24465e8-8dd2-478f-8efe-73f44895b034 caps.latest.revision: 8 author: "mikeblome" ms.author: "mblome" manager: "ghogen" --- # CBookmark::GetBuffer Retrieves the pointer to the bookmark buffer. ## Syntax ``` virtual BYTE* GetBuffer( ) const throw( ); ``` ## Return Value A pointer to the bookmark buffer. ## Requirements **Header:** atldbcli.h ## See Also [CBookmark Class](../../data/oledb/cbookmark-class.md)