CachedBitmap::GetLastStatus method (gdiplusheaders.h)

The CachedBitmap::GetLastStatus method returns a value that indicates whether this CachedBitmap object was constructed successfully.

Syntax

Status GetLastStatus();

Return value

Type: Status

If this CachedBitmap object was constructed successfully, the CachedBitmap::GetLastStatus method returns Ok, which is an element of the Status enumeration.

If this CachedBitmap object was not constructed successfully, the CachedBitmap::GetLastStatus method returns an element of the Status enumeration that indicates the nature of the failure.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Bitmap

CachedBitmap

Graphics

Image

Using a Cached Bitmap to Improve Performance