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

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

Completed in 553 milliseconds