BCGControlBar Pro for MFC
BOOL CBCGPPngImage::LoadFromBuffer ( LPBYTE  lpBuffer,
UINT  uiSize 
)

Loads a PNG image from memory buffer.

Returns
TRUE if the image was loaded successfully; otherwise FALSE.

This function is used to load an image from a memory buffer.

Parameters
lpBufferA pointer to buffer.
uiSizeBuffer size.