### commctrl.h ###

DISPLAY_DEVICE_TYPE=typedef
typedef.DISPLAY_DEVICE_TYPE=int

MONITOR_DPI_TYPE=typedef
typedef.MONITOR_DPI_TYPE=int

PROCESS_DPI_AWARENESS=typedef
typedef.PROCESS_DPI_AWARENESS=int

SCALE_CHANGE_FLAGS=typedef
typedef.SCALE_CHANGE_FLAGS=int

SHELL_UI_COMPONENT=typedef
typedef.SHELL_UI_COMPONENT=int



CreateMappedBitmap=func
func.CreateMappedBitmap.args=5
func.CreateMappedBitmap.arg.0=HINSTANCE,hInstance
func.CreateMappedBitmap.arg.1=INT_PTR,idBitmap
func.CreateMappedBitmap.arg.2=UINT,wFlags
func.CreateMappedBitmap.arg.3=LPCOLORMAP,lpColorMap
func.CreateMappedBitmap.arg.4=int,iNumMaps
func.CreateMappedBitmap.ret=HBITMAP

CreateStatusWindowA=func
func.CreateStatusWindowA.args=4
func.CreateStatusWindowA.arg.0=LONG,style
func.CreateStatusWindowA.arg.1=LPCSTR,lpszText
func.CreateStatusWindowA.arg.2=HWND,hwndParent
func.CreateStatusWindowA.arg.3=UINT,wID
func.CreateStatusWindowA.ret=HWND

CreateStatusWindowW=func
func.CreateStatusWindowW.args=4
func.CreateStatusWindowW.arg.0=LONG,style
func.CreateStatusWindowW.arg.1=LPCWSTR,lpszText
func.CreateStatusWindowW.arg.2=HWND,hwndParent
func.CreateStatusWindowW.arg.3=UINT,wID
func.CreateStatusWindowW.ret=HWND

CreateToolbarEx=func
func.CreateToolbarEx.args=13
func.CreateToolbarEx.arg.0=HWND,hwnd
func.CreateToolbarEx.arg.1=DWORD,ws
func.CreateToolbarEx.arg.2=UINT,wID
func.CreateToolbarEx.arg.3=int,nBitmaps
func.CreateToolbarEx.arg.4=HINSTANCE,hBMInst
func.CreateToolbarEx.arg.5=UINT_PTR,wBMID
func.CreateToolbarEx.arg.6=LPCTBBUTTON,lpButtons
func.CreateToolbarEx.arg.7=int,iNumButtons
func.CreateToolbarEx.arg.8=int,dxButton
func.CreateToolbarEx.arg.9=int,dyButton
func.CreateToolbarEx.arg.10=int,dxBitmap
func.CreateToolbarEx.arg.11=int,dyBitmap
func.CreateToolbarEx.arg.12=UINT,uStructSize
func.CreateToolbarEx.ret=HWND

CreateUpDownControl=func
func.CreateUpDownControl.args=12
func.CreateUpDownControl.arg.0=DWORD,dwStyle
func.CreateUpDownControl.arg.1=int,x
func.CreateUpDownControl.arg.2=int,y
func.CreateUpDownControl.arg.3=int,cx
func.CreateUpDownControl.arg.4=int,cy
func.CreateUpDownControl.arg.5=HWND,hParent
func.CreateUpDownControl.arg.6=int,nID
func.CreateUpDownControl.arg.7=HINSTANCE,hInst
func.CreateUpDownControl.arg.8=HWND,hBuddy
func.CreateUpDownControl.arg.9=int,nUpper
func.CreateUpDownControl.arg.10=int,nLower
func.CreateUpDownControl.arg.11=int,nPos
func.CreateUpDownControl.ret=HWND

DrawInsert=func
func.DrawInsert.args=3
func.DrawInsert.arg.0=HWND,handParent
func.DrawInsert.arg.1=HWND,hLB
func.DrawInsert.arg.2=int,nItem
func.DrawInsert.ret=void

DrawStatusTextA=func
func.DrawStatusTextA.args=4
func.DrawStatusTextA.arg.0=HDC,hDC
func.DrawStatusTextA.arg.1=LPCRECT,lprc
func.DrawStatusTextA.arg.2=LPCSTR,pszText
func.DrawStatusTextA.arg.3=UINT,uFlags
func.DrawStatusTextA.ret=void

