BCGControlBar Pro for MFC
BOOL CBCGPPngImage::Load ( LPCTSTR  lpszResourceName,
HINSTANCE  hinstRes = NULL 
)

Loads a PNG image from resources.

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

This function is used to load an image from resources.

Parameters
lpszResourceNameSpecifies the resource name.
hinstResSpecifies the instance of the resource DLL or application.