Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

FreeScreenDrawInfo

Finish using a DrawInfo structure.

Declaration

Source position: intuition.pas line 3926

procedure FreeScreenDrawInfo(

  Screen: PScreen;

  DrawInfo: PDrawInfo

);

Arguments

Screen

  

A pointer to screen passed to GetScreenDrawInfo().

DrawInfo

  

A pointer to DrawInfo returned by GetScreenDrawInfo(). A nil DrawInfo pointer is a valid parameter, signifying "do nothing".

Description

Declares that you are finished with the DrawInfo structure returned by GetScreenDrawInfo().

This function, and GetScreenDrawInfo(), don't really do much, but they provide an upward compatibility path. That means that if you misuse them today, they probably won't cause a problem, although they may someday later. So, please be very careful only to use the DrawInfo structure between calls to GetScreenDrawInfo() and FreeScreenDrawInfo(), and be sure that you don't forget FreeScreenDrawInfo().

See also

GetScreenDrawInfo

  

Get pointer to rendering information.


Documentation generated on: 2021-07-30