DrawStatusTextW=func
func.DrawStatusTextW.args=4
func.DrawStatusTextW.arg.0=HDC,hDC
func.DrawStatusTextW.arg.1=LPCRECT,lprc
func.DrawStatusTextW.arg.2=LPCWSTR,pszText
func.DrawStatusTextW.arg.3=UINT,uFlags
func.DrawStatusTextW.ret=void

FlatSB_EnableScrollBar=func
func.FlatSB_EnableScrollBar.args=3
func.FlatSB_EnableScrollBar.arg.0=HWND,ARG_0
func.FlatSB_EnableScrollBar.arg.1=int,ARG_1
func.FlatSB_EnableScrollBar.arg.2=UINT,ARG_2
func.FlatSB_EnableScrollBar.ret=BOOL

FlatSB_GetScrollInfo=func
func.FlatSB_GetScrollInfo.args=3
func.FlatSB_GetScrollInfo.arg.0=HWND,ARG_0
func.FlatSB_GetScrollInfo.arg.1=int,code
func.FlatSB_GetScrollInfo.arg.2=LPSCROLLINFO,ARG_2
func.FlatSB_GetScrollInfo.ret=BOOL

FlatSB_GetScrollPos=func
func.FlatSB_GetScrollPos.args=2
func.FlatSB_GetScrollPos.arg.0=HWND,ARG_0
func.FlatSB_GetScrollPos.arg.1=int,code
func.FlatSB_GetScrollPos.ret=int

FlatSB_GetScrollProp=func
func.FlatSB_GetScrollProp.args=3
func.FlatSB_GetScrollProp.arg.0=HWND,ARG_0
func.FlatSB_GetScrollProp.arg.1=int,propIndex
func.FlatSB_GetScrollProp.arg.2=LPINT,ARG_2
func.FlatSB_GetScrollProp.ret=BOOL

FlatSB_GetScrollPropPtr=func
func.FlatSB_GetScrollPropPtr.args=3
func.FlatSB_GetScrollPropPtr.arg.0=HWND,ARG_0
func.FlatSB_GetScrollPropPtr.arg.1=int,propIndex
func.FlatSB_GetScrollPropPtr.arg.2=PINT_PTR,ARG_2
func.FlatSB_GetScrollPropPtr.ret=BOOL

FlatSB_GetScrollRange=func
func.FlatSB_GetScrollRange.args=4
func.FlatSB_GetScrollRange.arg.0=HWND,ARG_0
func.FlatSB_GetScrollRange.arg.1=int,code
func.FlatSB_GetScrollRange.arg.2=LPINT,ARG_2
func.FlatSB_GetScrollRange.arg.3=LPINT,ARG_3
func.FlatSB_GetScrollRange.ret=BOOL

FlatSB_SetScrollInfo=func
func.FlatSB_SetScrollInfo.args=4
func.FlatSB_SetScrollInfo.arg.0=HWND,ARG_0
func.FlatSB_SetScrollInfo.arg.1=int,code
func.FlatSB_SetScrollInfo.arg.2=LPSCROLLINFO,psi
func.FlatSB_SetScrollInfo.arg.3=BOOL,fRedraw
func.FlatSB_SetScrollInfo.ret=int

FlatSB_SetScrollPos=func
func.FlatSB_SetScrollPos.args=4
func.FlatSB_SetScrollPos.arg.0=HWND,ARG_0
func.FlatSB_SetScrollPos.arg.1=int,code
func.FlatSB_SetScrollPos.arg.2=int,pos
func.FlatSB_SetScrollPos.arg.3=BOOL,fRedraw
func.FlatSB_SetScrollPos.ret=int

FlatSB_SetScrollProp=func
func.FlatSB_SetScrollProp.args=4
func.FlatSB_SetScrollProp.arg.0=HWND,ARG_0
func.FlatSB_SetScrollProp.arg.1=UINT,index
func.FlatSB_SetScrollProp.arg.2=INT_PTR,newValue
func.FlatSB_SetScrollProp.arg.3=BOOL,ARG_3
func.FlatSB_SetScrollProp.ret=BOOL

