PortAudio  2.0
pa_win_util.h
Go to the documentation of this file.
1 #ifndef PA_WIN_UTIL_H
2 #define PA_WIN_UTIL_H
3 
4 /*
5  * $Id$
6  * Portable Audio I/O Library
7  * Win32 platform-specific support functions
8  *
9  * Based on the Open Source API proposed by Ross Bencina
10  * Copyright (c) 1999-2008 Ross Bencina
11  *
12  * Permission is hereby granted, free of charge, to any person obtaining
13  * a copy of this software and associated documentation files
14  * (the "Software"), to deal in the Software without restriction,
15  * including without limitation the rights to use, copy, modify, merge,
16  * publish, distribute, sublicense, and/or sell copies of the Software,
17  * and to permit persons to whom the Software is furnished to do so,
18  * subject to the following conditions:
19  *
20  * The above copyright notice and this permission notice shall be
21  * included in all copies or substantial portions of the Software.
22  *
23  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
26  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
27  * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
28  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30  */
31 
32 /*
33  * The text above constitutes the entire PortAudio license; however,
34  * the PortAudio community also makes the following non-binding requests:
35  *
36  * Any person wishing to distribute modifications to the Software is
37  * requested to send the modifications to the original developer so that
38  * they can be incorporated into the canonical version. It is also
39  * requested that these non-binding requests be included along with the
40  * license above.
41  */
42 
43 #include "portaudio.h"
44 
45 #ifdef __cplusplus
46 extern "C"
47 {
48 #endif /* __cplusplus */
49 
58 void PaWinUtil_SetLastSystemErrorInfo( PaHostApiTypeId hostApiType, long winError );
59 
60 #ifdef __cplusplus
61 }
62 #endif /* __cplusplus */
63 
64 #endif /* PA_WIN_UTIL_H */
The portable PortAudio API.
PaHostApiTypeId
Definition: portaudio.h:277
void PaWinUtil_SetLastSystemErrorInfo(PaHostApiTypeId hostApiType, long winError)
Definition: pa_win_util.c:162