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.h133 { 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()
DDefs.h11 inline BOOL BoolToBOOL(bool v) { return (v ? TRUE: FALSE); } in BoolToBOOL() function
DFileFind.cpp503 _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()
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.h16 { SendMessage(TBM_SETRANGE, BoolToBOOL(redraw), MAKELONG(minimum, maximum)); }
18 { SendMessage(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()
DReBar.h21 { SendMessage(RB_MAXIMIZEBAND, index, BoolToBOOL(ideal)); } in MaximizeBand()
DListView.h89 …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()
DProgressBar.h21 …INT GetRange(bool minValue, PPBRANGE range) { return (INT)SendMessage(PBM_GETRANGE, BoolToBOOL(min… in GetRange()
DToolBar.h32 … { return LRESULTToBool(SendMessage(TB_ENABLEBUTTON, buttonID, MAKELONG(BoolToBOOL(enable), 0))); } in EnableButton()
DStatusBar.h37 { SendMessage(SB_SIMPLE, BoolToBOOL(simple), 0); } in Simple()
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()
DCommandBar.h37 bool Show(bool cmdShow) { return BOOLToBool(::CommandBar_Show(_window, BoolToBOOL(cmdShow))); } in Show()