FlatSB_SetScrollRange=func
func.FlatSB_SetScrollRange.args=5
func.FlatSB_SetScrollRange.arg.0=HWND,ARG_0
func.FlatSB_SetScrollRange.arg.1=int,code
func.FlatSB_SetScrollRange.arg.2=int,min
func.FlatSB_SetScrollRange.arg.3=int,max
func.FlatSB_SetScrollRange.arg.4=BOOL,fRedraw
func.FlatSB_SetScrollRange.ret=int

FlatSB_ShowScrollBar=func
func.FlatSB_ShowScrollBar.args=3
func.FlatSB_ShowScrollBar.arg.0=HWND,ARG_0
func.FlatSB_ShowScrollBar.arg.1=int,code
func.FlatSB_ShowScrollBar.arg.2=BOOL,ARG_2
func.FlatSB_ShowScrollBar.ret=BOOL

GetEffectiveClientRect=func
func.GetEffectiveClientRect.args=3
func.GetEffectiveClientRect.arg.0=HWND,hWnd
func.GetEffectiveClientRect.arg.1=LPRECT,lprc
func.GetEffectiveClientRect.arg.2=const INT *,lpInfo
func.GetEffectiveClientRect.ret=void

HIMAGELIST_QueryInterface=func
func.HIMAGELIST_QueryInterface.args=3
func.HIMAGELIST_QueryInterface.arg.0=HIMAGELIST,himl
func.HIMAGELIST_QueryInterface.arg.1=REFIID,riid
func.HIMAGELIST_QueryInterface.arg.2=void **,ppv
func.HIMAGELIST_QueryInterface.ret=HRESULT

ImageList_Add=func
func.ImageList_Add.args=3
func.ImageList_Add.arg.0=HIMAGELIST,himl
func.ImageList_Add.arg.1=HBITMAP,hbmImage
func.ImageList_Add.arg.2=HBITMAP,hbmMask
func.ImageList_Add.ret=int

ImageList_AddMasked=func
func.ImageList_AddMasked.args=3
func.ImageList_AddMasked.arg.0=HIMAGELIST,himl
func.ImageList_AddMasked.arg.1=HBITMAP,hbmImage
func.ImageList_AddMasked.arg.2=COLORREF,crMask
func.ImageList_AddMasked.ret=int

ImageList_BeginDrag=func
func.ImageList_BeginDrag.args=4
func.ImageList_BeginDrag.arg.0=HIMAGELIST,himlTrack
func.ImageList_BeginDrag.arg.1=int,iTrack
func.ImageList_BeginDrag.arg.2=int,dxHotspot
func.ImageList_BeginDrag.arg.3=int,dyHotspot
func.ImageList_BeginDrag.ret=BOOL

ImageList_Copy=func
func.ImageList_Copy.args=5
func.ImageList_Copy.arg.0=HIMAGELIST,himlDst
func.ImageList_Copy.arg.1=int,iDst
func.ImageList_Copy.arg.2=HIMAGELIST,himlSrc
func.ImageList_Copy.arg.3=int,iSrc
func.ImageList_Copy.arg.4=UINT,uFlags
func.ImageList_Copy.ret=BOOL

ImageList_Create=func
func.ImageList_Create.args=5
func.ImageList_Create.arg.0=int,cx
func.ImageList_Create.arg.1=int,cy
func.ImageList_Create.arg.2=UINT,flags
func.ImageList_Create.arg.3=int,cInitial
func.ImageList_Create.arg.4=int,cGrow
func.ImageList_Create.ret=HIMAGELIST

ImageList_Destroy=func
func.ImageList_Destroy.args=1
func.ImageList_Destroy.arg.0=HIMAGELIST,himl
func.ImageList_Destroy.ret=BOOL

ImageList_DragEnter=func
func.ImageList_DragEnter.args=3
func.ImageList_DragEnter.arg.0=HWND,hwndLock
func.ImageList_DragEnter.arg.1=int,x
func.ImageList_DragEnter.arg.2=int,y
func.ImageList_DragEnter.ret=BOOL

ImageList_DragLeave=func
func.ImageList_DragLeave.args=1
func.ImageList_DragLeave.arg.0=HWND,hwndLock
func.ImageList_DragLeave.ret=BOOL

