Lines Matching refs:mi
303 MONITORINFO mi; in ImplSalGetWorkArea() local
309 mi.cbSize = sizeof(mi); in ImplSalGetWorkArea()
310 GetMonitorInfo(hMonitor, &mi); in ImplSalGetWorkArea()
312 *pRect = mi.rcWork; in ImplSalGetWorkArea()
314 *pRect = mi.rcMonitor; in ImplSalGetWorkArea()
4778 MENUITEMINFOW mi; in ImplGetSalMenuItem() local
4779 memset(&mi, 0, sizeof(mi)); in ImplGetSalMenuItem()
4780 mi.cbSize = sizeof( mi ); in ImplGetSalMenuItem()
4781 mi.fMask = MIIM_DATA; in ImplGetSalMenuItem()
4782 if( !GetMenuItemInfoW( hMenu, nPos, bByPosition, &mi) ) in ImplGetSalMenuItem()
4785 return (WinSalMenuItem *) mi.dwItemData; in ImplGetSalMenuItem()
4793 MENUITEMINFOW mi; in ImplGetSelectedIndex() local
4794 memset(&mi, 0, sizeof(mi)); in ImplGetSelectedIndex()
4795 mi.cbSize = sizeof( mi ); in ImplGetSelectedIndex()
4796 mi.fMask = MIIM_STATE; in ImplGetSelectedIndex()
4802 if( !GetMenuItemInfoW( hMenu, i, TRUE, &mi) ) in ImplGetSelectedIndex()
4806 if( mi.fState & MFS_HILITE ) in ImplGetSelectedIndex()
5151 MENUITEMINFOW mi; in ImplHandleMenuSelect() local
5152 memset(&mi, 0, sizeof(mi)); in ImplHandleMenuSelect()
5153 mi.cbSize = sizeof( mi ); in ImplHandleMenuSelect()
5154 mi.fMask = MIIM_ID; in ImplHandleMenuSelect()
5155 if( GetMenuItemInfoW( hMenu, LOWORD(wParam), TRUE, &mi) ) in ImplHandleMenuSelect()
5156 nId = sal::static_int_cast<WORD>(mi.wID); in ImplHandleMenuSelect()