Home
last modified time | relevance | path

Searched refs:BOOLToBool (Results 1 – 21 of 21) sorted by relevance

/external/lzma/CPP/Windows/
DWindow.h38 inline bool MySetWindowText(HWND wnd, LPCWSTR s) { return BOOLToBool(::SetWindowText(wnd, s)); } in MySetWindowText()
74 bool Foreground() { return BOOLToBool(::SetForegroundWindow(_window)); } in Foreground()
77 bool GetWindowRect(LPRECT rect) const { return BOOLToBool(::GetWindowRect(_window,rect)); } in GetWindowRect()
79 bool IsZoomed() const { return BOOLToBool(::IsZoomed(_window)); } in IsZoomed()
81 bool ClientToScreen(LPPOINT point) const { return BOOLToBool(::ClientToScreen(_window, point)); } in ClientToScreen()
82 bool ScreenToClient(LPPOINT point) const { return BOOLToBool(::ScreenToClient(_window, point)); } in ScreenToClient()
126 bool result = BOOLToBool(::DestroyWindow(_window)); in Destroy()
131 bool IsWindow() { return BOOLToBool(::IsWindow(_window)); } in IsWindow()
133 { return BOOLToBool(::MoveWindow(_window, x, y, width, height, BoolToBOOL(repaint))); }
143 return BOOLToBool(::MoveWindow(hwnd, p1.x, p1.y, xSize, rect.bottom - rect.top, TRUE)); in ChangeSubWindowSizeX()
[all …]
DFileDir.cpp99 res = BOOLToBool(::SetFileTime(hDir, cTime, aTime, mTime)); in SetDirTime()
124 return BOOLToBool(::SetFileAttributesW(longPath, attrib)); in SetFileAttrib()
150 return BOOLToBool(::RemoveDirectoryW(longPath)); in RemoveDir()
176 return BOOLToBool(::MoveFileW(d1, d2)); in MyMoveFile()
220 return BOOLToBool(my_CreateHardLinkW(d1, d2, NULL)); in MyCreateHardLink()
248 return BOOLToBool(::CreateDirectoryW(longPath, NULL)); in CreateDir()
323 return BOOLToBool(::DeleteFileW(longPath)); in DeleteFileAlways()
394 return BOOLToBool(::SetCurrentDirectory(fs2fas(path))); in SetCurrentDir()
399 return BOOLToBool(::SetCurrentDirectoryW(fs2us(path))); in SetCurrentDir()
DFileSystem.cpp55 return BOOLToBool(res); in MyGetVolumeInformation()
98 …sizeIsDetected = BOOLToBool(pGetDiskFreeSpaceEx(fs2fas(rootPath), &freeBytesToCaller2, &totalSize2… in MyGetDiskFreeSpace()
113 …sizeIsDetected = BOOLToBool(pGetDiskFreeSpaceEx(fs2us(rootPath), &freeBytesToCaller2, &totalSize2,… in MyGetDiskFreeSpace()
DThread.h30 bool Terminate(DWORD exitCode) { return BOOLToBool(::TerminateThread(thread, exitCode)); } in Terminate()
32 bool SetPriority(int priority) { return BOOLToBool(::SetThreadPriority(thread, priority)); } in SetPriority()
DSecurityUtils.h23 bool res = BOOLToBool(::CloseHandle(_handle)); in Close()
32 return BOOLToBool(::OpenProcessToken(processHandle, desiredAccess, &_handle)); in OpenProcessToken()
45 { return BOOLToBool(::AdjustTokenPrivileges(_handle, BoolToBOOL(disableAllPrivileges), in AdjustPrivileges()
DFileIO.cpp338 bool res = BOOLToBool(::ReadFile(_handle, data, size, &processedLoc, NULL)); in Read1()
387 { return BOOLToBool(::SetFileTime(_handle, cTime, aTime, mTime)); } in SetTime()
396 bool res = BOOLToBool(::WriteFile(_handle, data, size, &processedLoc, NULL)); in WritePart()
420 bool COutFile::SetEndOfFile() throw() { return BOOLToBool(::SetEndOfFile(_handle)); } in SetEndOfFile()
DCommonDialog.cpp142 bool res = BOOLToBool(::GetOpenFileNameA(&p)); in MyGetOpenFileName()
177 bool res = BOOLToBool(::GetOpenFileNameW(&p)); in MyGetOpenFileName()
DWindow.cpp109 return BOOLToBool(::SetWindowTextW(wnd, s)); in MySetWindowText()
110 return BOOLToBool(::SetWindowTextA(wnd, UnicodeStringToMultiByte(s))); in MySetWindowText()
DDefs.h10 inline bool BOOLToBool(BOOL v) { return (v != FALSE); } in BOOLToBool() function
DFileIO.h75 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize,
111 { return BOOLToBool(GetFileInformationByHandle(_handle, info)); } in GetFileInformation()
DShell.cpp123 bool result = BOOLToBool(::SHGetPathFromIDList(itemIDList, path.GetBuffer(MAX_PATH * 2))); in GetPathFromIDList()
247 bool result = BOOLToBool(shGetPathFromIDListW(itemIDList, path.GetBuffer(MAX_PATH * 2))); in GetPathFromIDList()
DShell.h65 { return BOOLToBool(::DragQueryPoint(m_Object, point)); } in QueryPoint()
DPropVariantConv.cpp15 if (!BOOLToBool(FileTimeToSystemTime(&ft, &st))) in ConvertFileTimeToString()
DFileFind.h149 bool FindNext() { return BOOLToBool(::FindNextChangeNotification(_handle)); } in FindNext()
DTimeUtils.cpp22 …return BOOLToBool(::DosDateTimeToFileTime((UInt16)(dosTime >> 16), (UInt16)(dosTime & 0xFFFF), &ft… in DosTimeToFileTime()
/external/lzma/CPP/Windows/Control/
DListView.h28 bool DeleteAllItems() { return BOOLToBool(ListView_DeleteAllItems(_window)); } in DeleteAllItems()
29 …bool DeleteColumn(int columnIndex) { return BOOLToBool(ListView_DeleteColumn(_window, columnIndex)… in DeleteColumn()
35 bool SetItem(const LVITEM* item) { return BOOLToBool(ListView_SetItem(_window, item)); } in SetItem()
44 …bool SetItem(const LV_ITEMW* item) { return BOOLToBool((BOOL)SendMessage(LVM_SETITEMW, 0, (LPARAM)… in SetItem()
49 bool DeleteItem(int itemIndex) { return BOOLToBool(ListView_DeleteItem(_window, itemIndex)); } in DeleteItem()
63 bool GetItem(LVITEM* item) const { return BOOLToBool(ListView_GetItem(_window, item)); } in GetItem()
68 { return BOOLToBool(ListView_SortItems(_window, compareFunction, dataParam)); } in SortItems()
79 { return BOOLToBool(ListView_GetColumn(_window, columnIndex, columnInfo)); } in GetColumn()
90 bool GetCheckState(UINT index) { return BOOLToBool(ListView_GetCheckState(_window, index)); } in GetCheckState()
92 …bool EnsureVisible(int index, bool partialOK) { return BOOLToBool(ListView_EnsureVisible(_window, … in EnsureVisible()
[all …]
DCommandBar.h25 …bool InsertButton(int iButton, LPTBBUTTON button) { return BOOLToBool(SendMessage(TB_INSERTBUTTON,… in InsertButton()
26 …BOOL AddToolTips(UINT numToolTips, LPTSTR toolTips) { return BOOLToBool(SendMessage(TB_SETTOOLTIPS… in AddToolTips()
29 …bool AddAdornments(DWORD dwFlags) { return BOOLToBool(::CommandBar_AddAdornments(_window, dwFlags,… in AddAdornments()
31 bool DrawMenuBar(WORD iButton) { return BOOLToBool(::CommandBar_DrawMenuBar(_window, iButton)); } in DrawMenuBar()
35 …bool InsertMenubar(HINSTANCE hInst, WORD idMenu, WORD iButton) { return BOOLToBool(::CommandBar_In… in InsertMenubar()
36 …bool InsertMenubarEx(HINSTANCE hInst, LPTSTR pszMenu, WORD iButton) { return BOOLToBool(::CommandB… in InsertMenubarEx()
37 bool Show(bool cmdShow) { return BOOLToBool(::CommandBar_Show(_window, BoolToBOOL(cmdShow))); } in Show()
DDialog.h21 { return BOOLToBool(::EnableWindow(GetItem(itemID), BoolToBOOL(enable))); } in EnableItem()
24 { return BOOLToBool(::ShowWindow(GetItem(itemID), cmdShow)); } in ShowItem()
32 { return BOOLToBool(SetDlgItemText(_window, itemID, s)); } in SetItemText()
55 { return BOOLToBool(SetDlgItemInt(_window, itemID, value, BoolToBOOL(isSigned))); } in SetItemInt()
60 return BOOLToBool(result); in GetItemInt()
69 { return BOOLToBool(MapDialogRect(_window, rect)); } in MapRect()
72 { return BOOLToBool(IsDialogMessage(_window, message)); } in IsMessage()
78 { return BOOLToBool(CheckDlgButton(_window, buttonID, checkState)); } in CheckButton()
88 { return BOOLToBool(::CheckRadioButton(_window, firstButtonID, lastButtonID, checkButtonID)); } in CheckRadioButton()
147 bool End(INT_PTR result) { return BOOLToBool(::EndDialog(_window, result)); } in End()
DImageList.h47 return BOOLToBool(ImageList_Destroy(Detach())); in Destroy()
57 { return BOOLToBool(ImageList_GetImageInfo(m_Object, index, imageInfo)); } in GetImageInfo()
70 { return BOOLToBool(ImageList_Remove(m_Object, index)); } in Remove()
72 { return BOOLToBool(ImageList_RemoveAll(m_Object)); } in RemoveAll()
80 { return BOOLToBool(ImageList_GetIconSize(m_Object, &width, &height)); } in GetIconSize()
82 { return BOOLToBool(ImageList_SetIconSize(m_Object, width, height)); } in SetIconSize()
DDialog.cpp84 return BOOLToBool(::SystemParametersInfo(SPI_GETWORKAREA, 0, rect, 0)); in GetWorkAreaRect()
149 return BOOLToBool(::MoveWindow(GetItem(id), x, y, width, height, BoolToBOOL(repaint))); in MoveItem()
DComboBox.h45 …ol fUnicode) { return LRESULTToBool(SendMessage(CBEM_SETUNICODEFORMAT, BOOLToBool(fUnicode), 0)); } in SetUnicodeFormat()