ImageList_DragMove=func
func.ImageList_DragMove.args=2
func.ImageList_DragMove.arg.0=int,x
func.ImageList_DragMove.arg.1=int,y
func.ImageList_DragMove.ret=BOOL

ImageList_DragShowNolock=func
func.ImageList_DragShowNolock.args=1
func.ImageList_DragShowNolock.arg.0=BOOL,fShow
func.ImageList_DragShowNolock.ret=BOOL

ImageList_Draw=func
func.ImageList_Draw.args=6
func.ImageList_Draw.arg.0=HIMAGELIST,himl
func.ImageList_Draw.arg.1=int,i
func.ImageList_Draw.arg.2=HDC,hdcDst
func.ImageList_Draw.arg.3=int,x
func.ImageList_Draw.arg.4=int,y
func.ImageList_Draw.arg.5=UINT,fStyle
func.ImageList_Draw.ret=BOOL

ImageList_DrawEx=func
func.ImageList_DrawEx.args=10
func.ImageList_DrawEx.arg.0=HIMAGELIST,himl
func.ImageList_DrawEx.arg.1=int,i
func.ImageList_DrawEx.arg.2=HDC,hdcDst
func.ImageList_DrawEx.arg.3=int,x
func.ImageList_DrawEx.arg.4=int,y
func.ImageList_DrawEx.arg.5=int,dx
func.ImageList_DrawEx.arg.6=int,dy
func.ImageList_DrawEx.arg.7=COLORREF,rgbBk
func.ImageList_DrawEx.arg.8=COLORREF,rgbFg
func.ImageList_DrawEx.arg.9=UINT,fStyle
func.ImageList_DrawEx.ret=BOOL

ImageList_DrawIndirect=func
func.ImageList_DrawIndirect.args=1
func.ImageList_DrawIndirect.arg.0=IMAGELISTDRAWPARAMS *,pimldp
func.ImageList_DrawIndirect.ret=BOOL

ImageList_Duplicate=func
func.ImageList_Duplicate.args=1
func.ImageList_Duplicate.arg.0=HIMAGELIST,himl
func.ImageList_Duplicate.ret=HIMAGELIST

ImageList_EndDrag=func
func.ImageList_EndDrag.args=0
func.ImageList_EndDrag.ret=void

ImageList_GetBkColor=func
func.ImageList_GetBkColor.args=1
func.ImageList_GetBkColor.arg.0=HIMAGELIST,himl
func.ImageList_GetBkColor.ret=COLORREF

ImageList_GetIcon=func
func.ImageList_GetIcon.args=3
func.ImageList_GetIcon.arg.0=HIMAGELIST,himl
func.ImageList_GetIcon.arg.1=int,i
func.ImageList_GetIcon.arg.2=UINT,flags
func.ImageList_GetIcon.ret=HICON

ImageList_GetImageCount=func
func.ImageList_GetImageCount.args=1
func.ImageList_GetImageCount.arg.0=HIMAGELIST,himl
func.ImageList_GetImageCount.ret=int

ImageList_LoadImageA=func
func.ImageList_LoadImageA.args=7
func.ImageList_LoadImageA.arg.0=HINSTANCE,hi
func.ImageList_LoadImageA.arg.1=LPCSTR,lpbmp
func.ImageList_LoadImageA.arg.2=int,cx
func.ImageList_LoadImageA.arg.3=int,cGrow
func.ImageList_LoadImageA.arg.4=COLORREF,crMask
func.ImageList_LoadImageA.arg.5=UINT,uType
func.ImageList_LoadImageA.arg.6=UINT,uFlags
func.ImageList_LoadImageA.ret=HIMAGELIST

ImageList_LoadImageW=func
func.ImageList_LoadImageW.args=7
func.ImageList_LoadImageW.arg.0=HINSTANCE,hi
func.ImageList_LoadImageW.arg.1=LPCWSTR,lpbmp
func.ImageList_LoadImageW.arg.2=int,cx
func.ImageList_LoadImageW.arg.3=int,cGrow
func.ImageList_LoadImageW.arg.4=COLORREF,crMask
func.ImageList_LoadImageW.arg.5=UINT,uType
func.ImageList_LoadImageW.arg.6=UINT,uFlags
func.ImageList_LoadImageW.ret=HIMAGELIST

