home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-04-12 | 580 b | 23 lines | [TEXT/CWIE] |
- unit StubCDEF;
-
- interface
-
- function Main (variation: integer; theControl: ControlHandle; msg: integer; param: longInt): longInt;
-
- implementation
-
- function CallProc (variation: integer; theControl: ControlHandle; msg: integer; param: longInt; proc: procPtr): longInt;
- inline
- $205F, $4E90;
-
- function Main (variation: integer; theControl: ControlHandle; msg: integer; param: longInt): longInt;
- var
- rc: longInt;
- begin
- Main := 0;
- rc := GetCRefCon(theControl);
- if procPtr(rc) <> nil then
- Main := CallProc(variation, theControl, msg, param, procPtr(rc));
- end;
-
- end.