* @param state
* the state of the specified appbar
* @return the result if set appbar state successfully
*/
public static int setAppBarState(int handle, int state) {
APPBARDATA appBarData = new APPBARDATA();
appBarData.lParam = state;
appBarData.hWnd = handle;
return Extension.SHAppBarMessage(Win32.AMB_SETSTATE, appBarData);
}