ImageList_Merge=func
func.ImageList_Merge.args=6
func.ImageList_Merge.arg.0=HIMAGELIST,himl1
func.ImageList_Merge.arg.1=int,i1
func.ImageList_Merge.arg.2=HIMAGELIST,himl2
func.ImageList_Merge.arg.3=int,i2
func.ImageList_Merge.arg.4=int,dx
func.ImageList_Merge.arg.5=int,dy
func.ImageList_Merge.ret=HIMAGELIST

ImageList_Read=func
func.ImageList_Read.args=1
func.ImageList_Read.arg.0=struct IStream *,pstm
func.ImageList_Read.ret=HIMAGELIST

ImageList_ReadEx=func
func.ImageList_ReadEx.args=4
func.ImageList_ReadEx.arg.0=DWORD,dwFlags
func.ImageList_ReadEx.arg.1=struct IStream *,pstm
func.ImageList_ReadEx.arg.2=REFIID,riid
func.ImageList_ReadEx.arg.3=PVOID *,ppv
func.ImageList_ReadEx.ret=HRESULT

ImageList_Remove=func
func.ImageList_Remove.args=2
func.ImageList_Remove.arg.0=HIMAGELIST,himl
func.ImageList_Remove.arg.1=int,i
func.ImageList_Remove.ret=BOOL

ImageList_Replace=func
func.ImageList_Replace.args=4
func.ImageList_Replace.arg.0=HIMAGELIST,himl
func.ImageList_Replace.arg.1=int,i
func.ImageList_Replace.arg.2=HBITMAP,hbmImage
func.ImageList_Replace.arg.3=HBITMAP,hbmMask
func.ImageList_Replace.ret=BOOL

ImageList_ReplaceIcon=func
func.ImageList_ReplaceIcon.args=3
func.ImageList_ReplaceIcon.arg.0=HIMAGELIST,himl
func.ImageList_ReplaceIcon.arg.1=int,i
func.ImageList_ReplaceIcon.arg.2=HICON,hicon
func.ImageList_ReplaceIcon.ret=int

ImageList_SetBkColor=func
func.ImageList_SetBkColor.args=2
func.ImageList_SetBkColor.arg.0=HIMAGELIST,himl
func.ImageList_SetBkColor.arg.1=COLORREF,clrBk
func.ImageList_SetBkColor.ret=COLORREF

ImageList_SetDragCursorImage=func
func.ImageList_SetDragCursorImage.args=4
func.ImageList_SetDragCursorImage.arg.0=HIMAGELIST,himlDrag
func.ImageList_SetDragCursorImage.arg.1=int,iDrag
func.ImageList_SetDragCursorImage.arg.2=int,dxHotspot
func.ImageList_SetDragCursorImage.arg.3=int,dyHotspot
func.ImageList_SetDragCursorImage.ret=BOOL

ImageList_SetImageCount=func
func.ImageList_SetImageCount.args=2
func.ImageList_SetImageCount.arg.0=HIMAGELIST,himl
func.ImageList_SetImageCount.arg.1=UINT,uNewCount
func.ImageList_SetImageCount.ret=BOOL

ImageList_SetOverlayImage=func
func.ImageList_SetOverlayImage.args=3
func.ImageList_SetOverlayImage.arg.0=HIMAGELIST,himl
func.ImageList_SetOverlayImage.arg.1=int,iImage
func.ImageList_SetOverlayImage.arg.2=int,iOverlay
func.ImageList_SetOverlayImage.ret=BOOL

ImageList_Write=func
func.ImageList_Write.args=2
func.ImageList_Write.arg.0=HIMAGELIST,himl
func.ImageList_Write.arg.1=struct IStream *,pstm
func.ImageList_Write.ret=BOOL

ImageList_WriteEx=func
func.ImageList_WriteEx.args=3
func.ImageList_WriteEx.arg.0=HIMAGELIST,himl
func.ImageList_WriteEx.arg.1=DWORD,dwFlags
func.ImageList_WriteEx.arg.2=struct IStream *,pstm
func.ImageList_WriteEx.ret=HRESULT

InitCommonControls=func
func.InitCommonControls.args=0
func.InitCommonControls.ret=void

