# ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2007 Alex Holkner
# All rights reserved.
# 
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions 
# are met:
#
#  * Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#  * Redistributions in binary form must reproduce the above copyright 
#    notice, this list of conditions and the following disclaimer in
#    the documentation and/or other materials provided with the
#    distribution.
#  * Neither the name of the pyglet nor the names of its
#    contributors may be used to endorse or promote products
#    derived from this software without specific prior written
#    permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
# ----------------------------------------------------------------------------
'''Wrapper for http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h

Generated by tools/gengl.py.
Do not modify this file.
'''

__docformat__ = 'restructuredtext'
__version__ = '$Id: gengl.py 601 2007-02-04 05:36:59Z Alex.Holkner $'

from ctypes import *
from pyglet.gl.lib import link_WGL as _link_function
from pyglet.gl.lib import c_ptrdiff_t, c_void



# BEGIN GENERATED CONTENT (do not edit below this line)

# This content is generated by tools/gengl.py.
# Wrapper for http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h


# H (C:\cygwin\home\Alex\pyglet\tools\wgl.h:7)
# H (C:\cygwin\home\Alex\pyglet\tools\wgl.h:7)
WIN32_LEAN_AND_MEAN = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:40
GLAPI = 0 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:51
WGL_WGLEXT_VERSION = 6 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:59
# ARB_buffer_region (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:61)
WGL_FRONT_COLOR_BUFFER_BIT_ARB = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:62
WGL_BACK_COLOR_BUFFER_BIT_ARB = 2 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:63
WGL_DEPTH_BUFFER_BIT_ARB = 4 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:64
WGL_STENCIL_BUFFER_BIT_ARB = 8 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:65
# ARB_multisample (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:68)
WGL_SAMPLE_BUFFERS_ARB = 8257 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:69
WGL_SAMPLES_ARB = 8258 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:70
# ARB_extensions_string (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:73)
# ARB_pixel_format (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:76)
WGL_NUMBER_PIXEL_FORMATS_ARB = 8192 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:77
WGL_DRAW_TO_WINDOW_ARB = 8193 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:78
WGL_DRAW_TO_BITMAP_ARB = 8194 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:79
WGL_ACCELERATION_ARB = 8195 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:80
WGL_NEED_PALETTE_ARB = 8196 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:81
WGL_NEED_SYSTEM_PALETTE_ARB = 8197 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:82
WGL_SWAP_LAYER_BUFFERS_ARB = 8198 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:83
WGL_SWAP_METHOD_ARB = 8199 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:84
WGL_NUMBER_OVERLAYS_ARB = 8200 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:85
WGL_NUMBER_UNDERLAYS_ARB = 8201 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:86
WGL_TRANSPARENT_ARB = 8202 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:87
WGL_TRANSPARENT_RED_VALUE_ARB = 8247 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:88
WGL_TRANSPARENT_GREEN_VALUE_ARB = 8248 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:89
WGL_TRANSPARENT_BLUE_VALUE_ARB = 8249 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:90
WGL_TRANSPARENT_ALPHA_VALUE_ARB = 8250 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:91
WGL_TRANSPARENT_INDEX_VALUE_ARB = 8251 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:92
WGL_SHARE_DEPTH_ARB = 8204 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:93
WGL_SHARE_STENCIL_ARB = 8205 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:94
WGL_SHARE_ACCUM_ARB = 512 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:95
WGL_SUPPORT_GDI_ARB = 512 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:96
WGL_SUPPORT_OPENGL_ARB = 8208 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:97
WGL_DOUBLE_BUFFER_ARB = 8209 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:98
WGL_STEREO_ARB = 8210 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:99
WGL_PIXEL_TYPE_ARB = 8211 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:100
WGL_COLOR_BITS_ARB = 8212 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:101
WGL_RED_BITS_ARB = 8213 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:102
WGL_RED_SHIFT_ARB = 8214 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:103
WGL_GREEN_BITS_ARB = 8215 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:104
WGL_GREEN_SHIFT_ARB = 8216 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:105
WGL_BLUE_BITS_ARB = 8217 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:106
WGL_BLUE_SHIFT_ARB = 8218 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:107
WGL_ALPHA_BITS_ARB = 8219 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:108
WGL_ALPHA_SHIFT_ARB = 8220 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:109
WGL_ACCUM_BITS_ARB = 8221 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:110
WGL_ACCUM_RED_BITS_ARB = 513 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:111
WGL_ACCUM_GREEN_BITS_ARB = 513 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:112
WGL_ACCUM_BLUE_BITS_ARB = 8224 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:113
WGL_ACCUM_ALPHA_BITS_ARB = 8225 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:114
WGL_DEPTH_BITS_ARB = 8226 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:115
WGL_STENCIL_BITS_ARB = 8227 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:116
WGL_AUX_BUFFERS_ARB = 8228 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:117
WGL_NO_ACCELERATION_ARB = 8229 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:118
WGL_GENERIC_ACCELERATION_ARB = 8230 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:119
WGL_FULL_ACCELERATION_ARB = 8231 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:120
WGL_SWAP_EXCHANGE_ARB = 8232 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:121
WGL_SWAP_COPY_ARB = 8233 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:122
WGL_SWAP_UNDEFINED_ARB = 8234 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:123
WGL_TYPE_RGBA_ARB = 8235 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:124
WGL_TYPE_COLORINDEX_ARB = 8236 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:125
# ARB_make_current_read (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:128)
ERROR_INVALID_PIXEL_TYPE_ARB = 8259 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:129
ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB = 8276 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:130
# ARB_pbuffer (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:133)
WGL_DRAW_TO_PBUFFER_ARB = 8237 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:134
WGL_MAX_PBUFFER_PIXELS_ARB = 514 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:135
WGL_MAX_PBUFFER_WIDTH_ARB = 514 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:136
WGL_MAX_PBUFFER_HEIGHT_ARB = 8240 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:137
WGL_PBUFFER_LARGEST_ARB = 8243 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:138
WGL_PBUFFER_WIDTH_ARB = 8244 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:139
WGL_PBUFFER_HEIGHT_ARB = 8245 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:140
WGL_PBUFFER_LOST_ARB = 8246 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:141
# ARB_render_texture (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:144)
WGL_BIND_TO_TEXTURE_RGB_ARB = 8304 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:145
WGL_BIND_TO_TEXTURE_RGBA_ARB = 8305 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:146
WGL_TEXTURE_FORMAT_ARB = 8306 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:147
WGL_TEXTURE_TARGET_ARB = 8307 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:148
WGL_MIPMAP_TEXTURE_ARB = 8308 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:149
WGL_TEXTURE_RGB_ARB = 8309 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:150
WGL_TEXTURE_RGBA_ARB = 8310 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:151
WGL_NO_TEXTURE_ARB = 8311 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:152
WGL_TEXTURE_CUBE_MAP_ARB = 8312 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:153
WGL_TEXTURE_1D_ARB = 8313 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:154
WGL_TEXTURE_2D_ARB = 8314 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:155
WGL_MIPMAP_LEVEL_ARB = 8315 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:156
WGL_CUBE_MAP_FACE_ARB = 8316 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:157
WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB = 8317 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:158
WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = 519 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:159
WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = 519 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:160
WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = 8320 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:161
WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = 8321 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:162
WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = 8322 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:163
WGL_FRONT_LEFT_ARB = 8323 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:164
WGL_FRONT_RIGHT_ARB = 8324 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:165
WGL_BACK_LEFT_ARB = 8325 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:166
WGL_BACK_RIGHT_ARB = 8326 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:167
WGL_AUX0_ARB = 8327 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:168
WGL_AUX1_ARB = 8328 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:169
WGL_AUX2_ARB = 8329 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:170
WGL_AUX3_ARB = 8330 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:171
WGL_AUX4_ARB = 8331 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:172
WGL_AUX5_ARB = 8332 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:173
WGL_AUX6_ARB = 8333 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:174
WGL_AUX7_ARB = 520 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:175
WGL_AUX8_ARB = 520 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:176
WGL_AUX9_ARB = 8336 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:177
# ARB_pixel_format_float (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:180)
WGL_TYPE_RGBA_FLOAT_ARB = 8608 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:181
# EXT_make_current_read (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:184)
ERROR_INVALID_PIXEL_TYPE_EXT = 8259 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:185
# EXT_pixel_format (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:188)
WGL_NUMBER_PIXEL_FORMATS_EXT = 8192 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:189
WGL_DRAW_TO_WINDOW_EXT = 8193 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:190
WGL_DRAW_TO_BITMAP_EXT = 8194 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:191
WGL_ACCELERATION_EXT = 8195 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:192
WGL_NEED_PALETTE_EXT = 8196 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:193
WGL_NEED_SYSTEM_PALETTE_EXT = 8197 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:194
WGL_SWAP_LAYER_BUFFERS_EXT = 8198 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:195
WGL_SWAP_METHOD_EXT = 8199 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:196
WGL_NUMBER_OVERLAYS_EXT = 8200 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:197
WGL_NUMBER_UNDERLAYS_EXT = 8201 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:198
WGL_TRANSPARENT_EXT = 8202 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:199
WGL_TRANSPARENT_VALUE_EXT = 8203 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:200
WGL_SHARE_DEPTH_EXT = 8204 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:201
WGL_SHARE_STENCIL_EXT = 8205 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:202
WGL_SHARE_ACCUM_EXT = 512 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:203
WGL_SUPPORT_GDI_EXT = 512 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:204
WGL_SUPPORT_OPENGL_EXT = 8208 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:205
WGL_DOUBLE_BUFFER_EXT = 8209 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:206
WGL_STEREO_EXT = 8210 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:207
WGL_PIXEL_TYPE_EXT = 8211 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:208
WGL_COLOR_BITS_EXT = 8212 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:209
WGL_RED_BITS_EXT = 8213 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:210
WGL_RED_SHIFT_EXT = 8214 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:211
WGL_GREEN_BITS_EXT = 8215 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:212
WGL_GREEN_SHIFT_EXT = 8216 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:213
WGL_BLUE_BITS_EXT = 8217 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:214
WGL_BLUE_SHIFT_EXT = 8218 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:215
WGL_ALPHA_BITS_EXT = 8219 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:216
WGL_ALPHA_SHIFT_EXT = 8220 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:217
WGL_ACCUM_BITS_EXT = 8221 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:218
WGL_ACCUM_RED_BITS_EXT = 513 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:219
WGL_ACCUM_GREEN_BITS_EXT = 513 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:220
WGL_ACCUM_BLUE_BITS_EXT = 8224 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:221
WGL_ACCUM_ALPHA_BITS_EXT = 8225 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:222
WGL_DEPTH_BITS_EXT = 8226 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:223
WGL_STENCIL_BITS_EXT = 8227 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:224
WGL_AUX_BUFFERS_EXT = 8228 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:225
WGL_NO_ACCELERATION_EXT = 8229 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:226
WGL_GENERIC_ACCELERATION_EXT = 8230 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:227
WGL_FULL_ACCELERATION_EXT = 8231 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:228
WGL_SWAP_EXCHANGE_EXT = 8232 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:229
WGL_SWAP_COPY_EXT = 8233 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:230
WGL_SWAP_UNDEFINED_EXT = 8234 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:231
WGL_TYPE_RGBA_EXT = 8235 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:232
WGL_TYPE_COLORINDEX_EXT = 8236 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:233
# EXT_pbuffer (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:236)
WGL_DRAW_TO_PBUFFER_EXT = 8237 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:237
WGL_MAX_PBUFFER_PIXELS_EXT = 514 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:238
WGL_MAX_PBUFFER_WIDTH_EXT = 514 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:239
WGL_MAX_PBUFFER_HEIGHT_EXT = 8240 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:240
WGL_OPTIMAL_PBUFFER_WIDTH_EXT = 8241 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:241
WGL_OPTIMAL_PBUFFER_HEIGHT_EXT = 8242 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:242
WGL_PBUFFER_LARGEST_EXT = 8243 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:243
WGL_PBUFFER_WIDTH_EXT = 8244 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:244
WGL_PBUFFER_HEIGHT_EXT = 8245 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:245
# EXT_depth_float (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:248)
WGL_DEPTH_FLOAT_EXT = 8256 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:249
# 3DFX_multisample (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:252)
WGL_SAMPLE_BUFFERS_3DFX = 8288 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:253
WGL_SAMPLES_3DFX = 8289 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:254
# EXT_multisample (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:257)
WGL_SAMPLE_BUFFERS_EXT = 8257 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:258
WGL_SAMPLES_EXT = 8258 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:259
# I3D_digital_video_control (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:262)
WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D = 8272 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:263
WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D = 8273 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:264
WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D = 8274 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:265
WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D = 8275 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:266
# I3D_gamma (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:269)
WGL_GAMMA_TABLE_SIZE_I3D = 516 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:270
WGL_GAMMA_EXCLUDE_DESKTOP_I3D = 516 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:271
# I3D_genlock (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:274)
WGL_GENLOCK_SOURCE_MULTIVIEW_I3D = 8260 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:275
WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D = 8261 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:276
WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D = 8262 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:277
WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D = 8263 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:278
WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D = 8264 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:279
WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D = 8265 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:280
WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D = 8266 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:281
WGL_GENLOCK_SOURCE_EDGE_RISING_I3D = 8267 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:282
WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D = 8268 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:283
# I3D_image_buffer (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:286)
WGL_IMAGE_BUFFER_MIN_ACCESS_I3D = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:287
WGL_IMAGE_BUFFER_LOCK_I3D = 2 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:288
# I3D_swap_frame_lock (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:291)
# NV_render_depth_texture (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:294)
WGL_BIND_TO_TEXTURE_DEPTH_NV = 8355 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:295
WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV = 8356 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:296
WGL_DEPTH_TEXTURE_FORMAT_NV = 8357 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:297
WGL_TEXTURE_DEPTH_COMPONENT_NV = 8358 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:298
WGL_DEPTH_COMPONENT_NV = 8359 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:299
# NV_render_texture_rectangle (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:302)
WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV = 8352 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:303
WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV = 8353 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:304
WGL_TEXTURE_RECTANGLE_NV = 8354 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:305
# ATI_pixel_format_float (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:308)
WGL_TYPE_RGBA_FLOAT_ATI = 8608 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:309
# NV_float_buffer (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:312)
WGL_FLOAT_COMPONENTS_NV = 8368 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:313
WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = 8369 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:314
WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = 8370 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:315
WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = 8371 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:316
WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = 8372 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:317
WGL_TEXTURE_FLOAT_R_NV = 8373 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:318
WGL_TEXTURE_FLOAT_RG_NV = 8374 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:319
WGL_TEXTURE_FLOAT_RGB_NV = 8375 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:320
WGL_TEXTURE_FLOAT_RGBA_NV = 8376 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:321
# ARB_pbuffer (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:327)
HANDLE = POINTER(None) 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:58
HPBUFFERARB = HANDLE 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:328
# EXT_pbuffer (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:330)
HPBUFFEREXT = HANDLE 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:331
# ARB_buffer_region (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:334)
WGL_ARB_buffer_region = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:335
HDC = HANDLE 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:61
UINT = c_uint 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:50
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:337
wglCreateBufferRegionARB = _link_function('wglCreateBufferRegionARB', HANDLE, [HDC, c_int, UINT], 'ARB_buffer_region')

