BCGSuite for MFC
BOOL CBCGPHotSpotImageCtrl::SetBuffer ( LPBYTE  lpBuffer,
UINT  nBufferSize 
)

Loads image from the memory buffer.

Returns
Nonzero if the function succeeds; otherwise 0.
Parameters
lpBufferA pointer to a memory buffer which contains SVG, PNG or BMP image.
nBufferSizeImage buffer size in bytes.