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

IFNDEF COMCTL32_INC
COMCTL32_INC equ <1>

AddMRUStringW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  AddMRUString equ <AddMRUStringW>
ENDIF

CreateMRUListW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  CreateMRUList equ <CreateMRUListW>
ENDIF

CreateMappedBitmap PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD

CreatePropertySheetPageA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  CreatePropertySheetPage equ <CreatePropertySheetPageA>
ENDIF

CreatePropertySheetPageW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  CreatePropertySheetPage equ <CreatePropertySheetPageW>
ENDIF


CreateStatusWindowA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  CreateStatusWindow equ <CreateStatusWindowA>
ENDIF

CreateStatusWindowW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  CreateStatusWindow equ <CreateStatusWindowW>
ENDIF

CreateToolbarEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateUpDownControl PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DPA_DeleteAllPtrs PROTO STDCALL :DWORD
DPA_DeletePtr PROTO STDCALL :DWORD,:DWORD
DPA_DestroyCallback PROTO STDCALL :DWORD,:DWORD,:DWORD
DPA_EnumCallback PROTO STDCALL :DWORD,:DWORD,:DWORD
DPA_InsertPtr PROTO STDCALL :DWORD,:DWORD,:DWORD
DPA_Search PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DPA_SetPtr PROTO STDCALL :DWORD,:DWORD,:DWORD
DPA_Sort PROTO STDCALL :DWORD,:DWORD,:DWORD
DSA_Create PROTO STDCALL :DWORD,:DWORD
DSA_Destroy PROTO STDCALL :DWORD
DSA_DestroyCallback PROTO STDCALL :DWORD,:DWORD,:DWORD
DSA_GetItemPtr PROTO STDCALL :DWORD,:DWORD
DSA_InsertItem PROTO STDCALL :DWORD,:DWORD,:DWORD
DefSubclassProc PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
DestroyPropertySheetPage PROTO STDCALL :DWORD
DrawInsert PROTO STDCALL :DWORD,:DWORD,:DWORD
DrawShadowText PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

DrawStatusTextA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  DrawStatusText equ <DrawStatusTextA>
ENDIF

DrawStatusTextW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  DrawStatusText equ <DrawStatusTextW>
ENDIF

EnumMRUListW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  EnumMRUList equ <EnumMRUListW>
ENDIF

FlatSB_EnableScrollBar PROTO STDCALL :DWORD,:DWORD,:DWORD
FlatSB_GetScrollInfo PROTO STDCALL :DWORD,:DWORD,:DWORD
FlatSB_GetScrollPos PROTO STDCALL :DWORD,:DWORD
FlatSB_GetScrollProp PROTO STDCALL :DWORD,:DWORD,:DWORD
FlatSB_GetScrollRange PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
FlatSB_SetScrollInfo PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
FlatSB_SetScrollPos PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
FlatSB_SetScrollProp PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
FlatSB_SetScrollRange PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FlatSB_ShowScrollBar PROTO STDCALL :DWORD,:DWORD,:DWORD
FreeMRUList PROTO STDCALL :DWORD
GetEffectiveClientRect PROTO STDCALL :DWORD,:DWORD,:DWORD
GetMUILanguage PROTO STDCALL
GetWindowSubclass PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
HIMAGELIST_QueryInterface PROTO STDCALL :DWORD,:DWORD,:DWORD
ImageList_Add PROTO STDCALL :DWORD,:DWORD,:DWORD
ImageList_AddIcon PROTO STDCALL :DWORD,:DWORD
ImageList_AddMasked PROTO STDCALL :DWORD,:DWORD,:DWORD
ImageList_BeginDrag PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
ImageList_Copy PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ImageList_Create PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ImageList_Destroy PROTO STDCALL :DWORD
ImageList_DragEnter PROTO STDCALL :DWORD,:DWORD,:DWORD
ImageList_DragLeave PROTO STDCALL :DWORD
ImageList_DragMove PROTO STDCALL :DWORD,:DWORD
ImageList_DragShowNolock PROTO STDCALL :DWORD
ImageList_Draw PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ImageList_DrawEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ImageList_DrawIndirect PROTO STDCALL :DWORD
ImageList_Duplicate PROTO STDCALL :DWORD
ImageList_EndDrag PROTO STDCALL
ImageList_GetBkColor PROTO STDCALL :DWORD
ImageList_GetDragImage PROTO STDCALL :DWORD,:DWORD
ImageList_GetIcon PROTO STDCALL :DWORD,:DWORD,:DWORD
ImageList_GetIconSize PROTO STDCALL :DWORD,:DWORD,:DWORD
ImageList_GetImageCount PROTO STDCALL :DWORD
ImageList_GetImageInfo PROTO STDCALL :DWORD,:DWORD,:DWORD
ImageList_GetImageRect PROTO STDCALL :DWORD,:DWORD,:DWORD

ImageList_LoadImageA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  ImageList_LoadImage equ <ImageList_LoadImageA>
ENDIF

ImageList_LoadImageW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  ImageList_LoadImage equ <ImageList_LoadImageW>
ENDIF

ImageList_Merge PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ImageList_Read PROTO STDCALL :DWORD
ImageList_ReadEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
ImageList_Remove PROTO STDCALL :DWORD,:DWORD
ImageList_Replace PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
ImageList_ReplaceIcon PROTO STDCALL :DWORD,:DWORD,:DWORD
ImageList_SetBkColor PROTO STDCALL :DWORD,:DWORD
ImageList_SetDragCursorImage PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
ImageList_SetFilter PROTO STDCALL :DWORD,:DWORD,:DWORD
ImageList_SetFlags PROTO STDCALL :DWORD,:DWORD
ImageList_SetIconSize PROTO STDCALL :DWORD,:DWORD,:DWORD
ImageList_SetImageCount PROTO STDCALL :DWORD,:DWORD
ImageList_SetOverlayImage PROTO STDCALL :DWORD,:DWORD,:DWORD
ImageList_Write PROTO STDCALL :DWORD,:DWORD
ImageList_WriteEx PROTO STDCALL :DWORD,:DWORD,:DWORD
InitCommonControls PROTO STDCALL
InitCommonControlsEx PROTO STDCALL :DWORD
InitMUILanguage PROTO STDCALL :DWORD
InitializeFlatSB PROTO STDCALL :DWORD
LBItemFromPt PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
MakeDragList PROTO STDCALL :DWORD
MenuHelp PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

PropertySheetA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  PropertySheet equ <PropertySheetA>
ENDIF

PropertySheetW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  PropertySheet equ <PropertySheetW>
ENDIF

RegisterClassNameW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  RegisterClassName equ <RegisterClassNameW>
ENDIF

RemoveWindowSubclass PROTO STDCALL :DWORD,:DWORD,:DWORD
SetWindowSubclass PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
ShowHideMenuCtl PROTO STDCALL :DWORD,:DWORD,:DWORD

Str_SetPtrW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  Str_SetPtr equ <Str_SetPtrW>
ENDIF

UninitializeFlatSB PROTO STDCALL :DWORD
_TrackMouseEvent PROTO STDCALL :DWORD

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