%ifndef INCLUDED_COMCTL32_INC
%define INCLUDED_COMCTL32_INC

;
; COMCTL32 API definitions for NASM.
;
; (C) G-RoM in 1999

Extern _CreateMappedBitmap@20
Extern _CreatePropertySheetPage@4
Extern _CreatePropertySheetPageA@4
Extern _CreatePropertySheetPageW@4
Extern _CreateStatusWindow@16
Extern _CreateStatusWindowA@16
Extern _CreateStatusWindowW@16
Extern _CreateToolbar@32
Extern _CreateToolbarEx@52
Extern _CreateUpDownControl@48
Extern _DestroyPropertySheetPage@4
Extern _DrawInsert@12
Extern _DrawStatusText@16
Extern _DrawStatusTextA@16
Extern _DrawStatusTextW@16
Extern _GetEffectiveClientRect@12
Extern _ImageList_Add@12
Extern _ImageList_AddIcon@8
Extern _ImageList_AddMasked@12
Extern _ImageList_BeginDrag@16
Extern _ImageList_Copy@20
Extern _ImageList_Create@20
Extern _ImageList_Destroy@4
Extern _ImageList_DragEnter@12
Extern _ImageList_DragLeave@4
Extern _ImageList_DragMove@8
Extern _ImageList_DragShowNolock@4
Extern _ImageList_Draw@24
Extern _ImageList_DrawEx@40
Extern _ImageList_EndDrag@0
Extern _ImageList_GetBkColor@4
Extern _ImageList_GetDragImage@8
Extern _ImageList_GetIcon@12
Extern _ImageList_GetIconSize@12
Extern _ImageList_GetImageCount@4
Extern _ImageList_GetImageInfo@12
Extern _ImageList_GetImageRect@12
Extern _ImageList_LoadImage@28
Extern _ImageList_LoadImageA@28
Extern _ImageList_LoadImageW@28
Extern _ImageList_Merge@24
Extern _ImageList_Read@4
Extern _ImageList_Remove@8
Extern _ImageList_Replace@16
Extern _ImageList_ReplaceIcon@12
Extern _ImageList_SetBkColor@8
Extern _ImageList_SetDragCursorImage@16
Extern _ImageList_SetFilter@12
Extern _ImageList_SetIconSize@12
Extern _ImageList_SetImageCount@8
Extern _ImageList_SetOverlayImage@12
Extern _ImageList_Write@8
Extern _InitCommonControls@0
Extern _InitCommonControlsEx@4
Extern _LBItemFromPt@16
Extern _MakeDragList@4
Extern _MenuHelp@28
Extern _PropertySheet@4
Extern _PropertySheetA@4
Extern _PropertySheetW@4
Extern _ShowHideMenuCtl@12
;Extern __TrackMouseEvent@4

CreateMappedBitmap                   EQU _CreateMappedBitmap@20
CreatePropertySheetPage              EQU _CreatePropertySheetPage@4
CreatePropertySheetPageA             EQU _CreatePropertySheetPageA@4
CreatePropertySheetPageW             EQU _CreatePropertySheetPageW@4
CreateStatusWindow                   EQU _CreateStatusWindow@16
CreateStatusWindowA                  EQU _CreateStatusWindowA@16
CreateStatusWindowW                  EQU _CreateStatusWindowW@16
CreateToolbar                        EQU _CreateToolbar@32
CreateToolbarEx                      EQU _CreateToolbarEx@52
CreateUpDownControl                  EQU _CreateUpDownControl@48
DestroyPropertySheetPage             EQU _DestroyPropertySheetPage@4
DrawInsert                           EQU _DrawInsert@12
DrawStatusText                       EQU _DrawStatusText@16
DrawStatusTextA                      EQU _DrawStatusTextA@16
DrawStatusTextW                      EQU _DrawStatusTextW@16
GetEffectiveClientRect               EQU _GetEffectiveClientRect@12
ImageList_Add                        EQU _ImageList_Add@12
ImageList_AddIcon                    EQU _ImageList_AddIcon@8
ImageList_AddMasked                  EQU _ImageList_AddMasked@12
ImageList_BeginDrag                  EQU _ImageList_BeginDrag@16
ImageList_Copy                       EQU _ImageList_Copy@20
ImageList_Create                     EQU _ImageList_Create@20
ImageList_Destroy                    EQU _ImageList_Destroy@4
ImageList_DragEnter                  EQU _ImageList_DragEnter@12
ImageList_DragLeave                  EQU _ImageList_DragLeave@4
ImageList_DragMove                   EQU _ImageList_DragMove@8
ImageList_DragShowNolock             EQU _ImageList_DragShowNolock@4
ImageList_Draw                       EQU _ImageList_Draw@24
ImageList_DrawEx                     EQU _ImageList_DrawEx@40
ImageList_EndDrag                    EQU _ImageList_EndDrag@0
ImageList_GetBkColor                 EQU _ImageList_GetBkColor@4
ImageList_GetDragImage               EQU _ImageList_GetDragImage@8
ImageList_GetIcon                    EQU _ImageList_GetIcon@12
ImageList_GetIconSize                EQU _ImageList_GetIconSize@12
ImageList_GetImageCount              EQU _ImageList_GetImageCount@4
ImageList_GetImageInfo               EQU _ImageList_GetImageInfo@12
ImageList_GetImageRect               EQU _ImageList_GetImageRect@12
ImageList_LoadImage                  EQU _ImageList_LoadImage@28
ImageList_LoadImageA                 EQU _ImageList_LoadImageA@28
ImageList_LoadImageW                 EQU _ImageList_LoadImageW@28
ImageList_Merge                      EQU _ImageList_Merge@24
ImageList_Read                       EQU _ImageList_Read@4
ImageList_Remove                     EQU _ImageList_Remove@8
ImageList_Replace                    EQU _ImageList_Replace@16
ImageList_ReplaceIcon                EQU _ImageList_ReplaceIcon@12
ImageList_SetBkColor                 EQU _ImageList_SetBkColor@8
ImageList_SetDragCursorImage         EQU _ImageList_SetDragCursorImage@16
ImageList_SetFilter                  EQU _ImageList_SetFilter@12
ImageList_SetIconSize                EQU _ImageList_SetIconSize@12
ImageList_SetImageCount              EQU _ImageList_SetImageCount@8
ImageList_SetOverlayImage            EQU _ImageList_SetOverlayImage@12
ImageList_Write                      EQU _ImageList_Write@8
InitCommonControls                   EQU _InitCommonControls@0
InitCommonControlsEx                 EQU _InitCommonControlsEx@4
LBItemFromPt                         EQU _LBItemFromPt@16
MakeDragList                         EQU _MakeDragList@4
MenuHelp                             EQU _MenuHelp@28
PropertySheet                        EQU _PropertySheet@4
PropertySheetA                       EQU _PropertySheetA@4
PropertySheetW                       EQU _PropertySheetW@4
ShowHideMenuCtl                      EQU _ShowHideMenuCtl@12
;_TrackMouseEvent                     EQU __TrackMouseEvent@4

%endif