InitCommonControlsEx=func
func.InitCommonControlsEx.args=1
func.InitCommonControlsEx.arg.0=const INITCOMMONCONTROLSEX *,picce
func.InitCommonControlsEx.ret=BOOL

InitializeFlatSB=func
func.InitializeFlatSB.args=1
func.InitializeFlatSB.arg.0=HWND,ARG_0
func.InitializeFlatSB.ret=BOOL

LBItemFromPt=func
func.LBItemFromPt.args=3
func.LBItemFromPt.arg.0=HWND,hLB
func.LBItemFromPt.arg.1=POINT,pt
func.LBItemFromPt.arg.2=BOOL,bAutoScroll
func.LBItemFromPt.ret=int

LoadIconMetric=func
func.LoadIconMetric.args=4
func.LoadIconMetric.arg.0=HINSTANCE,hinst
func.LoadIconMetric.arg.1=PCWSTR,pszName
func.LoadIconMetric.arg.2=int,lims
func.LoadIconMetric.arg.3=HICON *,phico
func.LoadIconMetric.ret=HRESULT

LoadIconWithScaleDown=func
func.LoadIconWithScaleDown.args=5
func.LoadIconWithScaleDown.arg.0=HINSTANCE,hinst
func.LoadIconWithScaleDown.arg.1=PCWSTR,pszName
func.LoadIconWithScaleDown.arg.2=int,cx
func.LoadIconWithScaleDown.arg.3=int,cy
func.LoadIconWithScaleDown.arg.4=HICON *,phico
func.LoadIconWithScaleDown.ret=HRESULT

MakeDragList=func
func.MakeDragList.args=1
func.MakeDragList.arg.0=HWND,hLB
func.MakeDragList.ret=BOOL

MenuHelp=func
func.MenuHelp.args=7
func.MenuHelp.arg.0=UINT,uMsg
func.MenuHelp.arg.1=WPARAM,wParam
func.MenuHelp.arg.2=LPARAM,lParam
func.MenuHelp.arg.3=HMENU,hMainMenu
func.MenuHelp.arg.4=HINSTANCE,hInst
func.MenuHelp.arg.5=HWND,hwndStatus
func.MenuHelp.arg.6=UINT *,lpwIDs
func.MenuHelp.ret=void

ShowHideMenuCtl=func
func.ShowHideMenuCtl.args=3
func.ShowHideMenuCtl.arg.0=HWND,hWnd
func.ShowHideMenuCtl.arg.1=UINT_PTR,uFlags
func.ShowHideMenuCtl.arg.2=LPINT,lpInfo
func.ShowHideMenuCtl.ret=BOOL

TaskDialog=func
func.TaskDialog.args=8
func.TaskDialog.arg.0=HWND,hwndOwner
func.TaskDialog.arg.1=HINSTANCE,hInstance
func.TaskDialog.arg.2=PCWSTR,pszWindowTitle
func.TaskDialog.arg.3=PCWSTR,pszMainInstruction
func.TaskDialog.arg.4=PCWSTR,pszContent
func.TaskDialog.arg.5=TASKDIALOG_COMMON_BUTTON_FLAGS,dwCommonButtons
func.TaskDialog.arg.6=PCWSTR,pszIcon
func.TaskDialog.arg.7=int *,pnButton
func.TaskDialog.ret=HRESULT

TaskDialogIndirect=func
func.TaskDialogIndirect.args=4
func.TaskDialogIndirect.arg.0=const TASKDIALOGCONFIG *,pTaskConfig
func.TaskDialogIndirect.arg.1=int *,pnButton
func.TaskDialogIndirect.arg.2=int *,pnRadioButton
func.TaskDialogIndirect.arg.3=BOOL *,pfVerificationFlagChecked
func.TaskDialogIndirect.ret=HRESULT

UninitializeFlatSB=func
func.UninitializeFlatSB.args=1
func.UninitializeFlatSB.arg.0=HWND,ARG_0
func.UninitializeFlatSB.ret=HRESULT

_TrackMouseEvent=func
func._TrackMouseEvent.args=1
func._TrackMouseEvent.arg.0=LPTRACKMOUSEEVENT,lpEventTrack
func._TrackMouseEvent.ret=BOOL
