ImageDestroy
 
Destroys and deallocates storage for an image

Syntax

Declare Sub ImageDestroy ( ByVal image As Any Ptr )

Usage

ImageDestroy( image )

Parameters

image
The address of the image to destroy.

Description

Destroys the image pointed to by image, which must be an address returned from a call to ImageCreate.

Calling ImageDestroy on a null pointer induces no action.

Example

See ImageCreate 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