BCGControlBar Pro for MFC
BOOL CBCGPWorkspace::GetBinary ( LPCTSTR  lpszEntry,
LPBYTE *  ppData,
UINT *  pBytes 
)

Retrieves the binary data for a specified value field.

The GetBinary function retrieves the binary data associated with the lpszEntry value. Use WriteSectionBinary() or WriteBinary() to store the data.

Parameters
lpszEntryThe registry entry name.
ppDataOut parameter. Points to the buffer to fill with the binary data.
pBytesOut parameter. Points to the buffer that will contain the number of bytes read.