ImageDestroy
 
Frees memory associated with an image buffer

Syntax

Declare Sub ImageDestroy( pointer As Any Ptr )

Usage

ImageDestroy( pointer )

Parameters

pointer
The address of the image buffer to be freed.

Description

Frees memory previously allocated with the ImageCreate function. After the memory is freed, pointer will be invalid.

Example

See the ImageCreate function for an example on using ImageDestroy.


Dialect Differences

  • Not available in the -lang qb dialect unless referenced with the alias __Imagedestroy.

Differences from QB

  • New to FreeBASIC

See also