Export (0) Print
Expand All

CImage::Load

Updated: May 2009

Loads an image.

HRESULT Load( 
   LPCTSTR pszFileName  
) throw( ); 
HRESULT Load( 
   IStream* pStream 
) throw();

pszFileName

A pointer to a string containing the name of the image file to load.

pStream

A pointer to a stream containing the name of the image file to load.

A standard HRESULT.

Loads the image specified by pszFileName or pStream.

Valid image types are BMP, GIF, JPEG, PNG, and TIFF.

Header: atlimage.h

Date

History

Reason

May 2009

Added valid image types.

Information enhancement.

Community Additions

ADD
Show:
© 2015 Microsoft