[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'agraphics' (#aros)

TDriverNotifyFunc

CallBack type for SetDisplayDriverCallback()

Declaration

Source position: agraphics.pas line 2004

type TDriverNotifyFunc = function(

  Obj: APTR;

  Add: LongBool;

  userdata: APTR

):APTR;

Arguments

Obj

  

On Insert: A pointer to a struct MonitorHandle for the driver, On removal the result of insert callback.

Add

  

True, indicates driver insertion, False, indicates removal

userdata

  

User data originally passed to SetDisplayDriverCallback() On Insertion the function should return a pointer to opaque data object which will be stored in the display driver handle structure, On removal the return is ignored.

Description

The function must be cdecl


Documentation generated on: 2017-01-10