2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: DosGetString() - Support for localized strings.
9 #include "dos_intern.h"
11 /*****i***********************************************************************
14 #include <proto/dos.h>
16 AROS_LH1(STRPTR
, DosGetString
,
19 AROS_LHA(LONG
, stringNum
, D0
),
22 struct DosLibrary
*, DOSBase
, 163, Dos
)
25 Internal DOS function, will return the string corresponding to
29 stringNum - The number of the string you want.
32 A pointer to a string, or NULL if no string could be found with
36 Error strings will ALWAYS be less than 80 characters, and should
37 ideally be less than 60 characters.
44 DosGetLocalizedString()
49 ******************************************************************************/
52 AROS_LIBBASE_EXT_DECL(struct DosLibrary
*, DOSBase
)
56 retval
= DosGetLocalizedString(stringNum
);
60 struct EString
*es
= EString
;
64 if(es
->Number
== stringNum
)