1 | /* $Id: osserror.h,v 1.1.1.1 2003/07/02 13:56:58 eleph Exp $ */
|
---|
2 | /*
|
---|
3 | * OSS error code definitions
|
---|
4 | *
|
---|
5 | * (C) 2000-2002 InnoTek Systemberatung GmbH
|
---|
6 | *
|
---|
7 | * This program is free software; you can redistribute it and/or
|
---|
8 | * modify it under the terms of the GNU General Public License as
|
---|
9 | * published by the Free Software Foundation; either version 2 of
|
---|
10 | * the License, or (at your option) any later version.
|
---|
11 | *
|
---|
12 | * This program is distributed in the hope that it will be useful,
|
---|
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
15 | * GNU General Public License for more details.
|
---|
16 | *
|
---|
17 | * You should have received a copy of the GNU General Public
|
---|
18 | * License along with this program; if not, write to the Free
|
---|
19 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
|
---|
20 | * USA.
|
---|
21 | *
|
---|
22 | */
|
---|
23 |
|
---|
24 |
|
---|
25 | #ifndef __OSSERROR_H__
|
---|
26 | #define __OSSERROR_H__
|
---|
27 |
|
---|
28 | #define OSSERR_SUCCESS 0
|
---|
29 | #define OSSERR_OUT_OF_MEMORY 1
|
---|
30 | #define OSSERR_INVALID_STREAMID 2
|
---|
31 | #define OSSERR_NO_DEVICE_AVAILABLE 3
|
---|
32 | #define OSSERR_INVALID_PARAMETER 4
|
---|
33 | #define OSSERR_BUSY 5
|
---|
34 | #define OSSERR_AGAIN 6
|
---|
35 | #define OSSERR_IO_ERROR 7
|
---|
36 | #define OSSERR_INIT_FAILED 8
|
---|
37 | #define OSSERR_ACCESS_DENIED 9
|
---|
38 | #define OSSERR_BUFFER_FULL 10
|
---|
39 | #define OSSERR_NOT_SUPPORTED 11
|
---|
40 | #define OSSERR_UNKNOWN 255
|
---|
41 |
|
---|
42 | #endif
|
---|