2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
8 #include <exec/execbase.h>
9 #include <exec/lists.h>
10 #include <aros/libcall.h>
11 #include <exec/libraries.h>
12 #include <proto/exec.h>
14 /*****************************************************************************
18 AROS_LH1(APTR
, OpenResource
,
21 AROS_LHA(CONST_STRPTR
, resName
, A1
),
24 struct ExecBase
*, SysBase
, 83, Exec
)
27 Return a pointer to a previously installed resource addressed by
28 name. If this name can't be found NULL is returned.
31 libName - Pointer to the resource's name.
34 Pointer to resource or NULL.
43 AddResource(), RemResource()
47 *****************************************************************************/
53 /* Arbitrate for the resource list */
56 /* Look for the resource in our list */
57 resource
= (APTR
) FindName (&SysBase
->ResourceList
, resName
);