Поделиться через


CImage::Load

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.

Требования

Header: atlimage.h

См. также

Основные понятия

CImage Class

CImage Members

CImage::LoadFromResource