Listing 1: Das Interface-Handling für Prefs-Dateien struct Library *ApplicationBase; struct PrefsObjectsIFace *IPrefsObjects; int main() { if((ApplicationBase = IExec->OpenLibrary("application.library", 50))) { if((IPrefsObjects = (struct PrefsObjectsIFace *)IExec->GetInterface(ApplicationBase, "prefsobjects", 1, NULL))) { ... IExec->DropInterface((struct Interface *)IPrefsObjects); } IExec->CloseLibrary(ApplicationBase); } }