Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

TDriverNotifyFunc

CallBack type for SetDisplayDriverCallback()

Declaration

Source position: agraphics.pas line 1992

type TDriverNotifyFunc = function(

  Obj: Pointer;

  Add: LongBool;

  userdata: Pointer

):Pointer;

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: 2021-07-30