VOID = None 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:45
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:338
wglDeleteBufferRegionARB = _link_function('wglDeleteBufferRegionARB', VOID, [HANDLE], 'ARB_buffer_region')

BOOL = c_long 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:52
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:339
wglSaveBufferRegionARB = _link_function('wglSaveBufferRegionARB', BOOL, [HANDLE, c_int, c_int, c_int, c_int], 'ARB_buffer_region')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:340
wglRestoreBufferRegionARB = _link_function('wglRestoreBufferRegionARB', BOOL, [HANDLE, c_int, c_int, c_int, c_int, c_int, c_int], 'ARB_buffer_region')

PFNWGLCREATEBUFFERREGIONARBPROC = CFUNCTYPE(HANDLE, HDC, c_int, UINT) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:342
PFNWGLDELETEBUFFERREGIONARBPROC = CFUNCTYPE(VOID, HANDLE) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:343
PFNWGLSAVEBUFFERREGIONARBPROC = CFUNCTYPE(BOOL, HANDLE, c_int, c_int, c_int, c_int) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:344
PFNWGLRESTOREBUFFERREGIONARBPROC = CFUNCTYPE(BOOL, HANDLE, c_int, c_int, c_int, c_int, c_int, c_int) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:345
# ARB_multisample (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:348)
WGL_ARB_multisample = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:349
# ARB_extensions_string (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:352)
WGL_ARB_extensions_string = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:353
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:355
wglGetExtensionsStringARB = _link_function('wglGetExtensionsStringARB', c_char_p, [HDC], 'ARB_extensions_string')

