Home
last modified time | relevance | path

Searched refs:BoolToBOOL (Results 1 – 15 of 15) sorted by relevance

/external/lzma/CPP/Windows/
DSynchronization.h30 _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()
DWindow.h134 { return BOOLToBool(::MoveWindow(_window, x, y, width, height, BoolToBOOL(repaint))); }
173 { return BOOLToBool(::InvalidateRect(_window, rect, BoolToBOOL(backgroundErase))); }
174 void SetRedraw(bool redraw = true) { SendMsg(WM_SETREDRAW, BoolToBOOL(redraw), 0); }
259 { return BOOLToBool(::EnableWindow(_window, BoolToBOOL(enable))); } in Enable()
266 { return ::GetSystemMenu(_window, BoolToBOOL(revert)); } in GetSystemMenu()
DDefs.h11 inline BOOL BoolToBOOL(bool v) { return (v ? TRUE: FALSE); } in BoolToBOOL() function
DFileFind.cpp669 _handle = ::FindFirstChangeNotification(fs2fas(path), BoolToBOOL(watchSubtree), notifyFilter); in FindFirst()
674 _handle = ::FindFirstChangeNotificationW(fs2us(path), BoolToBOOL(watchSubtree), notifyFilter); in FindFirst()
680 _handle = ::FindFirstChangeNotificationW(superPath, BoolToBOOL(watchSubtree), notifyFilter); in FindFirst()
DSecurityUtils.h45 { return BOOLToBool(::AdjustTokenPrivileges(_handle, BoolToBOOL(disableAllPrivileges), in AdjustPrivileges()
/external/lzma/CPP/Windows/Control/
DDialog.h21 { 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()
DTrackbar.h15 { SendMsg(TBM_SETRANGE, BoolToBOOL(redraw), MAKELONG(minimum, maximum)); }
17 { SendMsg(TBM_SETPOS, BoolToBOOL(redraw), pos); }
DPropertyPage.cpp29 try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); } in MyProperyPageProcedure()
38 case PSN_KILLACTIVE: SetMsgResult(BoolToBOOL(OnKillActive(LPPSHNOTIFY(lParam)))); break; in OnNotify()
DListView.h103 …te(UINT index, bool checkState) { ListView_SetCheckState(_window, index, BoolToBOOL(checkState)); } in SetCheckState()
106 …ol partialOK) { return BOOLToBool(ListView_EnsureVisible(_window, index, BoolToBOOL(partialOK))); } in EnsureVisible()
DReBar.h21 { SendMsg(RB_MAXIMIZEBAND, index, BoolToBOOL(ideal)); } in MaximizeBand()
DProgressBar.h25 …INT GetRange(bool minValue, PPBRANGE range) { return (INT)SendMsg(PBM_GETRANGE, BoolToBOOL(minValu… in GetRange()
DToolBar.h32 …ble) { return LRESULTToBool(SendMsg(TB_ENABLEBUTTON, buttonID, MAKELONG(BoolToBOOL(enable), 0))); } in EnableButton()
DDialog.cpp29 try { return BoolToBOOL(dialog->OnMessage(message, wParam, lParam)); } in DialogProcedure()
149 return BOOLToBool(::MoveWindow(GetItem(id), x, y, width, height, BoolToBOOL(repaint))); in MoveItem()
DStatusBar.h37 { SendMsg(SB_SIMPLE, BoolToBOOL(simple), 0); } in Simple()
DCommandBar.h41 bool Show(bool cmdShow) { return BOOLToBool(::CommandBar_Show(_window, BoolToBOOL(cmdShow))); } in Show()