; --------------------------------------------------------------------------------------------------
;                            glaux.inc Copyright The MASM32 SDK 1998-2010
; --------------------------------------------------------------------------------------------------

IFNDEF GLAUX_INC
GLAUX_INC equ <1>

AdjustWindowRect PROTO STDCALL :DWORD,:DWORD,:DWORD
BeginPaint PROTO STDCALL :DWORD,:DWORD
ChoosePixelFormat PROTO STDCALL :DWORD,:DWORD
CloseHandle PROTO STDCALL :DWORD
CreateCompatibleDC PROTO STDCALL :DWORD
CreateDIBSection PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

CreateFileA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  CreateFile equ <CreateFileA>
ENDIF

CreateFileMappingA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  CreateFileMapping equ <CreateFileMappingA>
ENDIF

CreateFileW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  CreateFile equ <CreateFileW>
ENDIF

CreatePalette PROTO STDCALL :DWORD

CreateWindowExA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  CreateWindowEx equ <CreateWindowExA>
ENDIF

CreateWindowExW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  CreateWindowEx equ <CreateWindowExW>
ENDIF

DefWindowProcA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  DefWindowProc equ <DefWindowProcA>
ENDIF

DeleteDC PROTO STDCALL :DWORD
DeleteObject PROTO STDCALL :DWORD
DescribePixelFormat PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
DestroyWindow PROTO STDCALL :DWORD

DispatchMessageA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  DispatchMessage equ <DispatchMessageA>
ENDIF

EndPaint PROTO STDCALL :DWORD,:DWORD
ExitProcess PROTO STDCALL :DWORD
GdiFlush PROTO STDCALL
GetClientRect PROTO STDCALL :DWORD,:DWORD
GetCursorPos PROTO STDCALL :DWORD
GetDC PROTO STDCALL :DWORD
GetFocus PROTO STDCALL
GetKeyState PROTO STDCALL :DWORD

GetMessageA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  GetMessage equ <GetMessageA>
ENDIF

GetModuleHandleA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  GetModuleHandle equ <GetModuleHandleA>
ENDIF

GetPaletteEntries PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetPixelFormat PROTO STDCALL :DWORD
GetStockObject PROTO STDCALL :DWORD
GetSysColor PROTO STDCALL :DWORD
GetSystemMetrics PROTO STDCALL :DWORD

GetVersionExA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  GetVersionEx equ <GetVersionExA>
ENDIF

GetWindowRect PROTO STDCALL :DWORD,:DWORD
InvalidateRect PROTO STDCALL :DWORD,:DWORD,:DWORD

LoadCursorA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  LoadCursor equ <LoadCursorA>
ENDIF

LoadIconA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  LoadIcon equ <LoadIconA>
ENDIF

LocalAlloc PROTO STDCALL :DWORD,:DWORD
LocalFree PROTO STDCALL :DWORD
MapViewOfFile PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD

MessageBoxA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  MessageBox equ <MessageBoxA>
ENDIF

PeekMessageA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  PeekMessage equ <PeekMessageA>
ENDIF

PostMessageA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  PostMessage equ <PostMessageA>
ENDIF

PostQuitMessage PROTO STDCALL :DWORD
ReadFile PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
RealizePalette PROTO STDCALL :DWORD
RegCloseKey PROTO STDCALL :DWORD

RegOpenKeyExA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  RegOpenKeyEx equ <RegOpenKeyExA>
ENDIF

RegQueryValueExA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  RegQueryValueEx equ <RegQueryValueExA>
ENDIF

RegisterClassA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  RegisterClass equ <RegisterClassA>
ENDIF

RegisterClassW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  RegisterClass equ <RegisterClassW>
ENDIF

ReleaseCapture PROTO STDCALL
ReleaseDC PROTO STDCALL :DWORD,:DWORD
SelectObject PROTO STDCALL :DWORD,:DWORD
SelectPalette PROTO STDCALL :DWORD,:DWORD,:DWORD
SetCapture PROTO STDCALL :DWORD
SetDIBits PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SetFilePointer PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetPaletteEntries PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SetPixelFormat PROTO STDCALL :DWORD,:DWORD,:DWORD
SetSysColors PROTO STDCALL :DWORD,:DWORD,:DWORD
SetSystemPaletteUse PROTO STDCALL :DWORD,:DWORD
ShowWindow PROTO STDCALL :DWORD,:DWORD
Sleep PROTO STDCALL :DWORD
SwapBuffers PROTO STDCALL :DWORD
TranslateMessage PROTO STDCALL :DWORD
UnmapViewOfFile PROTO STDCALL :DWORD
UnrealizeObject PROTO STDCALL :DWORD
glBegin PROTO STDCALL :DWORD
glBitmap PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
glCallList PROTO STDCALL :DWORD
glCallLists PROTO STDCALL :DWORD,:DWORD,:DWORD
glClearColor PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
glClearIndex PROTO STDCALL :DWORD
glDisable PROTO STDCALL :DWORD
glDrawBuffer PROTO STDCALL :DWORD
glEnable PROTO STDCALL :DWORD
glEnd PROTO STDCALL
glEndList PROTO STDCALL
glEvalMesh2 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
glGenLists PROTO STDCALL :DWORD
glIsList PROTO STDCALL :DWORD
glListBase PROTO STDCALL :DWORD
glLoadIdentity PROTO STDCALL
glMap2f PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
glMapGrid2f PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
glMatrixMode PROTO STDCALL :DWORD
glNewList PROTO STDCALL :DWORD,:DWORD
glNormal3dv PROTO STDCALL :DWORD
glOrtho PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
glPixelStorei PROTO STDCALL :DWORD,:DWORD
glPopAttrib PROTO STDCALL
glPopMatrix PROTO STDCALL
glPushAttrib PROTO STDCALL :DWORD
glPushMatrix PROTO STDCALL
glRotatef PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
glScalef PROTO STDCALL :DWORD,:DWORD,:DWORD
glTranslatef PROTO STDCALL :DWORD,:DWORD,:DWORD
glVertex2f PROTO STDCALL :DWORD,:DWORD
glVertex3dv PROTO STDCALL :DWORD
glViewport PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
wglCreateContext PROTO STDCALL :DWORD
wglDeleteContext PROTO STDCALL :DWORD
wglMakeCurrent PROTO STDCALL :DWORD,:DWORD
  ; wsprintfA arg type unknown

ELSE
  echo ----------------------------------------
  echo WARNING duplicate include file glaux.inc
  echo ----------------------------------------
ENDIF