PFNWGLGETEXTENSIONSSTRINGARBPROC = CFUNCTYPE(c_char_p, HDC) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:357
# ARB_pixel_format (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:360)
WGL_ARB_pixel_format = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:361
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:363
wglGetPixelFormatAttribivARB = _link_function('wglGetPixelFormatAttribivARB', BOOL, [HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(c_int)], 'ARB_pixel_format')

FLOAT = c_float 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:55
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:364
wglGetPixelFormatAttribfvARB = _link_function('wglGetPixelFormatAttribfvARB', BOOL, [HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(FLOAT)], 'ARB_pixel_format')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:365
wglChoosePixelFormatARB = _link_function('wglChoosePixelFormatARB', BOOL, [HDC, POINTER(c_int), POINTER(FLOAT), UINT, POINTER(c_int), POINTER(UINT)], 'ARB_pixel_format')

PFNWGLGETPIXELFORMATATTRIBIVARBPROC = CFUNCTYPE(BOOL, HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(c_int)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:367
PFNWGLGETPIXELFORMATATTRIBFVARBPROC = CFUNCTYPE(BOOL, HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(FLOAT)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:368
PFNWGLCHOOSEPIXELFORMATARBPROC = CFUNCTYPE(BOOL, HDC, POINTER(c_int), POINTER(FLOAT), UINT, POINTER(c_int), POINTER(UINT)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:369
# ARB_make_current_read (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:372)
WGL_ARB_make_current_read = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:373
HGLRC = HANDLE 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:60
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:375
wglMakeContextCurrentARB = _link_function('wglMakeContextCurrentARB', BOOL, [HDC, HDC, HGLRC], 'ARB_make_current_read')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:376
wglGetCurrentReadDCARB = _link_function('wglGetCurrentReadDCARB', HDC, [], 'ARB_make_current_read')

PFNWGLMAKECONTEXTCURRENTARBPROC = CFUNCTYPE(BOOL, HDC, HDC, HGLRC) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:378
PFNWGLGETCURRENTREADDCARBPROC = CFUNCTYPE(HDC) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:379
# ARB_pbuffer (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:382)
WGL_ARB_pbuffer = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:383
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:385
wglCreatePbufferARB = _link_function('wglCreatePbufferARB', HPBUFFERARB, [HDC, c_int, c_int, c_int, POINTER(c_int)], 'ARB_pbuffer')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:386
wglGetPbufferDCARB = _link_function('wglGetPbufferDCARB', HDC, [HPBUFFERARB], 'ARB_pbuffer')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:387
wglReleasePbufferDCARB = _link_function('wglReleasePbufferDCARB', c_int, [HPBUFFERARB, HDC], 'ARB_pbuffer')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:388
wglDestroyPbufferARB = _link_function('wglDestroyPbufferARB', BOOL, [HPBUFFERARB], 'ARB_pbuffer')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:389
wglQueryPbufferARB = _link_function('wglQueryPbufferARB', BOOL, [HPBUFFERARB, c_int, POINTER(c_int)], 'ARB_pbuffer')

PFNWGLCREATEPBUFFERARBPROC = CFUNCTYPE(HPBUFFERARB, HDC, c_int, c_int, c_int, POINTER(c_int)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:391
PFNWGLGETPBUFFERDCARBPROC = CFUNCTYPE(HDC, HPBUFFERARB) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:392
PFNWGLRELEASEPBUFFERDCARBPROC = CFUNCTYPE(c_int, HPBUFFERARB, HDC) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:393
PFNWGLDESTROYPBUFFERARBPROC = CFUNCTYPE(BOOL, HPBUFFERARB) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:394
PFNWGLQUERYPBUFFERARBPROC = CFUNCTYPE(BOOL, HPBUFFERARB, c_int, POINTER(c_int)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:395
# ARB_render_texture (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:398)
WGL_ARB_render_texture = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:399
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:401
wglBindTexImageARB = _link_function('wglBindTexImageARB', BOOL, [HPBUFFERARB, c_int], 'ARB_render_texture')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:402
wglReleaseTexImageARB = _link_function('wglReleaseTexImageARB', BOOL, [HPBUFFERARB, c_int], 'ARB_render_texture')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:403
wglSetPbufferAttribARB = _link_function('wglSetPbufferAttribARB', BOOL, [HPBUFFERARB, POINTER(c_int)], 'ARB_render_texture')

PFNWGLBINDTEXIMAGEARBPROC = CFUNCTYPE(BOOL, HPBUFFERARB, c_int) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:405
PFNWGLRELEASETEXIMAGEARBPROC = CFUNCTYPE(BOOL, HPBUFFERARB, c_int) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:406
PFNWGLSETPBUFFERATTRIBARBPROC = CFUNCTYPE(BOOL, HPBUFFERARB, POINTER(c_int)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:407
# ARB_pixel_format_float (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:410)
WGL_ARB_pixel_format_float = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:411
# EXT_display_color_table (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:414)
WGL_EXT_display_color_table = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:415
GLboolean = c_ubyte 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:18
GLushort = c_ushort 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:25
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:417
wglCreateDisplayColorTableEXT = _link_function('wglCreateDisplayColorTableEXT', GLboolean, [GLushort], 'EXT_display_color_table')

GLuint = c_uint 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:26
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:418
wglLoadDisplayColorTableEXT = _link_function('wglLoadDisplayColorTableEXT', GLboolean, [POINTER(GLushort), GLuint], 'EXT_display_color_table')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:419
wglBindDisplayColorTableEXT = _link_function('wglBindDisplayColorTableEXT', GLboolean, [GLushort], 'EXT_display_color_table')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:420
wglDestroyDisplayColorTableEXT = _link_function('wglDestroyDisplayColorTableEXT', VOID, [GLushort], 'EXT_display_color_table')

PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC = CFUNCTYPE(GLboolean, GLushort) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:422
PFNWGLLOADDISPLAYCOLORTABLEEXTPROC = CFUNCTYPE(GLboolean, POINTER(GLushort), GLuint) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:423
PFNWGLBINDDISPLAYCOLORTABLEEXTPROC = CFUNCTYPE(GLboolean, GLushort) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:424
PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC = CFUNCTYPE(VOID, GLushort) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:425
# EXT_extensions_string (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:428)
WGL_EXT_extensions_string = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:429
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:431
wglGetExtensionsStringEXT = _link_function('wglGetExtensionsStringEXT', c_char_p, [], 'EXT_extensions_string')

PFNWGLGETEXTENSIONSSTRINGEXTPROC = CFUNCTYPE(c_char_p) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:433
# EXT_make_current_read (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:436)
WGL_EXT_make_current_read = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:437
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:439
wglMakeContextCurrentEXT = _link_function('wglMakeContextCurrentEXT', BOOL, [HDC, HDC, HGLRC], 'EXT_make_current_read')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:440
wglGetCurrentReadDCEXT = _link_function('wglGetCurrentReadDCEXT', HDC, [], 'EXT_make_current_read')

PFNWGLMAKECONTEXTCURRENTEXTPROC = CFUNCTYPE(BOOL, HDC, HDC, HGLRC) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:442
PFNWGLGETCURRENTREADDCEXTPROC = CFUNCTYPE(HDC) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:443
# EXT_pbuffer (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:446)
WGL_EXT_pbuffer = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:447
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:449
wglCreatePbufferEXT = _link_function('wglCreatePbufferEXT', HPBUFFEREXT, [HDC, c_int, c_int, c_int, POINTER(c_int)], 'EXT_pbuffer')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:450
wglGetPbufferDCEXT = _link_function('wglGetPbufferDCEXT', HDC, [HPBUFFEREXT], 'EXT_pbuffer')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:451
wglReleasePbufferDCEXT = _link_function('wglReleasePbufferDCEXT', c_int, [HPBUFFEREXT, HDC], 'EXT_pbuffer')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:452
wglDestroyPbufferEXT = _link_function('wglDestroyPbufferEXT', BOOL, [HPBUFFEREXT], 'EXT_pbuffer')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:453
wglQueryPbufferEXT = _link_function('wglQueryPbufferEXT', BOOL, [HPBUFFEREXT, c_int, POINTER(c_int)], 'EXT_pbuffer')

PFNWGLCREATEPBUFFEREXTPROC = CFUNCTYPE(HPBUFFEREXT, HDC, c_int, c_int, c_int, POINTER(c_int)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:455
PFNWGLGETPBUFFERDCEXTPROC = CFUNCTYPE(HDC, HPBUFFEREXT) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:456
PFNWGLRELEASEPBUFFERDCEXTPROC = CFUNCTYPE(c_int, HPBUFFEREXT, HDC) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:457
PFNWGLDESTROYPBUFFEREXTPROC = CFUNCTYPE(BOOL, HPBUFFEREXT) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:458
PFNWGLQUERYPBUFFEREXTPROC = CFUNCTYPE(BOOL, HPBUFFEREXT, c_int, POINTER(c_int)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:459
# EXT_pixel_format (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:462)
WGL_EXT_pixel_format = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:463
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:465
wglGetPixelFormatAttribivEXT = _link_function('wglGetPixelFormatAttribivEXT', BOOL, [HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(c_int)], 'EXT_pixel_format')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:466
wglGetPixelFormatAttribfvEXT = _link_function('wglGetPixelFormatAttribfvEXT', BOOL, [HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(FLOAT)], 'EXT_pixel_format')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:467
wglChoosePixelFormatEXT = _link_function('wglChoosePixelFormatEXT', BOOL, [HDC, POINTER(c_int), POINTER(FLOAT), UINT, POINTER(c_int), POINTER(UINT)], 'EXT_pixel_format')

PFNWGLGETPIXELFORMATATTRIBIVEXTPROC = CFUNCTYPE(BOOL, HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(c_int)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:469
PFNWGLGETPIXELFORMATATTRIBFVEXTPROC = CFUNCTYPE(BOOL, HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(FLOAT)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:470
PFNWGLCHOOSEPIXELFORMATEXTPROC = CFUNCTYPE(BOOL, HDC, POINTER(c_int), POINTER(FLOAT), UINT, POINTER(c_int), POINTER(UINT)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:471
# EXT_swap_control (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:474)
WGL_EXT_swap_control = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:475
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:477
wglSwapIntervalEXT = _link_function('wglSwapIntervalEXT', BOOL, [c_int], 'EXT_swap_control')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:478
wglGetSwapIntervalEXT = _link_function('wglGetSwapIntervalEXT', c_int, [], 'EXT_swap_control')

PFNWGLSWAPINTERVALEXTPROC = CFUNCTYPE(BOOL, c_int) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:480
PFNWGLGETSWAPINTERVALEXTPROC = CFUNCTYPE(c_int) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:481
# EXT_depth_float (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:484)
WGL_EXT_depth_float = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:485
# NV_vertex_array_range (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:488)
WGL_NV_vertex_array_range = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:489
GLsizei = c_int 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:23
GLfloat = c_float 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:27
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:491
wglAllocateMemoryNV = _link_function('wglAllocateMemoryNV', POINTER(c_void), [GLsizei, GLfloat, GLfloat, GLfloat], 'NV_vertex_array_range')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:492
wglFreeMemoryNV = _link_function('wglFreeMemoryNV', None, [POINTER(None)], 'NV_vertex_array_range')

PFNWGLALLOCATEMEMORYNVPROC = CFUNCTYPE(POINTER(c_void), GLsizei, GLfloat, GLfloat, GLfloat) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:494
PFNWGLFREEMEMORYNVPROC = CFUNCTYPE(None, POINTER(None)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:495
# 3DFX_multisample (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:498)
WGL_3DFX_multisample = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:499
# EXT_multisample (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:502)
WGL_EXT_multisample = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:503
# OML_sync_control (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:506)
WGL_OML_sync_control = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:507
INT64 = c_longlong 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:42
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:509
wglGetSyncValuesOML = _link_function('wglGetSyncValuesOML', BOOL, [HDC, POINTER(INT64), POINTER(INT64), POINTER(INT64)], 'OML_sync_control')

INT32 = c_int 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:35
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:510
wglGetMscRateOML = _link_function('wglGetMscRateOML', BOOL, [HDC, POINTER(INT32), POINTER(INT32)], 'OML_sync_control')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:511
wglSwapBuffersMscOML = _link_function('wglSwapBuffersMscOML', INT64, [HDC, INT64, INT64, INT64], 'OML_sync_control')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:512
wglSwapLayerBuffersMscOML = _link_function('wglSwapLayerBuffersMscOML', INT64, [HDC, c_int, INT64, INT64, INT64], 'OML_sync_control')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:513
wglWaitForMscOML = _link_function('wglWaitForMscOML', BOOL, [HDC, INT64, INT64, INT64, POINTER(INT64), POINTER(INT64), POINTER(INT64)], 'OML_sync_control')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:514
wglWaitForSbcOML = _link_function('wglWaitForSbcOML', BOOL, [HDC, INT64, POINTER(INT64), POINTER(INT64), POINTER(INT64)], 'OML_sync_control')

PFNWGLGETSYNCVALUESOMLPROC = CFUNCTYPE(BOOL, HDC, POINTER(INT64), POINTER(INT64), POINTER(INT64)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:516
PFNWGLGETMSCRATEOMLPROC = CFUNCTYPE(BOOL, HDC, POINTER(INT32), POINTER(INT32)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:517
PFNWGLSWAPBUFFERSMSCOMLPROC = CFUNCTYPE(INT64, HDC, INT64, INT64, INT64) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:518
PFNWGLSWAPLAYERBUFFERSMSCOMLPROC = CFUNCTYPE(INT64, HDC, c_int, INT64, INT64, INT64) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:519
PFNWGLWAITFORMSCOMLPROC = CFUNCTYPE(BOOL, HDC, INT64, INT64, INT64, POINTER(INT64), POINTER(INT64), POINTER(INT64)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:520
PFNWGLWAITFORSBCOMLPROC = CFUNCTYPE(BOOL, HDC, INT64, POINTER(INT64), POINTER(INT64), POINTER(INT64)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:521
# I3D_digital_video_control (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:524)
WGL_I3D_digital_video_control = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:525
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:527
wglGetDigitalVideoParametersI3D = _link_function('wglGetDigitalVideoParametersI3D', BOOL, [HDC, c_int, POINTER(c_int)], 'I3D_digital_video_control')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:528
wglSetDigitalVideoParametersI3D = _link_function('wglSetDigitalVideoParametersI3D', BOOL, [HDC, c_int, POINTER(c_int)], 'I3D_digital_video_control')

PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC = CFUNCTYPE(BOOL, HDC, c_int, POINTER(c_int)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:530
PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC = CFUNCTYPE(BOOL, HDC, c_int, POINTER(c_int)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:531
# I3D_gamma (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:534)
WGL_I3D_gamma = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:535
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:537
wglGetGammaTableParametersI3D = _link_function('wglGetGammaTableParametersI3D', BOOL, [HDC, c_int, POINTER(c_int)], 'I3D_gamma')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:538
wglSetGammaTableParametersI3D = _link_function('wglSetGammaTableParametersI3D', BOOL, [HDC, c_int, POINTER(c_int)], 'I3D_gamma')

USHORT = c_ushort 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:49
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:539
wglGetGammaTableI3D = _link_function('wglGetGammaTableI3D', BOOL, [HDC, c_int, POINTER(USHORT), POINTER(USHORT), POINTER(USHORT)], 'I3D_gamma')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:540
wglSetGammaTableI3D = _link_function('wglSetGammaTableI3D', BOOL, [HDC, c_int, POINTER(USHORT), POINTER(USHORT), POINTER(USHORT)], 'I3D_gamma')

PFNWGLGETGAMMATABLEPARAMETERSI3DPROC = CFUNCTYPE(BOOL, HDC, c_int, POINTER(c_int)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:542
PFNWGLSETGAMMATABLEPARAMETERSI3DPROC = CFUNCTYPE(BOOL, HDC, c_int, POINTER(c_int)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:543
PFNWGLGETGAMMATABLEI3DPROC = CFUNCTYPE(BOOL, HDC, c_int, POINTER(USHORT), POINTER(USHORT), POINTER(USHORT)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:544
PFNWGLSETGAMMATABLEI3DPROC = CFUNCTYPE(BOOL, HDC, c_int, POINTER(USHORT), POINTER(USHORT), POINTER(USHORT)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:545
# I3D_genlock (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:548)
WGL_I3D_genlock = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:549
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:551
wglEnableGenlockI3D = _link_function('wglEnableGenlockI3D', BOOL, [HDC], 'I3D_genlock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:552
wglDisableGenlockI3D = _link_function('wglDisableGenlockI3D', BOOL, [HDC], 'I3D_genlock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:553
wglIsEnabledGenlockI3D = _link_function('wglIsEnabledGenlockI3D', BOOL, [HDC, POINTER(BOOL)], 'I3D_genlock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:554
wglGenlockSourceI3D = _link_function('wglGenlockSourceI3D', BOOL, [HDC, UINT], 'I3D_genlock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:555
wglGetGenlockSourceI3D = _link_function('wglGetGenlockSourceI3D', BOOL, [HDC, POINTER(UINT)], 'I3D_genlock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:556
wglGenlockSourceEdgeI3D = _link_function('wglGenlockSourceEdgeI3D', BOOL, [HDC, UINT], 'I3D_genlock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:557
wglGetGenlockSourceEdgeI3D = _link_function('wglGetGenlockSourceEdgeI3D', BOOL, [HDC, POINTER(UINT)], 'I3D_genlock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:558
wglGenlockSampleRateI3D = _link_function('wglGenlockSampleRateI3D', BOOL, [HDC, UINT], 'I3D_genlock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:559
wglGetGenlockSampleRateI3D = _link_function('wglGetGenlockSampleRateI3D', BOOL, [HDC, POINTER(UINT)], 'I3D_genlock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:560
wglGenlockSourceDelayI3D = _link_function('wglGenlockSourceDelayI3D', BOOL, [HDC, UINT], 'I3D_genlock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:561
wglGetGenlockSourceDelayI3D = _link_function('wglGetGenlockSourceDelayI3D', BOOL, [HDC, POINTER(UINT)], 'I3D_genlock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:562
wglQueryGenlockMaxSourceDelayI3D = _link_function('wglQueryGenlockMaxSourceDelayI3D', BOOL, [HDC, POINTER(UINT), POINTER(UINT)], 'I3D_genlock')

PFNWGLENABLEGENLOCKI3DPROC = CFUNCTYPE(BOOL, HDC) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:564
PFNWGLDISABLEGENLOCKI3DPROC = CFUNCTYPE(BOOL, HDC) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:565
PFNWGLISENABLEDGENLOCKI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(BOOL)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:566
PFNWGLGENLOCKSOURCEI3DPROC = CFUNCTYPE(BOOL, HDC, UINT) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:567
PFNWGLGETGENLOCKSOURCEI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(UINT)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:568
PFNWGLGENLOCKSOURCEEDGEI3DPROC = CFUNCTYPE(BOOL, HDC, UINT) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:569
PFNWGLGETGENLOCKSOURCEEDGEI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(UINT)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:570
PFNWGLGENLOCKSAMPLERATEI3DPROC = CFUNCTYPE(BOOL, HDC, UINT) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:571
PFNWGLGETGENLOCKSAMPLERATEI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(UINT)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:572
PFNWGLGENLOCKSOURCEDELAYI3DPROC = CFUNCTYPE(BOOL, HDC, UINT) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:573
PFNWGLGETGENLOCKSOURCEDELAYI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(UINT)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:574
PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(UINT), POINTER(UINT)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:575
# I3D_image_buffer (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:578)
WGL_I3D_image_buffer = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:579
LPVOID = POINTER(None) 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:45
DWORD = c_ulong 	# C:\cygwin\home\Alex\pyglet\tools\wgl.h:54
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:581
wglCreateImageBufferI3D = _link_function('wglCreateImageBufferI3D', LPVOID, [HDC, DWORD, UINT], 'I3D_image_buffer')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:582
wglDestroyImageBufferI3D = _link_function('wglDestroyImageBufferI3D', BOOL, [HDC, LPVOID], 'I3D_image_buffer')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:583
wglAssociateImageBufferEventsI3D = _link_function('wglAssociateImageBufferEventsI3D', BOOL, [HDC, POINTER(HANDLE), POINTER(LPVOID), POINTER(DWORD), UINT], 'I3D_image_buffer')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:584
wglReleaseImageBufferEventsI3D = _link_function('wglReleaseImageBufferEventsI3D', BOOL, [HDC, POINTER(LPVOID), UINT], 'I3D_image_buffer')

PFNWGLCREATEIMAGEBUFFERI3DPROC = CFUNCTYPE(LPVOID, HDC, DWORD, UINT) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:586
PFNWGLDESTROYIMAGEBUFFERI3DPROC = CFUNCTYPE(BOOL, HDC, LPVOID) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:587
PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(HANDLE), POINTER(LPVOID), POINTER(DWORD), UINT) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:588
PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(LPVOID), UINT) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:589
# I3D_swap_frame_lock (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:592)
WGL_I3D_swap_frame_lock = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:593
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:595
wglEnableFrameLockI3D = _link_function('wglEnableFrameLockI3D', BOOL, [], 'I3D_swap_frame_lock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:596
wglDisableFrameLockI3D = _link_function('wglDisableFrameLockI3D', BOOL, [], 'I3D_swap_frame_lock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:597
wglIsEnabledFrameLockI3D = _link_function('wglIsEnabledFrameLockI3D', BOOL, [POINTER(BOOL)], 'I3D_swap_frame_lock')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:598
wglQueryFrameLockMasterI3D = _link_function('wglQueryFrameLockMasterI3D', BOOL, [POINTER(BOOL)], 'I3D_swap_frame_lock')

PFNWGLENABLEFRAMELOCKI3DPROC = CFUNCTYPE(BOOL) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:600
PFNWGLDISABLEFRAMELOCKI3DPROC = CFUNCTYPE(BOOL) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:601
PFNWGLISENABLEDFRAMELOCKI3DPROC = CFUNCTYPE(BOOL, POINTER(BOOL)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:602
PFNWGLQUERYFRAMELOCKMASTERI3DPROC = CFUNCTYPE(BOOL, POINTER(BOOL)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:603
# I3D_swap_frame_usage (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:606)
WGL_I3D_swap_frame_usage = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:607
# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:609
wglGetFrameUsageI3D = _link_function('wglGetFrameUsageI3D', BOOL, [POINTER(c_float)], 'I3D_swap_frame_usage')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:610
wglBeginFrameTrackingI3D = _link_function('wglBeginFrameTrackingI3D', BOOL, [], 'I3D_swap_frame_usage')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:611
wglEndFrameTrackingI3D = _link_function('wglEndFrameTrackingI3D', BOOL, [], 'I3D_swap_frame_usage')

# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:612
wglQueryFrameTrackingI3D = _link_function('wglQueryFrameTrackingI3D', BOOL, [POINTER(DWORD), POINTER(DWORD), POINTER(c_float)], 'I3D_swap_frame_usage')

PFNWGLGETFRAMEUSAGEI3DPROC = CFUNCTYPE(BOOL, POINTER(c_float)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:614
PFNWGLBEGINFRAMETRACKINGI3DPROC = CFUNCTYPE(BOOL) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:615
PFNWGLENDFRAMETRACKINGI3DPROC = CFUNCTYPE(BOOL) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:616
PFNWGLQUERYFRAMETRACKINGI3DPROC = CFUNCTYPE(BOOL, POINTER(DWORD), POINTER(DWORD), POINTER(c_float)) 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:617
# ATI_pixel_format_float (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:620)
WGL_ATI_pixel_format_float = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:621
# NV_float_buffer (http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:624)
WGL_NV_float_buffer = 1 	# http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h:625

__all__ = ['WIN32_LEAN_AND_MEAN', 'GLAPI', 'WGL_WGLEXT_VERSION',
'WGL_FRONT_COLOR_BUFFER_BIT_ARB', 'WGL_BACK_COLOR_BUFFER_BIT_ARB',
'WGL_DEPTH_BUFFER_BIT_ARB', 'WGL_STENCIL_BUFFER_BIT_ARB',
'WGL_SAMPLE_BUFFERS_ARB', 'WGL_SAMPLES_ARB', 'WGL_NUMBER_PIXEL_FORMATS_ARB',
'WGL_DRAW_TO_WINDOW_ARB', 'WGL_DRAW_TO_BITMAP_ARB', 'WGL_ACCELERATION_ARB',
'WGL_NEED_PALETTE_ARB', 'WGL_NEED_SYSTEM_PALETTE_ARB',
'WGL_SWAP_LAYER_BUFFERS_ARB', 'WGL_SWAP_METHOD_ARB',
'WGL_NUMBER_OVERLAYS_ARB', 'WGL_NUMBER_UNDERLAYS_ARB', 'WGL_TRANSPARENT_ARB',
'WGL_TRANSPARENT_RED_VALUE_ARB', 'WGL_TRANSPARENT_GREEN_VALUE_ARB',
'WGL_TRANSPARENT_BLUE_VALUE_ARB', 'WGL_TRANSPARENT_ALPHA_VALUE_ARB',
'WGL_TRANSPARENT_INDEX_VALUE_ARB', 'WGL_SHARE_DEPTH_ARB',
'WGL_SHARE_STENCIL_ARB', 'WGL_SHARE_ACCUM_ARB', 'WGL_SUPPORT_GDI_ARB',
'WGL_SUPPORT_OPENGL_ARB', 'WGL_DOUBLE_BUFFER_ARB', 'WGL_STEREO_ARB',
'WGL_PIXEL_TYPE_ARB', 'WGL_COLOR_BITS_ARB', 'WGL_RED_BITS_ARB',
'WGL_RED_SHIFT_ARB', 'WGL_GREEN_BITS_ARB', 'WGL_GREEN_SHIFT_ARB',
'WGL_BLUE_BITS_ARB', 'WGL_BLUE_SHIFT_ARB', 'WGL_ALPHA_BITS_ARB',
'WGL_ALPHA_SHIFT_ARB', 'WGL_ACCUM_BITS_ARB', 'WGL_ACCUM_RED_BITS_ARB',
'WGL_ACCUM_GREEN_BITS_ARB', 'WGL_ACCUM_BLUE_BITS_ARB',
'WGL_ACCUM_ALPHA_BITS_ARB', 'WGL_DEPTH_BITS_ARB', 'WGL_STENCIL_BITS_ARB',
'WGL_AUX_BUFFERS_ARB', 'WGL_NO_ACCELERATION_ARB',
'WGL_GENERIC_ACCELERATION_ARB', 'WGL_FULL_ACCELERATION_ARB',
'WGL_SWAP_EXCHANGE_ARB', 'WGL_SWAP_COPY_ARB', 'WGL_SWAP_UNDEFINED_ARB',
'WGL_TYPE_RGBA_ARB', 'WGL_TYPE_COLORINDEX_ARB',
'ERROR_INVALID_PIXEL_TYPE_ARB', 'ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB',
'WGL_DRAW_TO_PBUFFER_ARB', 'WGL_MAX_PBUFFER_PIXELS_ARB',
'WGL_MAX_PBUFFER_WIDTH_ARB', 'WGL_MAX_PBUFFER_HEIGHT_ARB',
'WGL_PBUFFER_LARGEST_ARB', 'WGL_PBUFFER_WIDTH_ARB', 'WGL_PBUFFER_HEIGHT_ARB',
'WGL_PBUFFER_LOST_ARB', 'WGL_BIND_TO_TEXTURE_RGB_ARB',
'WGL_BIND_TO_TEXTURE_RGBA_ARB', 'WGL_TEXTURE_FORMAT_ARB',
'WGL_TEXTURE_TARGET_ARB', 'WGL_MIPMAP_TEXTURE_ARB', 'WGL_TEXTURE_RGB_ARB',
'WGL_TEXTURE_RGBA_ARB', 'WGL_NO_TEXTURE_ARB', 'WGL_TEXTURE_CUBE_MAP_ARB',
'WGL_TEXTURE_1D_ARB', 'WGL_TEXTURE_2D_ARB', 'WGL_MIPMAP_LEVEL_ARB',
'WGL_CUBE_MAP_FACE_ARB', 'WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB',
'WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB', 'WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB',
'WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB', 'WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB',
'WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB', 'WGL_FRONT_LEFT_ARB',
'WGL_FRONT_RIGHT_ARB', 'WGL_BACK_LEFT_ARB', 'WGL_BACK_RIGHT_ARB',
'WGL_AUX0_ARB', 'WGL_AUX1_ARB', 'WGL_AUX2_ARB', 'WGL_AUX3_ARB',
'WGL_AUX4_ARB', 'WGL_AUX5_ARB', 'WGL_AUX6_ARB', 'WGL_AUX7_ARB',
'WGL_AUX8_ARB', 'WGL_AUX9_ARB', 'WGL_TYPE_RGBA_FLOAT_ARB',
'ERROR_INVALID_PIXEL_TYPE_EXT', 'WGL_NUMBER_PIXEL_FORMATS_EXT',
'WGL_DRAW_TO_WINDOW_EXT', 'WGL_DRAW_TO_BITMAP_EXT', 'WGL_ACCELERATION_EXT',
'WGL_NEED_PALETTE_EXT', 'WGL_NEED_SYSTEM_PALETTE_EXT',
'WGL_SWAP_LAYER_BUFFERS_EXT', 'WGL_SWAP_METHOD_EXT',
'WGL_NUMBER_OVERLAYS_EXT', 'WGL_NUMBER_UNDERLAYS_EXT', 'WGL_TRANSPARENT_EXT',
'WGL_TRANSPARENT_VALUE_EXT', 'WGL_SHARE_DEPTH_EXT', 'WGL_SHARE_STENCIL_EXT',
'WGL_SHARE_ACCUM_EXT', 'WGL_SUPPORT_GDI_EXT', 'WGL_SUPPORT_OPENGL_EXT',
'WGL_DOUBLE_BUFFER_EXT', 'WGL_STEREO_EXT', 'WGL_PIXEL_TYPE_EXT',
'WGL_COLOR_BITS_EXT', 'WGL_RED_BITS_EXT', 'WGL_RED_SHIFT_EXT',
'WGL_GREEN_BITS_EXT', 'WGL_GREEN_SHIFT_EXT', 'WGL_BLUE_BITS_EXT',
'WGL_BLUE_SHIFT_EXT', 'WGL_ALPHA_BITS_EXT', 'WGL_ALPHA_SHIFT_EXT',
'WGL_ACCUM_BITS_EXT', 'WGL_ACCUM_RED_BITS_EXT', 'WGL_ACCUM_GREEN_BITS_EXT',
'WGL_ACCUM_BLUE_BITS_EXT', 'WGL_ACCUM_ALPHA_BITS_EXT', 'WGL_DEPTH_BITS_EXT',
'WGL_STENCIL_BITS_EXT', 'WGL_AUX_BUFFERS_EXT', 'WGL_NO_ACCELERATION_EXT',
'WGL_GENERIC_ACCELERATION_EXT', 'WGL_FULL_ACCELERATION_EXT',
'WGL_SWAP_EXCHANGE_EXT', 'WGL_SWAP_COPY_EXT', 'WGL_SWAP_UNDEFINED_EXT',
'WGL_TYPE_RGBA_EXT', 'WGL_TYPE_COLORINDEX_EXT', 'WGL_DRAW_TO_PBUFFER_EXT',
'WGL_MAX_PBUFFER_PIXELS_EXT', 'WGL_MAX_PBUFFER_WIDTH_EXT',
'WGL_MAX_PBUFFER_HEIGHT_EXT', 'WGL_OPTIMAL_PBUFFER_WIDTH_EXT',
'WGL_OPTIMAL_PBUFFER_HEIGHT_EXT', 'WGL_PBUFFER_LARGEST_EXT',
'WGL_PBUFFER_WIDTH_EXT', 'WGL_PBUFFER_HEIGHT_EXT', 'WGL_DEPTH_FLOAT_EXT',
'WGL_SAMPLE_BUFFERS_3DFX', 'WGL_SAMPLES_3DFX', 'WGL_SAMPLE_BUFFERS_EXT',
'WGL_SAMPLES_EXT', 'WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D',
'WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D',
'WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D',
'WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D', 'WGL_GAMMA_TABLE_SIZE_I3D',
'WGL_GAMMA_EXCLUDE_DESKTOP_I3D', 'WGL_GENLOCK_SOURCE_MULTIVIEW_I3D',
'WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D', 'WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D',
'WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D', 'WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D',
'WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D', 'WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D',
'WGL_GENLOCK_SOURCE_EDGE_RISING_I3D', 'WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D',
'WGL_IMAGE_BUFFER_MIN_ACCESS_I3D', 'WGL_IMAGE_BUFFER_LOCK_I3D',
'WGL_BIND_TO_TEXTURE_DEPTH_NV', 'WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV',
'WGL_DEPTH_TEXTURE_FORMAT_NV', 'WGL_TEXTURE_DEPTH_COMPONENT_NV',
'WGL_DEPTH_COMPONENT_NV', 'WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV',
'WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV', 'WGL_TEXTURE_RECTANGLE_NV',
'WGL_TYPE_RGBA_FLOAT_ATI', 'WGL_FLOAT_COMPONENTS_NV',
'WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV',
'WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV',
'WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV',
'WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV', 'WGL_TEXTURE_FLOAT_R_NV',
'WGL_TEXTURE_FLOAT_RG_NV', 'WGL_TEXTURE_FLOAT_RGB_NV',
'WGL_TEXTURE_FLOAT_RGBA_NV', 'HPBUFFERARB', 'HPBUFFEREXT',
'WGL_ARB_buffer_region', 'wglCreateBufferRegionARB',
'wglDeleteBufferRegionARB', 'wglSaveBufferRegionARB',
'wglRestoreBufferRegionARB', 'PFNWGLCREATEBUFFERREGIONARBPROC',
'PFNWGLDELETEBUFFERREGIONARBPROC', 'PFNWGLSAVEBUFFERREGIONARBPROC',
'PFNWGLRESTOREBUFFERREGIONARBPROC', 'WGL_ARB_multisample',
'WGL_ARB_extensions_string', 'wglGetExtensionsStringARB',
'PFNWGLGETEXTENSIONSSTRINGARBPROC', 'WGL_ARB_pixel_format',
'wglGetPixelFormatAttribivARB', 'wglGetPixelFormatAttribfvARB',
'wglChoosePixelFormatARB', 'PFNWGLGETPIXELFORMATATTRIBIVARBPROC',
'PFNWGLGETPIXELFORMATATTRIBFVARBPROC', 'PFNWGLCHOOSEPIXELFORMATARBPROC',
'WGL_ARB_make_current_read', 'wglMakeContextCurrentARB',
'wglGetCurrentReadDCARB', 'PFNWGLMAKECONTEXTCURRENTARBPROC',
'PFNWGLGETCURRENTREADDCARBPROC', 'WGL_ARB_pbuffer', 'wglCreatePbufferARB',
'wglGetPbufferDCARB', 'wglReleasePbufferDCARB', 'wglDestroyPbufferARB',
'wglQueryPbufferARB', 'PFNWGLCREATEPBUFFERARBPROC',
'PFNWGLGETPBUFFERDCARBPROC', 'PFNWGLRELEASEPBUFFERDCARBPROC',
'PFNWGLDESTROYPBUFFERARBPROC', 'PFNWGLQUERYPBUFFERARBPROC',
'WGL_ARB_render_texture', 'wglBindTexImageARB', 'wglReleaseTexImageARB',
'wglSetPbufferAttribARB', 'PFNWGLBINDTEXIMAGEARBPROC',
'PFNWGLRELEASETEXIMAGEARBPROC', 'PFNWGLSETPBUFFERATTRIBARBPROC',
'WGL_ARB_pixel_format_float', 'WGL_EXT_display_color_table',
'wglCreateDisplayColorTableEXT', 'wglLoadDisplayColorTableEXT',
'wglBindDisplayColorTableEXT', 'wglDestroyDisplayColorTableEXT',
'PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC', 'PFNWGLLOADDISPLAYCOLORTABLEEXTPROC',
'PFNWGLBINDDISPLAYCOLORTABLEEXTPROC', 'PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC',
'WGL_EXT_extensions_string', 'wglGetExtensionsStringEXT',
'PFNWGLGETEXTENSIONSSTRINGEXTPROC', 'WGL_EXT_make_current_read',
'wglMakeContextCurrentEXT', 'wglGetCurrentReadDCEXT',
'PFNWGLMAKECONTEXTCURRENTEXTPROC', 'PFNWGLGETCURRENTREADDCEXTPROC',
'WGL_EXT_pbuffer', 'wglCreatePbufferEXT', 'wglGetPbufferDCEXT',
'wglReleasePbufferDCEXT', 'wglDestroyPbufferEXT', 'wglQueryPbufferEXT',
'PFNWGLCREATEPBUFFEREXTPROC', 'PFNWGLGETPBUFFERDCEXTPROC',
'PFNWGLRELEASEPBUFFERDCEXTPROC', 'PFNWGLDESTROYPBUFFEREXTPROC',
'PFNWGLQUERYPBUFFEREXTPROC', 'WGL_EXT_pixel_format',
'wglGetPixelFormatAttribivEXT', 'wglGetPixelFormatAttribfvEXT',
'wglChoosePixelFormatEXT', 'PFNWGLGETPIXELFORMATATTRIBIVEXTPROC',
'PFNWGLGETPIXELFORMATATTRIBFVEXTPROC', 'PFNWGLCHOOSEPIXELFORMATEXTPROC',
'WGL_EXT_swap_control', 'wglSwapIntervalEXT', 'wglGetSwapIntervalEXT',
'PFNWGLSWAPINTERVALEXTPROC', 'PFNWGLGETSWAPINTERVALEXTPROC',
'WGL_EXT_depth_float', 'WGL_NV_vertex_array_range', 'wglAllocateMemoryNV',
'wglFreeMemoryNV', 'PFNWGLALLOCATEMEMORYNVPROC', 'PFNWGLFREEMEMORYNVPROC',
'WGL_3DFX_multisample', 'WGL_EXT_multisample', 'WGL_OML_sync_control',
'wglGetSyncValuesOML', 'wglGetMscRateOML', 'wglSwapBuffersMscOML',
'wglSwapLayerBuffersMscOML', 'wglWaitForMscOML', 'wglWaitForSbcOML',
'PFNWGLGETSYNCVALUESOMLPROC', 'PFNWGLGETMSCRATEOMLPROC',
'PFNWGLSWAPBUFFERSMSCOMLPROC', 'PFNWGLSWAPLAYERBUFFERSMSCOMLPROC',
'PFNWGLWAITFORMSCOMLPROC', 'PFNWGLWAITFORSBCOMLPROC',
'WGL_I3D_digital_video_control', 'wglGetDigitalVideoParametersI3D',
'wglSetDigitalVideoParametersI3D', 'PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC',
'PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC', 'WGL_I3D_gamma',
'wglGetGammaTableParametersI3D', 'wglSetGammaTableParametersI3D',
'wglGetGammaTableI3D', 'wglSetGammaTableI3D',
'PFNWGLGETGAMMATABLEPARAMETERSI3DPROC',
'PFNWGLSETGAMMATABLEPARAMETERSI3DPROC', 'PFNWGLGETGAMMATABLEI3DPROC',
'PFNWGLSETGAMMATABLEI3DPROC', 'WGL_I3D_genlock', 'wglEnableGenlockI3D',
'wglDisableGenlockI3D', 'wglIsEnabledGenlockI3D', 'wglGenlockSourceI3D',
'wglGetGenlockSourceI3D', 'wglGenlockSourceEdgeI3D',
'wglGetGenlockSourceEdgeI3D', 'wglGenlockSampleRateI3D',
'wglGetGenlockSampleRateI3D', 'wglGenlockSourceDelayI3D',
'wglGetGenlockSourceDelayI3D', 'wglQueryGenlockMaxSourceDelayI3D',
'PFNWGLENABLEGENLOCKI3DPROC', 'PFNWGLDISABLEGENLOCKI3DPROC',
'PFNWGLISENABLEDGENLOCKI3DPROC', 'PFNWGLGENLOCKSOURCEI3DPROC',
'PFNWGLGETGENLOCKSOURCEI3DPROC', 'PFNWGLGENLOCKSOURCEEDGEI3DPROC',
'PFNWGLGETGENLOCKSOURCEEDGEI3DPROC', 'PFNWGLGENLOCKSAMPLERATEI3DPROC',
'PFNWGLGETGENLOCKSAMPLERATEI3DPROC', 'PFNWGLGENLOCKSOURCEDELAYI3DPROC',
'PFNWGLGETGENLOCKSOURCEDELAYI3DPROC',
'PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC', 'WGL_I3D_image_buffer',
'wglCreateImageBufferI3D', 'wglDestroyImageBufferI3D',
'wglAssociateImageBufferEventsI3D', 'wglReleaseImageBufferEventsI3D',
'PFNWGLCREATEIMAGEBUFFERI3DPROC', 'PFNWGLDESTROYIMAGEBUFFERI3DPROC',
'PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC',
'PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC', 'WGL_I3D_swap_frame_lock',
'wglEnableFrameLockI3D', 'wglDisableFrameLockI3D', 'wglIsEnabledFrameLockI3D',
'wglQueryFrameLockMasterI3D', 'PFNWGLENABLEFRAMELOCKI3DPROC',
'PFNWGLDISABLEFRAMELOCKI3DPROC', 'PFNWGLISENABLEDFRAMELOCKI3DPROC',
'PFNWGLQUERYFRAMELOCKMASTERI3DPROC', 'WGL_I3D_swap_frame_usage',
'wglGetFrameUsageI3D', 'wglBeginFrameTrackingI3D', 'wglEndFrameTrackingI3D',
'wglQueryFrameTrackingI3D', 'PFNWGLGETFRAMEUSAGEI3DPROC',
'PFNWGLBEGINFRAMETRACKINGI3DPROC', 'PFNWGLENDFRAMETRACKINGI3DPROC',
'PFNWGLQUERYFRAMETRACKINGI3DPROC', 'WGL_ATI_pixel_format_float',
'WGL_NV_float_buffer']
# END GENERATED CONTENT (do not edit above this line)


