HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

FreeGDIPlusImage

Frees a GDI+ image previously loaded with LoadGDIPlusImageFromFile or LoadGDIPlusImageFromResource.

C

void SftMask_FreeGDIPlusImageLoadedFromFile(LPVOID pGDIPlusImage);
void SftMask_FreeGDIPlusImageLoadedFromResource(LPVOID pGDIPlusImage);

Parameters

pGDIPlusImage

The pointer returned by the matching loader.

Comments

The loader and the matching free routine must always be paired - resource-loaded images go through FreeGDIPlusImageLoadedFromResource, file-loaded images through FreeGDIPlusImageLoadedFromFile. Free an image only after it is no longer referenced by any SFT_PICTURE slot of a control.

See Also LoadGDIPlusImage | GDI+ | Error Image


Last Updated 08/30/2026 - (email)
© 2026 Softel vdm, Inc.