1 // generated header. do not edit
2 // C:\Python23\Lib\idlelib\idle.pyw
3 // Mon Mar 28 12:31:26 2005
5 ALenum ( ALAPIENTRY * idalGetError )( ALvoid ) = NULL;
6 ALvoid ( ALAPIENTRY * idalGenBuffers )( ALsizei, ALuint * ) = NULL;
7 ALboolean ( ALAPIENTRY * idalIsSource )( ALuint ) = NULL;
8 ALvoid ( ALAPIENTRY * idalSourceStop )( ALuint ) = NULL;
9 ALvoid ( ALAPIENTRY * idalGetSourcei )( ALuint, ALenum, ALint * ) = NULL;
10 ALint ( ALAPIENTRY * idalGetInteger )( ALenum ) = NULL;
11 ALCvoid ( ALAPIENTRY * idalcSuspendContext )( ALCcontext * ) = NULL;
12 ALCboolean ( ALAPIENTRY * idalcMakeContextCurrent )( ALCcontext * ) = NULL;
13 ALCvoid ( ALAPIENTRY * idalcProcessContext )( ALCcontext * ) = NULL;
14 ALCvoid ( ALAPIENTRY * idalcDestroyContext )( ALCcontext * ) = NULL;
15 ALCubyte * ( ALAPIENTRY * idalcGetString )( ALCdevice *, ALCenum ) = NULL;
16 ALvoid ( ALAPIENTRY * idalBufferData )( ALuint, ALenum, ALvoid *, ALsizei, ALsizei ) = NULL;
17 ALvoid ( ALAPIENTRY * idalDeleteBuffers )( ALsizei, ALuint * ) = NULL;
18 ALboolean ( ALAPIENTRY * idalIsExtensionPresent )( ALubyte * ) = NULL;
19 ALvoid ( ALAPIENTRY * idalDeleteSources )( ALsizei, ALuint * ) = NULL;
20 ALenum ( ALAPIENTRY * idalGetEnumValue )( ALubyte * ) = NULL;
21 ALvoid * ( ALAPIENTRY * idalGetProcAddress )( ALubyte * ) = NULL;
22 ALCcontext * ( ALAPIENTRY * idalcCreateContext )( ALCdevice *, ALCint * ) = NULL;
23 ALCdevice * ( ALAPIENTRY * idalcOpenDevice )( ALubyte * ) = NULL;
24 ALvoid ( ALAPIENTRY * idalListenerfv )( ALenum, ALfloat* ) = NULL;
25 ALvoid ( ALAPIENTRY * idalSourceQueueBuffers )( ALuint, ALsizei, ALuint * ) = NULL;
26 ALvoid ( ALAPIENTRY * idalSourcei )( ALuint, ALenum, ALint ) = NULL;
27 ALvoid ( ALAPIENTRY * idalListenerf )( ALenum, ALfloat ) = NULL;
28 ALCvoid ( ALAPIENTRY * idalcCloseDevice )( ALCdevice * ) = NULL;
29 ALboolean ( ALAPIENTRY * idalIsBuffer )( ALuint ) = NULL;
30 ALvoid ( ALAPIENTRY * idalSource3f )( ALuint, ALenum, ALfloat, ALfloat, ALfloat ) = NULL;
31 ALvoid ( ALAPIENTRY * idalGenSources )( ALsizei, ALuint * ) = NULL;
32 ALvoid ( ALAPIENTRY * idalSourcef )( ALuint, ALenum, ALfloat ) = NULL;
33 ALvoid ( ALAPIENTRY * idalSourceUnqueueBuffers )( ALuint, ALsizei, ALuint * ) = NULL;
34 ALvoid ( ALAPIENTRY * idalSourcePlay )( ALuint ) = NULL;
36 const char* InitializeIDAL( HMODULE h ) {
37 idalGetError = ( ALenum ( ALAPIENTRY * ) ( ALvoid ) )GetProcAddress( h, "alGetError" );
41 idalGenBuffers = ( ALvoid ( ALAPIENTRY * ) ( ALsizei, ALuint * ) )GetProcAddress( h, "alGenBuffers" );
42 if ( !idalGenBuffers) {
43 return "alGenBuffers";
45 idalIsSource = ( ALboolean ( ALAPIENTRY * ) ( ALuint ) )GetProcAddress( h, "alIsSource" );
49 idalSourceStop = ( ALvoid ( ALAPIENTRY * ) ( ALuint ) )GetProcAddress( h, "alSourceStop" );
50 if ( !idalSourceStop) {
51 return "alSourceStop";
53 idalGetSourcei = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALenum, ALint * ) )GetProcAddress( h, "alGetSourcei" );
54 if ( !idalGetSourcei) {
55 return "alGetSourcei";
57 idalGetInteger = ( ALint ( ALAPIENTRY * ) ( ALenum ) )GetProcAddress( h, "alGetInteger" );
58 if ( !idalGetInteger) {
59 return "alGetInteger";
61 idalcSuspendContext = ( ALCvoid ( ALAPIENTRY * ) ( ALCcontext * ) )GetProcAddress( h, "alcSuspendContext" );
62 if ( !idalcSuspendContext) {
63 return "alcSuspendContext";
65 idalcMakeContextCurrent = ( ALCboolean ( ALAPIENTRY * ) ( ALCcontext * ) )GetProcAddress( h, "alcMakeContextCurrent" );
66 if ( !idalcMakeContextCurrent) {
67 return "alcMakeContextCurrent";
69 idalcProcessContext = ( ALCvoid ( ALAPIENTRY * ) ( ALCcontext * ) )GetProcAddress( h, "alcProcessContext" );
70 if ( !idalcProcessContext) {
71 return "alcProcessContext";
73 idalcDestroyContext = ( ALCvoid ( ALAPIENTRY * ) ( ALCcontext * ) )GetProcAddress( h, "alcDestroyContext" );
74 if ( !idalcDestroyContext) {
75 return "alcDestroyContext";
77 idalcGetString = ( ALCubyte * ( ALAPIENTRY * ) ( ALCdevice *, ALCenum ) )GetProcAddress( h, "alcGetString" );
78 if ( !idalcGetString) {
79 return "alcGetString";
81 idalBufferData = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALenum, ALvoid *, ALsizei, ALsizei ) )GetProcAddress( h, "alBufferData" );
82 if ( !idalBufferData) {
83 return "alBufferData";
85 idalDeleteBuffers = ( ALvoid ( ALAPIENTRY * ) ( ALsizei, ALuint * ) )GetProcAddress( h, "alDeleteBuffers" );
86 if ( !idalDeleteBuffers) {
87 return "alDeleteBuffers";
89 idalIsExtensionPresent = ( ALboolean ( ALAPIENTRY * ) ( ALubyte * ) )GetProcAddress( h, "alIsExtensionPresent" );
90 if ( !idalIsExtensionPresent) {
91 return "alIsExtensionPresent";
93 idalDeleteSources = ( ALvoid ( ALAPIENTRY * ) ( ALsizei, ALuint * ) )GetProcAddress( h, "alDeleteSources" );
94 if ( !idalDeleteSources) {
95 return "alDeleteSources";
97 idalGetEnumValue = ( ALenum ( ALAPIENTRY * ) ( ALubyte * ) )GetProcAddress( h, "alGetEnumValue" );
98 if ( !idalGetEnumValue) {
99 return "alGetEnumValue";
101 idalGetProcAddress = ( ALvoid * ( ALAPIENTRY * ) ( ALubyte * ) )GetProcAddress( h, "alGetProcAddress" );
102 if ( !idalGetProcAddress) {
103 return "alGetProcAddress";
105 idalcCreateContext = ( ALCcontext * ( ALAPIENTRY * ) ( ALCdevice *, ALCint * ) )GetProcAddress( h, "alcCreateContext" );
106 if ( !idalcCreateContext) {
107 return "alcCreateContext";
109 idalcOpenDevice = ( ALCdevice * ( ALAPIENTRY * ) ( ALubyte * ) )GetProcAddress( h, "alcOpenDevice" );
110 if ( !idalcOpenDevice) {
111 return "alcOpenDevice";
113 idalListenerfv = ( ALvoid ( ALAPIENTRY * ) ( ALenum, ALfloat* ) )GetProcAddress( h, "alListenerfv" );
114 if ( !idalListenerfv) {
115 return "alListenerfv";
117 idalSourceQueueBuffers = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALsizei, ALuint * ) )GetProcAddress( h, "alSourceQueueBuffers" );
118 if ( !idalSourceQueueBuffers) {
119 return "alSourceQueueBuffers";
121 idalSourcei = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALenum, ALint ) )GetProcAddress( h, "alSourcei" );
125 idalListenerf = ( ALvoid ( ALAPIENTRY * ) ( ALenum, ALfloat ) )GetProcAddress( h, "alListenerf" );
126 if ( !idalListenerf) {
127 return "alListenerf";
129 idalcCloseDevice = ( ALCvoid ( ALAPIENTRY * ) ( ALCdevice * ) )GetProcAddress( h, "alcCloseDevice" );
130 if ( !idalcCloseDevice) {
131 return "alcCloseDevice";
133 idalIsBuffer = ( ALboolean ( ALAPIENTRY * ) ( ALuint ) )GetProcAddress( h, "alIsBuffer" );
134 if ( !idalIsBuffer) {
137 idalSource3f = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALenum, ALfloat, ALfloat, ALfloat ) )GetProcAddress( h, "alSource3f" );
138 if ( !idalSource3f) {
141 idalGenSources = ( ALvoid ( ALAPIENTRY * ) ( ALsizei, ALuint * ) )GetProcAddress( h, "alGenSources" );
142 if ( !idalGenSources) {
143 return "alGenSources";
145 idalSourcef = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALenum, ALfloat ) )GetProcAddress( h, "alSourcef" );
149 idalSourceUnqueueBuffers = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALsizei, ALuint * ) )GetProcAddress( h, "alSourceUnqueueBuffers" );
150 if ( !idalSourceUnqueueBuffers) {
151 return "alSourceUnqueueBuffers";
153 idalSourcePlay = ( ALvoid ( ALAPIENTRY * ) ( ALuint ) )GetProcAddress( h, "alSourcePlay" );
154 if ( !idalSourcePlay) {
155 return "alSourcePlay";