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

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

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