Lib gdiplus.dll
Type GDIPlusStartupInput (GdiPlusVersion As Long, DebugEventCallback As Long, SuppressBackgroundThread As Long, SuppressExternalCodecs As Long)
Type GdiplusStartupOutput (NotificationHook As Long, NotificationUnhook As Long)
Enum GDIPlus_Status (OK = 0, GenericError = 1, InvalidParameter = 2, OutOfMemory = 3, ObjectBusy = 4, InsufficientBuffer = 5, NotImplemented = 6, Win32Error = 7, WrongState = 8, Aborted = 9, FileNotFound = 10, ValueOverflow = 11, AccessDenied = 12, UnknownImageFormat = 13, FontFamilyNotFound = 14, FontStyleNotFound = 15, NotTrueTypeFont = 16, UnsupportedGdiplusVersion = 17, GdiplusNotInitialized = 18, PropertyNotFound = 19, PropertyNotSupported = 20, ProfileNotFound = 21)
Function GdiplusShutdown (ByVal token As Long) As GDIPlus_Status
Function GdiplusStartup (ByRef token As Long, ByRef lpInput As GDIPlusStartupInput, ByRef lpOutput As GdiplusStartupOutput) As GDIPlus_Status
Function GdipLoadImageFromFile (ByVal FileName As Long, ByRef Image As Long) As GDIPlus_Status
Function GdipLoadImageFromStream (Stream As Any, ByRef Image As Long) As GDIPlus_Status
