/external/lzma/CPP/Windows/ |
D | Window.h | 39 inline bool MySetWindowText(HWND wnd, LPCWSTR s) { return BOOLToBool(::SetWindowText(wnd, s)); } in MySetWindowText() 75 bool Foreground() { return BOOLToBool(::SetForegroundWindow(_window)); } in Foreground() 78 bool GetWindowRect(LPRECT rect) const { return BOOLToBool(::GetWindowRect(_window,rect)); } in GetWindowRect() 80 bool IsZoomed() const { return BOOLToBool(::IsZoomed(_window)); } in IsZoomed() 82 bool ClientToScreen(LPPOINT point) const { return BOOLToBool(::ClientToScreen(_window, point)); } in ClientToScreen() 83 bool ScreenToClient(LPPOINT point) const { return BOOLToBool(::ScreenToClient(_window, point)); } in ScreenToClient() 127 bool result = BOOLToBool(::DestroyWindow(_window)); in Destroy() 132 bool IsWindow() { return BOOLToBool(::IsWindow(_window)); } in IsWindow() 134 { return BOOLToBool(::MoveWindow(_window, x, y, width, height, BoolToBOOL(repaint))); } 144 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(superPath, attrib)); in SetFileAttrib() 159 return BOOLToBool(::RemoveDirectoryW(superPath)); in RemoveDir() 185 return BOOLToBool(::MoveFileW(d1, d2)); in MyMoveFile() 229 return BOOLToBool(my_CreateHardLinkW(d1, d2, NULL)); in MyCreateHardLink() 280 return BOOLToBool(::CreateDirectoryW(superPath, NULL)); in CreateDir() 439 return BOOLToBool(::DeleteFileW(superPath)); in DeleteFileAlways() 510 return BOOLToBool(::SetCurrentDirectory(fs2fas(path))); in SetCurrentDir() 515 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 | 144 bool res = BOOLToBool(::GetOpenFileNameA(&p)); in MyGetOpenFileName() 179 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 | 81 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize, 117 { return BOOLToBool(GetFileInformationByHandle(_handle, info)); } in GetFileInformation()
|
D | Shell.cpp | 126 bool result = BOOLToBool(::SHGetPathFromIDList(itemIDList, path.GetBuf(len))); in GetPathFromIDList() 253 bool result = BOOLToBool(shGetPathFromIDListW(itemIDList, path.GetBuf(len))); in GetPathFromIDList()
|
D | Shell.h | 65 { return BOOLToBool(::DragQueryPoint(m_Object, point)); } in QueryPoint()
|
D | PropVariantConv.cpp | 20 if (!BOOLToBool(FileTimeToSystemTime(&ft, &st))) in ConvertUtcFileTimeToString()
|
D | FileFind.h | 152 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 | 30 bool DeleteAllItems() { return BOOLToBool(ListView_DeleteAllItems(_window)); } in DeleteAllItems() 31 …bool DeleteColumn(int columnIndex) { return BOOLToBool(ListView_DeleteColumn(_window, columnIndex)… in DeleteColumn() 35 …bool SetColumnOrderArray(int count, const int *columns) { return BOOLToBool(ListView_SetColumnOrde… in SetColumnOrderArray() 49 bool SetItem(const LVITEM* item) { return BOOLToBool(ListView_SetItem(_window, item)); } in SetItem() 58 …bool SetItem(const LV_ITEMW* item) { return BOOLToBool((BOOL)SendMsg(LVM_SETITEMW, 0, (LPARAM)item… in SetItem() 63 bool DeleteItem(int itemIndex) { return BOOLToBool(ListView_DeleteItem(_window, itemIndex)); } in DeleteItem() 77 bool GetItem(LVITEM* item) const { return BOOLToBool(ListView_GetItem(_window, item)); } in GetItem() 82 { return BOOLToBool(ListView_SortItems(_window, compareFunction, dataParam)); } in SortItems() 93 { return BOOLToBool(ListView_GetColumn(_window, columnIndex, columnInfo)); } in GetColumn() 104 bool GetCheckState(UINT index) { return BOOLToBool(ListView_GetCheckState(_window, index)); } in GetCheckState() [all …]
|
D | CommandBar.h | 29 …bool InsertButton(int iButton, LPTBBUTTON button) { return BOOLToBool(SendMsg(TB_INSERTBUTTON, (WP… in InsertButton() 30 …BOOL AddToolTips(UINT numToolTips, LPTSTR toolTips) { return BOOLToBool(SendMsg(TB_SETTOOLTIPS, (W… in AddToolTips() 33 …bool AddAdornments(DWORD dwFlags) { return BOOLToBool(::CommandBar_AddAdornments(_window, dwFlags,… in AddAdornments() 35 bool DrawMenuBar(WORD iButton) { return BOOLToBool(::CommandBar_DrawMenuBar(_window, iButton)); } in DrawMenuBar() 39 …bool InsertMenubar(HINSTANCE hInst, WORD idMenu, WORD iButton) { return BOOLToBool(::CommandBar_In… in InsertMenubar() 40 …bool InsertMenubarEx(HINSTANCE hInst, LPTSTR pszMenu, WORD iButton) { return BOOLToBool(::CommandB… in InsertMenubarEx() 41 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() 149 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 | 85 return BOOLToBool(::SystemParametersInfo(SPI_GETWORKAREA, 0, rect, 0)); in GetWorkAreaRect() 150 return BOOLToBool(::MoveWindow(GetItem(id), x, y, width, height, BoolToBOOL(repaint))); in MoveItem()
|
D | ComboBox.h | 47 …t(bool fUnicode) { return LRESULTToBool(SendMsg(CBEM_SETUNICODEFORMAT, BOOLToBool(fUnicode), 0)); } in SetUnicodeFormat()
|