[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
	FreeVisualInfo -- return any resources taken by GetVisualInfo. (V36)

   SYNOPSIS
	FreeVisualInfo(vi)
	               A0

	VOID FreeVisualInfo(APTR);

   FUNCTION
	FreeVisualInfo() returns any memory or other resources that
	were allocated by GetVisualInfoA().  You should only call this function
	once you are done with using the gadgets (i.e. after CloseWindow()),
	but while the screen is still valid (i.e. before CloseScreen() or
	UnlockPubScreen()).

   INPUTS
	vi - pointer that was obtained by calling GetVisualInfoA(). This
	     value may be NULL.

   SEE ALSO
	GetVisualInfoA()