CallBack type for SetDisplayDriverCallback()
Source position: agraphics.pas line 1992
type TDriverNotifyFunc = function( |
Obj: Pointer; |
Add: LongBool; |
userdata: Pointer |
):Pointer; |
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. |
The function must be cdecl