/external/lzma/CPP/Windows/ |
D | Window.h | 38 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 …]
|
D | FileDir.cpp | 99 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()
|
D | FileSystem.cpp | 55 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()
|
D | Thread.h | 30 bool Terminate(DWORD exitCode) { return BOOLToBool(::TerminateThread(thread, exitCode)); } in Terminate() 32 bool SetPriority(int priority) { return BOOLToBool(::SetThreadPriority(thread, priority)); } in SetPriority()
|
D | SecurityUtils.h | 23 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()
|
D | FileIO.cpp | 338 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()
|
D | CommonDialog.cpp | 142 bool res = BOOLToBool(::GetOpenFileNameA(&p)); in MyGetOpenFileName() 177 bool res = BOOLToBool(::GetOpenFileNameW(&p)); in MyGetOpenFileName()
|
D | Window.cpp | 109 return BOOLToBool(::SetWindowTextW(wnd, s)); in MySetWindowText() 110 return BOOLToBool(::SetWindowTextA(wnd, UnicodeStringToMultiByte(s))); in MySetWindowText()
|
D | Defs.h | 10 inline bool BOOLToBool(BOOL v) { return (v != FALSE); } in BOOLToBool() function
|
D | FileIO.h | 75 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize, 111 { return BOOLToBool(GetFileInformationByHandle(_handle, info)); } in GetFileInformation()
|
D | Shell.cpp | 123 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()
|
D | Shell.h | 65 { return BOOLToBool(::DragQueryPoint(m_Object, point)); } in QueryPoint()
|
D | PropVariantConv.cpp | 15 if (!BOOLToBool(FileTimeToSystemTime(&ft, &st))) in ConvertFileTimeToString()
|
D | FileFind.h | 149 bool FindNext() { return BOOLToBool(::FindNextChangeNotification(_handle)); } in FindNext()
|
D | TimeUtils.cpp | 22 …return BOOLToBool(::DosDateTimeToFileTime((UInt16)(dosTime >> 16), (UInt16)(dosTime & 0xFFFF), &ft… in DosTimeToFileTime()
|
/external/lzma/CPP/Windows/Control/ |
D | ListView.h | 28 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 …]
|
D | CommandBar.h | 25 …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()
|
D | Dialog.h | 21 { 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()
|
D | ImageList.h | 47 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()
|
D | Dialog.cpp | 84 return BOOLToBool(::SystemParametersInfo(SPI_GETWORKAREA, 0, rect, 0)); in GetWorkAreaRect() 149 return BOOLToBool(::MoveWindow(GetItem(id), x, y, width, height, BoolToBOOL(repaint))); in MoveItem()
|
D | ComboBox.h | 45 …ol fUnicode) { return LRESULTToBool(SendMessage(CBEM_SETUNICODEFORMAT, BOOLToBool(fUnicode), 0)); } in SetUnicodeFormat()
|