summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/inc/propsheets.hxx2
-rw-r--r--shell/qa/zip/ziptest.cxx2
-rw-r--r--shell/source/backends/wininetbe/wininetbackend.cxx2
-rw-r--r--shell/source/win32/shlxthandler/ooofilt/ooofilt.hxx4
-rw-r--r--shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx2
-rw-r--r--shell/source/win32/shlxthandler/propsheets/propsheets.cxx2
6 files changed, 7 insertions, 7 deletions
diff --git a/shell/inc/propsheets.hxx b/shell/inc/propsheets.hxx
index 9a95ed169adb..2c3883555d1e 100644
--- a/shell/inc/propsheets.hxx
+++ b/shell/inc/propsheets.hxx
@@ -65,7 +65,7 @@ public:
private:
// Windows callback functions
static UINT CALLBACK PropPageSummaryCallback(HWND hwnd, UINT uMsg, LPPROPSHEETPAGE ppsp);
- static BOOL CALLBACK PropPageSummaryProc(HWND hwnd, UINT uiMsg, WPARAM wParam, LPARAM lParam);
+ static bool CALLBACK PropPageSummaryProc(HWND hwnd, UINT uiMsg, WPARAM wParam, LPARAM lParam);
static BOOL CALLBACK PropPageStatisticsProc(HWND hwnd, UINT uiMsg, WPARAM wParam, LPARAM lParam);
diff --git a/shell/qa/zip/ziptest.cxx b/shell/qa/zip/ziptest.cxx
index f76acf7c916c..7af18912abd2 100644
--- a/shell/qa/zip/ziptest.cxx
+++ b/shell/qa/zip/ziptest.cxx
@@ -76,7 +76,7 @@ Test::Test() : documentName(), pStream(nullptr)
LPVOID pvData = GlobalLock(hGlobal);
DWORD dwBytesRead = 0;
- BOOL bRead = ReadFile(hFile, pvData, dwFileSize, &dwBytesRead, nullptr);
+ bool bRead = ReadFile(hFile, pvData, dwFileSize, &dwBytesRead, nullptr);
CPPUNIT_ASSERT_MESSAGE("FileStream: ReadFile error.", bRead);
GlobalUnlock(hGlobal);
CloseHandle(hFile);
diff --git a/shell/source/backends/wininetbe/wininetbackend.cxx b/shell/source/backends/wininetbe/wininetbackend.cxx
index 599195dcebf7..7bc211747ec2 100644
--- a/shell/source/backends/wininetbe/wininetbackend.cxx
+++ b/shell/source/backends/wininetbe/wininetbackend.cxx
@@ -116,7 +116,7 @@ WinInetBackend::WinInetBackend()
INTERNET_PROXY_INFO pi;
LPINTERNET_PROXY_INFO lpi = π
DWORD dwLength = sizeof (pi);
- BOOL ok = lpfnInternetQueryOption(
+ bool ok = lpfnInternetQueryOption(
nullptr,
INTERNET_OPTION_PROXY,
lpi,
diff --git a/shell/source/win32/shlxthandler/ooofilt/ooofilt.hxx b/shell/source/win32/shlxthandler/ooofilt/ooofilt.hxx
index d0a927daaacc..1fa9af31c9fa 100644
--- a/shell/source/win32/shlxthandler/ooofilt/ooofilt.hxx
+++ b/shell/source/win32/shlxthandler/ooofilt/ooofilt.hxx
@@ -144,8 +144,8 @@ private:
ULONG m_ulPropertyNum; // Number of properties that has been processed
ULONG m_ulCurrentPropertyNum; // Current Property that is processing;
ULONG m_ulChunkID; // Current chunk id
- BOOL m_fContents; // TRUE if contents requested
- BOOL m_fEof; // TRUE if end of file reached
+ bool m_fContents; // TRUE if contents requested
+ bool m_fEof; // TRUE if end of file reached
::std::wstring m_pwsBuffer; // Buffer to save UNICODE content from ChunkBuffer.
ULONG m_ChunkPosition; // Chunk pointer to specify the current Chunk;
ULONG m_cAttributes; // Count of attributes
diff --git a/shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx b/shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx
index 663762e188fb..08beac81985c 100644
--- a/shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx
+++ b/shell/source/win32/shlxthandler/propsheets/listviewbuilder.cxx
@@ -39,7 +39,7 @@
#if !defined ListView_SetItemW
#define ListView_SetItemW(hwnd, pitem) \
- static_cast<BOOL>(SNDMSG((hwnd), LVM_SETITEMW, 0, reinterpret_cast<LPARAM>(pitem)))
+ static_cast<bool>(SNDMSG((hwnd), LVM_SETITEMW, 0, reinterpret_cast<LPARAM>(pitem)))
#endif
diff --git a/shell/source/win32/shlxthandler/propsheets/propsheets.cxx b/shell/source/win32/shlxthandler/propsheets/propsheets.cxx
index 5ddd6413fce0..196d9ed49ba2 100644
--- a/shell/source/win32/shlxthandler/propsheets/propsheets.cxx
+++ b/shell/source/win32/shlxthandler/propsheets/propsheets.cxx
@@ -220,7 +220,7 @@ UINT CALLBACK CPropertySheet::PropPageSummaryCallback(
}
-BOOL CALLBACK CPropertySheet::PropPageSummaryProc(HWND hwnd, UINT uiMsg, WPARAM /*wParam*/, LPARAM lParam)
+bool CALLBACK CPropertySheet::PropPageSummaryProc(HWND hwnd, UINT uiMsg, WPARAM /*wParam*/, LPARAM lParam)
{
switch (uiMsg)
{