2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 #include <proto/exec.h>
11 /*****************************************************************************
14 #include <proto/utility.h>
16 AROS_LH0(ULONG
, GetUniqueID
,
22 struct UtilityBase
*, UtilityBase
, 45, Utility
)
25 Returns a unique id that is different from any other id that is
26 obtained from this function call.
42 Calls Disable()/Enable() to guarentee uniqueness.
45 29-10-95 digulla automatically created from
46 utility_lib.fd and clib/utility_protos.h
47 17-08-96 iaint Reimplemented. CVS lost my old one. Well I did.
49 *****************************************************************************/
56 ret
= ++(GetIntUtilityBase(UtilityBase
)->ub_LastID
);