Check if Gdiplus::Bitmap::FromFile has returned a valid Bitmap
It turns out that Bitmap::GetLastStatus()
is what I was looking for, it returns Gdiplus::Ok
if the load operation succeded, or an error code if it failed.
It turns out that Bitmap::GetLastStatus()
is what I was looking for, it returns Gdiplus::Ok
if the load operation succeded, or an error code if it failed.