2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 #define USE_BOOPSI_STUBS
10 #include "datatypes_intern.h"
11 #include <proto/alib.h>
12 #include <datatypes/datatypesclass.h>
13 #include <clib/boopsistubs.h>
16 /*****************************************************************************
20 AROS_LH2(VOID
, ReleaseDTDrawInfo
,
23 AROS_LHA(Object
*, o
, A0
),
24 AROS_LHA(APTR
, handle
, A1
),
27 struct Library
*, DataTypesBase
, 22, DataTypes
)
31 Release the handle obtained from ObtainDTDrawInfoA(); invokes the object's
32 DTM_RELEASEDRAWINFO method sending the dtReleaseDrawInfo message.
36 o -- pointer to the data type object the drawinfo of which to
38 handle -- handle got from ObtainDTDrawInfoA()
42 A private handle that must be passed to ReleaseDTDrawInfo when the
43 application is done drawing the object, or NULL if failure.
55 DrawDTObjectA(), ObtainDTDrawInfoA()
61 29.8.99 SDuvan implemented
63 *****************************************************************************/
67 struct dtReleaseDrawInfo rdi
;
72 rdi
.MethodID
= DTM_RELEASEDRAWINFO
;
73 rdi
.dtr_Handle
= handle
;
75 DoMethodA(o
, (Msg
)&rdi
);
78 } /* ReleaseDTDrawInfoA */