ImageDestroy

Destroys and deallocates storage for an image

Syntax
	KeyPgDeclareDeclare KeyPgSubSub ImageDestroy ( KeyPgByvalByVal image KeyPgAsAs KeyPgAnyAny KeyPgPtr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 KeyPgImagecreateImageCreate.

	Calling ImageDestroy on a null pointer induces no action.

Example
	See KeyPgImagecreateImageCreate for an example on using ImageDestroy.

Dialect Differences
	* Not available in the CompilerOptlang-lang qb dialect unless referenced with the 
	  alias __Imagedestroy.

Differences from QB
	* New to FreeBASIC

See also
	* KeyPgImagecreateImageCreate

