namespace win.ui.ctrl.common;
//初始化windows通用控件库支持 

var ctrl =  { 
	INT dwSize = 8;
	INT dwICC;
}

::Comctl32 := ..raw.loadDll("Comctl32.dll");
/*intellisense(win.ui.ctrl.common)*/

InitCommonControls = Comctl32.api("InitCommonControls","void()","cdcel");
InitCommonControlsEx = Comctl32.api("InitCommonControlsEx", "INT(struct lpInitCtrls)");
initEx = function(icc){
	ctrl.dwICC = icc;
	InitCommonControlsEx( ctrl ) 
}
/*end intellisense*/
 

if( _STUDIO_INVOKED  )
    return;
    
InitCommonControls();

 