Searched refs:BoolToBOOL (Results 1 – 15 of 15) sorted by relevance
/external/lzma/CPP/Windows/ |
D | Synchronization.h | 30 _object = ::CreateEvent(sa, BoolToBOOL(manualReset), BoolToBOOL(initiallyOwn), name); 37 _object = ::OpenEvent(desiredAccess, BoolToBOOL(inheritHandle), name); in Open() 98 _handle = ::CreateMutex(sa, BoolToBOOL(initiallyOwn), name); 106 _handle = ::OpenMutex(desiredAccess, BoolToBOOL(inheritHandle), name); in Open()
|
D | Window.h | 133 { return BOOLToBool(::MoveWindow(_window, x, y, width, height, BoolToBOOL(repaint))); } 172 { return BOOLToBool(::InvalidateRect(_window, rect, BoolToBOOL(backgroundErase))); } 173 void SetRedraw(bool redraw = true) { SendMessage(WM_SETREDRAW, BoolToBOOL(redraw), 0); } 258 { return BOOLToBool(::EnableWindow(_window, BoolToBOOL(enable))); } in Enable() 265 { return ::GetSystemMenu(_window, BoolToBOOL(revert)); } in GetSystemMenu()
|
D | Defs.h | 11 inline BOOL BoolToBOOL(bool v) { return (v ? TRUE: FALSE); } in BoolToBOOL() function
|
D | FileFind.cpp | 503 _handle = ::FindFirstChangeNotification(fs2fas(path), BoolToBOOL(watchSubtree), notifyFilter); in FindFirst() 508 _handle = ::FindFirstChangeNotificationW(fs2us(path), BoolToBOOL(watchSubtree), notifyFilter); in FindFirst() 514 _handle = ::FindFirstChangeNotificationW(longPath, BoolToBOOL(watchSubtree), notifyFilter); in FindFirst()
|
D | SecurityUtils.h | 45 { return BOOLToBool(::AdjustTokenPrivileges(_handle, BoolToBOOL(disableAllPrivileges), in AdjustPrivileges()
|
/external/lzma/CPP/Windows/Control/ |
D | Dialog.h | 21 { return BOOLToBool(::EnableWindow(GetItem(itemID), BoolToBOOL(enable))); } in EnableItem() 55 { return BOOLToBool(SetDlgItemInt(_window, itemID, value, BoolToBOOL(isSigned))); } in SetItemInt() 59 value = GetDlgItemInt(_window, itemID, &result, BoolToBOOL(isSigned)); in GetItemInt() 64 { return GetNextDlgGroupItem(_window, control, BoolToBOOL(previous)); } in GetNextGroupItem() 66 { return GetNextDlgTabItem(_window, control, BoolToBOOL(previous)); } in GetNextTabItem()
|
D | Trackbar.h | 16 { SendMessage(TBM_SETRANGE, BoolToBOOL(redraw), MAKELONG(minimum, maximum)); } 18 { SendMessage(TBM_SETPOS, BoolToBOOL(redraw), pos); }
|
D | PropertyPage.cpp | 29 try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); } in MyProperyPageProcedure() 38 case PSN_KILLACTIVE: SetMsgResult(BoolToBOOL(OnKillActive(LPPSHNOTIFY(lParam)))); break; in OnNotify()
|
D | ReBar.h | 21 { SendMessage(RB_MAXIMIZEBAND, index, BoolToBOOL(ideal)); } in MaximizeBand()
|
D | ListView.h | 89 …te(UINT index, bool checkState) { ListView_SetCheckState(_window, index, BoolToBOOL(checkState)); } in SetCheckState() 92 …ol partialOK) { return BOOLToBool(ListView_EnsureVisible(_window, index, BoolToBOOL(partialOK))); } in EnsureVisible()
|
D | ProgressBar.h | 21 …INT GetRange(bool minValue, PPBRANGE range) { return (INT)SendMessage(PBM_GETRANGE, BoolToBOOL(min… in GetRange()
|
D | ToolBar.h | 32 … { return LRESULTToBool(SendMessage(TB_ENABLEBUTTON, buttonID, MAKELONG(BoolToBOOL(enable), 0))); } in EnableButton()
|
D | StatusBar.h | 37 { SendMessage(SB_SIMPLE, BoolToBOOL(simple), 0); } in Simple()
|
D | Dialog.cpp | 29 try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); } in DialogProcedure() 149 return BOOLToBool(::MoveWindow(GetItem(id), x, y, width, height, BoolToBOOL(repaint))); in MoveItem()
|
D | CommandBar.h | 37 bool Show(bool cmdShow) { return BOOLToBool(::CommandBar_Show(_window, BoolToBOOL(cmdShow))); } in Show()
|