- Disable single-column listviews when double-clicked, and provide a
[AROS.git] / workbench / libs / camd / getmidierr.c
blob63d2a00585820aa203b00d74aa193d09fe55a9b9
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
9 #include "camd_intern.h"
13 /*****************************************************************************
15 NAME */
17 AROS_LH1(UBYTE, GetMidiErr,
19 /* SYNOPSIS */
20 AROS_LHA(struct MidiNode *, midinode, A0),
22 /* LOCATION */
23 struct CamdBase *, CamdBase, 30, Camd)
25 /* FUNCTION
26 Gets the current error-state of a midinode.
28 INPUTS
29 midinode - pointer to midinode
31 RESULT
32 0 if everything was okey, not 0 else.
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
41 GetMidi(), WaitMidi()
43 INTERNALS
45 HISTORY
47 2001-01-12 ksvalast first created
49 *****************************************************************************/
51 AROS_LIBFUNC_INIT
53 struct MyMidiNode *mymn=(struct MyMidiNode *)midinode;
54 UBYTE temp=mymn->error;
55 mymn->error=0;
56 return temp;
58 AROS_LIBFUNC_EXIT