ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
March 2022
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
20 participants
436 discussions
Start a n
N
ew thread
[reactos] 01/01: [NTDLL][ARM] Add missing definition for RtlFillMemoryUlong
by Stanislav Motylkov
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=40fe3e5dd99ace99e7a36…
commit 40fe3e5dd99ace99e7a36fa9b1dcc8aa4e0cb8b7 Author: Stanislav Motylkov <x86corez(a)gmail.com> AuthorDate: Fri Mar 18 22:08:21 2022 +0300 Commit: Stanislav Motylkov <x86corez(a)gmail.com> CommitDate: Fri Mar 18 22:52:05 2022 +0300 [NTDLL][ARM] Add missing definition for RtlFillMemoryUlong [GITHUB] Build entire base module for ARM platform CORE-17604 --- .github/workflows/build.yml | 6 +++--- dll/ntdll/def/ntdll.spec | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ebc9bd4964..7a3819525cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -161,8 +161,8 @@ jobs: path: src - name: Configure run: cmake -S src -B build -G Ninja -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-msvc.cmake -DARCH:STRING=${{matrix.arch}} -DCMAKE_BUILD_TYPE=${{matrix.config}} -DENABLE_ROSTESTS=1 -DENABLE_ROSAPPS=1 - - name: Build applications - run: cmake --build build --target base/applications/all + - name: Build base module + run: cmake --build build --target base/all - name: Build control panel applets run: cmake --build build --target dll/cpl/all - name: Build rosapps @@ -172,7 +172,7 @@ jobs: with: name: reactos-msvc${{matrix.toolset}}-${{matrix.arch}}-${{matrix.config}}-${{github.sha}} path: | - build/base/applications + build/base build/dll/cpl build/modules/rosapps !**/CMakeFiles diff --git a/dll/ntdll/def/ntdll.spec b/dll/ntdll/def/ntdll.spec index 363ed834289..ef7b4f90ed4 100644 --- a/dll/ntdll/def/ntdll.spec +++ b/dll/ntdll/def/ntdll.spec @@ -825,7 +825,7 @@ @ stdcall -arch=win32 -ret64 RtlExtendedLargeIntegerDivide(double long ptr) @ stdcall -arch=win32 -ret64 RtlExtendedMagicDivide(double double long) @ stdcall RtlFillMemory(ptr long long) -@ stdcall -arch=i386 RtlFillMemoryUlong(ptr long long) +@ stdcall -arch=i386,arm RtlFillMemoryUlong(ptr long long) @ stdcall RtlFinalReleaseOutOfProcessMemoryStream(ptr) @ stub -version=0x600+ RtlFindAceByType @ stdcall RtlFindActivationContextSectionGuid(long ptr long ptr ptr)
2 years, 9 months
1
0
0
0
[reactos] 01/01: [WINLOGON] Make PC Speaker "beep" similar to Windows 2003 one (#4397)
by Adam Słaboń
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d811fca7c0cf674ca7770…
commit d811fca7c0cf674ca77700686d38ceba9182270c Author: Adam Słaboń <asaillen(a)protonmail.com> AuthorDate: Thu Mar 17 20:31:06 2022 +0100 Commit: GitHub <noreply(a)github.com> CommitDate: Thu Mar 17 22:31:06 2022 +0300 [WINLOGON] Make PC Speaker "beep" similar to Windows 2003 one (#4397) --- base/system/winlogon/sas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/system/winlogon/sas.c b/base/system/winlogon/sas.c index b77054caba6..20298e84b90 100644 --- a/base/system/winlogon/sas.c +++ b/base/system/winlogon/sas.c @@ -261,7 +261,7 @@ PlaySoundRoutine( { if (!bLogon) { - Beep(500, 500); + Beep(440, 125); } FreeLibrary(hLibrary); return FALSE;
2 years, 9 months
1
0
0
0
[reactos] 01/01: [COMSUPP] Relicense as BSD.
by Thomas Faber
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=be336316295278be728ea…
commit be336316295278be728ea81156f77e24e7ed193a Author: Thomas Faber <thomas.faber(a)reactos.org> AuthorDate: Tue Mar 15 22:09:16 2022 -0400 Commit: Thomas Faber <thomas.faber(a)reactos.org> CommitDate: Tue Mar 15 22:54:17 2022 -0400 [COMSUPP] Relicense as BSD. --- sdk/lib/comsupp/comsupp.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sdk/lib/comsupp/comsupp.cpp b/sdk/lib/comsupp/comsupp.cpp index 05152224502..a3e096496d9 100644 --- a/sdk/lib/comsupp/comsupp.cpp +++ b/sdk/lib/comsupp/comsupp.cpp @@ -1,8 +1,9 @@ /* - * PROJECT: ReactOS crt library - * LICENSE: GPLv2+ - See COPYING in the top level directory - * PURPOSE: Compiler support for COM - * PROGRAMMER: Thomas Faber (thomas.faber(a)reactos.org) + * PROJECT: ReactOS crt library + * LICENSE: BSD-2-Clause (
https://spdx.org/licenses/BSD-2-Clause
) + * PURPOSE: Compiler support for COM + * COPYRIGHT: Copyright 2013 Thomas Faber (thomas.faber(a)reactos.org) + * Copyright 2015 Hermès Bélusca-Maïto (hermes.belusca-maito(a)reactos.org) */ #include <stdarg.h>
2 years, 9 months
1
0
0
0
[reactos] 01/01: [NETCFGX] Fix uninitialized variable use.
by Thomas Faber
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=680f103f3d52bf46b41eb…
commit 680f103f3d52bf46b41eb5249c17d097ac55a3c2 Author: Thomas Faber <thomas.faber(a)reactos.org> AuthorDate: Sat Feb 19 09:49:27 2022 -0500 Commit: Thomas Faber <thomas.faber(a)reactos.org> CommitDate: Sun Mar 13 16:20:44 2022 -0400 [NETCFGX] Fix uninitialized variable use. --- dll/win32/netcfgx/propertypage.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dll/win32/netcfgx/propertypage.c b/dll/win32/netcfgx/propertypage.c index 3742e1bfe8f..d0a49e2906a 100644 --- a/dll/win32/netcfgx/propertypage.c +++ b/dll/win32/netcfgx/propertypage.c @@ -594,13 +594,11 @@ BuildParameterArray( dwDefaultMin = 0UL; dwDefaultMax = 65535UL; // MAX_WORD; } -#if 0 else if (ParamArray->Array[dwIndex].Type == DWORD_TYPE) { dwDefaultMin = 0UL; dwDefaultMax = 4294967295UL; //MAX_DWORD; } -#endif if (ParamArray->Array[dwIndex].Type == INT_TYPE || ParamArray->Array[dwIndex].Type == LONG_TYPE)
2 years, 9 months
1
0
0
0
[reactos] 01/01: [DISKPART] Fix GCC build. Addendum to 28d565ae9af.
by Stanislav Motylkov
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d3f3a97b1e757f86edf30…
commit d3f3a97b1e757f86edf30206777b3c9a33f7afcd Author: Stanislav Motylkov <x86corez(a)gmail.com> AuthorDate: Sun Mar 13 17:58:06 2022 +0300 Commit: Stanislav Motylkov <x86corez(a)gmail.com> CommitDate: Sun Mar 13 17:58:06 2022 +0300 [DISKPART] Fix GCC build. Addendum to 28d565ae9af. --- base/system/diskpart/list.c | 1 - 1 file changed, 1 deletion(-) diff --git a/base/system/diskpart/list.c b/base/system/diskpart/list.c index 5b3d6438969..dd7e54c8f38 100644 --- a/base/system/diskpart/list.c +++ b/base/system/diskpart/list.c @@ -13,7 +13,6 @@ /* FUNCTIONS ******************************************************************/ -static ULONGLONG RoundingDivide( IN ULONGLONG Dividend,
2 years, 9 months
1
0
0
0
[reactos] 01/01: [DISKPART] Add dump command to dump a sector of a disk or partition
by Eric Kohl
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a2aaa28436e47180ffb72…
commit a2aaa28436e47180ffb72397571fac02d8f61a08 Author: Eric Kohl <eric.kohl(a)reactos.org> AuthorDate: Sun Mar 13 14:20:47 2022 +0100 Commit: Eric Kohl <eric.kohl(a)reactos.org> CommitDate: Sun Mar 13 14:26:10 2022 +0100 [DISKPART] Add dump command to dump a sector of a disk or partition Select a disk and run "dump disk 0" to dump the MBR of the disk. --- base/system/diskpart/dump.c | 278 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 278 insertions(+) diff --git a/base/system/diskpart/dump.c b/base/system/diskpart/dump.c new file mode 100644 index 00000000000..6e2e46a8733 --- /dev/null +++ b/base/system/diskpart/dump.c @@ -0,0 +1,278 @@ +/* + * PROJECT: ReactOS DiskPart + * LICENSE: GPL - See COPYING in the top level directory + * FILE: base/system/diskpart/dump.c + * PURPOSE: Manages all the partitions of the OS in an interactive way. + * PROGRAMMERS: Eric Kohl + */ + +#include "diskpart.h" + +#define NDEBUG +#include <debug.h> + +/* FUNCTIONS ******************************************************************/ + +static +VOID +HexDump( + _In_ UCHAR *addr, + _In_ int len) +{ + WCHAR Buffer[17]; + UCHAR *pc; + int i; + + Buffer[16] = L'\0'; + + pc = addr; + for (i = 0; i < len; i++) + { + if ((i % 16) == 0) + ConPrintf(StdOut, L" %04x ", i); + + ConPrintf(StdOut, L" %02x", pc[i]); + + if ((pc[i] < 0x20) || (pc[i] > 0x7e)) + Buffer[i % 16] = L'.'; + else + Buffer[i % 16] = (WCHAR)(USHORT)pc[i]; + + if ((i % 16) == (16 - 1)) + ConPrintf(StdOut, L" %s\n", Buffer); + } +} + + +static +VOID +DumpDisk( + _In_ INT argc, + _In_ LPWSTR *argv) +{ + OBJECT_ATTRIBUTES ObjectAttributes; + IO_STATUS_BLOCK Iosb; + NTSTATUS Status; + WCHAR Buffer[MAX_PATH]; + UNICODE_STRING Name; + HANDLE FileHandle = NULL; + PUCHAR pSectorBuffer = NULL; + LARGE_INTEGER FileOffset; + LONGLONG Sector; + LPWSTR endptr = NULL; + +#if 0 + if (argc == 2) + { + ConResPuts(StdOut, IDS_HELP_CMD_DUMP_DISK); + return TRUE; + } +#endif + + if (CurrentDisk == NULL) + { + ConResPuts(StdOut, IDS_SELECT_NO_DISK); + return; + } + + Sector = _wcstoi64(argv[2], &endptr, 0); + if (((Sector == 0) && (endptr == argv[2])) || + (Sector < 0)) + { + ConResPuts(StdErr, IDS_ERROR_INVALID_ARGS); + return; + } + + pSectorBuffer = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, CurrentDisk->BytesPerSector); + if (pSectorBuffer == NULL) + { + DPRINT1("\n"); + /* Error message */ + goto done; + } + + swprintf(Buffer, + L"\\Device\\Harddisk%d\\Partition0", + CurrentDisk->DiskNumber); + RtlInitUnicodeString(&Name, + Buffer); + + InitializeObjectAttributes(&ObjectAttributes, + &Name, + 0, + NULL, + NULL); + + Status = NtOpenFile(&FileHandle, + FILE_READ_DATA | FILE_READ_ATTRIBUTES | SYNCHRONIZE, + &ObjectAttributes, + &Iosb, + FILE_SHARE_READ, + FILE_SYNCHRONOUS_IO_NONALERT); + if (!NT_SUCCESS(Status)) + { + DPRINT1("\n"); + goto done; + } + + FileOffset.QuadPart = Sector * CurrentDisk->BytesPerSector; + Status = NtReadFile(FileHandle, + NULL, + NULL, + NULL, + &Iosb, + (PVOID)pSectorBuffer, + CurrentDisk->BytesPerSector, + &FileOffset, + NULL); + if (!NT_SUCCESS(Status)) + { + DPRINT1("NtReadFile failed, status=%x\n", Status); + goto done; + } + + HexDump(pSectorBuffer, CurrentDisk->BytesPerSector); + +done: + if (FileHandle) + NtClose(FileHandle); + + RtlFreeHeap(RtlGetProcessHeap(), 0, pSectorBuffer); + + return; +} + + +static +VOID +DumpPartition( + _In_ INT argc, + _In_ LPWSTR *argv) +{ + OBJECT_ATTRIBUTES ObjectAttributes; + IO_STATUS_BLOCK Iosb; + NTSTATUS Status; + WCHAR Buffer[MAX_PATH]; + UNICODE_STRING Name; + HANDLE FileHandle = NULL; + PUCHAR pSectorBuffer = NULL; + LARGE_INTEGER FileOffset; + LONGLONG Sector; + LPWSTR endptr = NULL; + + +#if 0 + if (argc == 2) + { + ConResPuts(StdOut, IDS_HELP_CMD_DUMP_DISK); + return TRUE; + } +#endif + + if (CurrentDisk == NULL) + { + ConResPuts(StdOut, IDS_SELECT_NO_DISK); + return; + } + + if (CurrentPartition == NULL) + { + ConResPuts(StdOut, IDS_SELECT_NO_PARTITION); + return; + } + + Sector = _wcstoi64(argv[2], &endptr, 0); + if (((Sector == 0) && (endptr == argv[2])) || + (Sector < 0)) + { + ConResPuts(StdErr, IDS_ERROR_INVALID_ARGS); + return; + } + + pSectorBuffer = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, CurrentDisk->BytesPerSector); + if (pSectorBuffer == NULL) + { + DPRINT1("\n"); + /* Error message */ + goto done; + } + + swprintf(Buffer, + L"\\Device\\Harddisk%d\\Partition%d", + CurrentDisk->DiskNumber, + CurrentPartition->PartitionNumber); + RtlInitUnicodeString(&Name, + Buffer); + + InitializeObjectAttributes(&ObjectAttributes, + &Name, + 0, + NULL, + NULL); + + Status = NtOpenFile(&FileHandle, + FILE_READ_DATA | FILE_READ_ATTRIBUTES | SYNCHRONIZE, + &ObjectAttributes, + &Iosb, + FILE_SHARE_READ, + FILE_SYNCHRONOUS_IO_NONALERT); + if (!NT_SUCCESS(Status)) + { + DPRINT1("\n"); + goto done; + } + + FileOffset.QuadPart = Sector * CurrentDisk->BytesPerSector; + Status = NtReadFile(FileHandle, + NULL, + NULL, + NULL, + &Iosb, + (PVOID)pSectorBuffer, + CurrentDisk->BytesPerSector, + &FileOffset, + NULL); + if (!NT_SUCCESS(Status)) + { + DPRINT1("NtReadFile failed, status=%x\n", Status); + goto done; + } + + HexDump(pSectorBuffer, CurrentDisk->BytesPerSector); + +done: + if (FileHandle) + NtClose(FileHandle); + + RtlFreeHeap(RtlGetProcessHeap(), 0, pSectorBuffer); + + return; +} + + +BOOL +dump_main( + _In_ INT argc, + _In_ LPWSTR *argv) +{ + /* gets the first word from the string */ +#if 0 + if (argc == 1) + { + ConResPuts(StdOut, IDS_HELP_CMD_LIST); + return TRUE; + } +#endif + + /* determines which to list (disk, partition, etc.) */ + if (!wcsicmp(argv[1], L"disk")) + DumpDisk(argc, argv); + else if (!wcsicmp(argv[1], L"partition")) + DumpPartition(argc, argv); +#if 0 + else + ConResPuts(StdOut, IDS_HELP_CMD_LIST); +#endif + + return TRUE; +}
2 years, 9 months
1
0
0
0
[reactos] 01/01: [DISKPART] Add dump command to dump a sector of a disk or partition
by Eric Kohl
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=28d565ae9af8cd81e3f9f…
commit 28d565ae9af8cd81e3f9fa524af56c9cf6f10c6e Author: Eric Kohl <eric.kohl(a)reactos.org> AuthorDate: Sun Mar 13 14:20:47 2022 +0100 Commit: Eric Kohl <eric.kohl(a)reactos.org> CommitDate: Sun Mar 13 14:20:47 2022 +0100 [DISKPART] Add dump command to dump a sector of a disk or partition Select a disk and run "dump disk 0" to dump the MBR of the disk. --- base/system/diskpart/CMakeLists.txt | 1 + base/system/diskpart/diskpart.h | 8 ++++++++ base/system/diskpart/interpreter.c | 1 + 3 files changed, 10 insertions(+) diff --git a/base/system/diskpart/CMakeLists.txt b/base/system/diskpart/CMakeLists.txt index 7675dad1d83..f9b5bdd5a3f 100644 --- a/base/system/diskpart/CMakeLists.txt +++ b/base/system/diskpart/CMakeLists.txt @@ -17,6 +17,7 @@ list(APPEND SOURCE detach.c detail.c diskpart.c + dump.c expand.c extend.c filesystems.c diff --git a/base/system/diskpart/diskpart.h b/base/system/diskpart/diskpart.h index 9a56e16a018..abfc2213c74 100644 --- a/base/system/diskpart/diskpart.h +++ b/base/system/diskpart/diskpart.h @@ -225,6 +225,9 @@ BOOL detail_main(INT argc, LPWSTR *argv); /* diskpart.c */ +/* dump.c */ +BOOL dump_main(INT argc, LPWSTR *argv); + /* expand.c */ BOOL expand_main(INT argc, LPWSTR *argv); @@ -258,6 +261,11 @@ VOID InterpretMain(VOID); /* list.c */ BOOL list_main(INT argc, LPWSTR *argv); +ULONGLONG +RoundingDivide( + _In_ ULONGLONG Dividend, + _In_ ULONGLONG Divisor); + /* merge.c */ BOOL merge_main(INT argc, LPWSTR *argv); diff --git a/base/system/diskpart/interpreter.c b/base/system/diskpart/interpreter.c index 59f75570aba..dde15688029 100644 --- a/base/system/diskpart/interpreter.c +++ b/base/system/diskpart/interpreter.c @@ -29,6 +29,7 @@ COMMAND cmds[] = {L"delete", delete_main, IDS_HELP_CMD_DELETE, IDS_HELP_CMD_DESC_DELETE}, {L"detail", detail_main, IDS_HELP_CMD_DETAIL, IDS_HELP_CMD_DESC_DETAIL}, {L"detach", detach_main, IDS_HELP_CMD_DETACH, IDS_HELP_CMD_DESC_DETACH}, + {L"dump", dump_main, IDS_NONE, IDS_NONE}, {L"exit", NULL, IDS_NONE, IDS_HELP_CMD_DESC_EXIT}, {L"expand", expand_main, IDS_HELP_CMD_EXPAND, IDS_HELP_CMD_DESC_EXPAND}, {L"extend", extend_main, IDS_HELP_CMD_EXTEND, IDS_HELP_CMD_DESC_EXTEND},
2 years, 9 months
1
0
0
0
[reactos] 01/01: [SHELL32] Do not reopen the drive properties dialog on cancel (#4383)
by Mark Jansen
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=af33607a273f46e704d66…
commit af33607a273f46e704d66e92eaf09799d3a5834f Author: Mark Jansen <mark.jansen(a)reactos.org> AuthorDate: Sat Mar 12 15:25:48 2022 +0100 Commit: GitHub <noreply(a)github.com> CommitDate: Sat Mar 12 15:25:48 2022 +0100 [SHELL32] Do not reopen the drive properties dialog on cancel (#4383) CORE-18073 --- dll/win32/shell32/dialogs/drive.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dll/win32/shell32/dialogs/drive.cpp b/dll/win32/shell32/dialogs/drive.cpp index be1c8c8b109..8f2484e298a 100644 --- a/dll/win32/shell32/dialogs/drive.cpp +++ b/dll/win32/shell32/dialogs/drive.cpp @@ -226,10 +226,8 @@ SH_ShowDriveProperties(WCHAR *pwszDrive, LPCITEMIDLIST pidlFolder, PCUITEMID_CHI if (pDrvDefExt) pDrvDefExt->Release(); - if (ret > 0) + if (ret >= 0) return S_OK; - if (ret == 0) - return S_FALSE; return E_FAIL; }
2 years, 9 months
1
0
0
0
[reactos] 01/01: [WINFILE] de-DE.rc White-space addendum in context of CORE-18077
by Joachim Henze
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=248fe4714ab183af4b63a…
commit 248fe4714ab183af4b63a86b3704f9c3102aa3ef Author: Joachim Henze <Joachim.Henze(a)reactos.org> AuthorDate: Thu Mar 10 23:58:48 2022 +0100 Commit: Joachim Henze <Joachim.Henze(a)reactos.org> CommitDate: Thu Mar 10 23:58:48 2022 +0100 [WINFILE] de-DE.rc White-space addendum in context of CORE-18077 Addendum to 0.4.15-dev-3887-g c3f4c11af13c86c23c615ee8defee9061ea09c30 --- modules/rosapps/applications/winfile/lang/de-DE.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rosapps/applications/winfile/lang/de-DE.rc b/modules/rosapps/applications/winfile/lang/de-DE.rc index 1390903c8b1..cfe17a28d86 100644 --- a/modules/rosapps/applications/winfile/lang/de-DE.rc +++ b/modules/rosapps/applications/winfile/lang/de-DE.rc @@ -32,7 +32,7 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL IDM_WINEFILE MENU { POPUP "&Datei" { - MENUITEM "Ö&ffnen\tENTER", ID_ACTIVATE + MENUITEM "Ö&ffnen\tENTER", ID_ACTIVATE MENUITEM "&Verschieben...\tF7", ID_FILE_MOVE MENUITEM "&Kopieren...\tF8", ID_FILE_COPY MENUITEM "&In Zwischenablage...\tF9", 118
2 years, 9 months
1
0
0
0
[reactos] 01/01: [NETKVM] Fix calling convention for callback and variadic functions
by Dmitry Borisov
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dc6dfbf6687be49306d62…
commit dc6dfbf6687be49306d62a765be36a036628765e Author: Dmitry Borisov <di.sean(a)protonmail.com> AuthorDate: Wed Mar 9 19:17:22 2022 +0600 Commit: Victor Perevertkin <victor(a)perevertkin.ru> CommitDate: Thu Mar 10 13:31:10 2022 +0300 [NETKVM] Fix calling convention for callback and variadic functions Addendum to 4c37757e81109128109feb0a0a9342452c6caf78. --- drivers/network/dd/netkvm/Common/ParaNdis-Common.c | 2 +- drivers/network/dd/netkvm/Common/ParaNdis-Debug.c | 14 +++++++------- drivers/network/dd/netkvm/Common/ndis56common.h | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/network/dd/netkvm/Common/ParaNdis-Common.c b/drivers/network/dd/netkvm/Common/ParaNdis-Common.c index 71fa0de46a4..7191592458e 100644 --- a/drivers/network/dd/netkvm/Common/ParaNdis-Common.c +++ b/drivers/network/dd/netkvm/Common/ParaNdis-Common.c @@ -2209,7 +2209,7 @@ void ParaNdis_ReportLinkStatus(PARANDIS_ADAPTER *pContext, BOOLEAN bForce) ParaNdis_IndicateConnect(pContext, bConnected, bForce); } -static BOOLEAN RestartQueueSynchronously(tSynchronizedContext *SyncContext) +static BOOLEAN NTAPI RestartQueueSynchronously(tSynchronizedContext *SyncContext) { struct virtqueue * _vq = (struct virtqueue *) SyncContext->Parameter; bool res = true; diff --git a/drivers/network/dd/netkvm/Common/ParaNdis-Debug.c b/drivers/network/dd/netkvm/Common/ParaNdis-Debug.c index f66b92502f8..2a64e81050f 100644 --- a/drivers/network/dd/netkvm/Common/ParaNdis-Debug.c +++ b/drivers/network/dd/netkvm/Common/ParaNdis-Debug.c @@ -51,25 +51,25 @@ static VOID NTAPI ParaNdis_OnBugCheck( ); static VOID ParaNdis_PrepareBugCheckData(); -typedef BOOLEAN (*KeRegisterBugCheckReasonCallbackType) ( +typedef BOOLEAN (NTAPI *KeRegisterBugCheckReasonCallbackType) ( __out PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord, __in PKBUGCHECK_REASON_CALLBACK_ROUTINE CallbackRoutine, __in KBUGCHECK_CALLBACK_REASON Reason, __in PUCHAR Component ); -typedef BOOLEAN (*KeDeregisterBugCheckReasonCallbackType) ( +typedef BOOLEAN (NTAPI *KeDeregisterBugCheckReasonCallbackType) ( __inout PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord ); -typedef ULONG (*vDbgPrintExType)( +typedef ULONG (NTAPI *vDbgPrintExType)( __in ULONG ComponentId, __in ULONG Level, __in PCCH Format, __in va_list arglist ); -static ULONG DummyPrintProcedure( +static ULONG NTAPI DummyPrintProcedure( __in ULONG ComponentId, __in ULONG Level, __in PCCH Format, @@ -78,7 +78,7 @@ static ULONG DummyPrintProcedure( { return 0; } -static BOOLEAN KeRegisterBugCheckReasonCallbackDummyProc( +static BOOLEAN NTAPI KeRegisterBugCheckReasonCallbackDummyProc( __out PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord, __in PKBUGCHECK_REASON_CALLBACK_ROUTINE CallbackRoutine, __in KBUGCHECK_CALLBACK_REASON Reason, @@ -89,7 +89,7 @@ static BOOLEAN KeRegisterBugCheckReasonCallbackDummyProc( return FALSE; } -BOOLEAN KeDeregisterBugCheckReasonCallbackDummyProc( +BOOLEAN NTAPI KeDeregisterBugCheckReasonCallbackDummyProc( __inout PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord ) { @@ -105,7 +105,7 @@ KBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord; #if defined(DPFLTR_MASK) //common case, except Win2K -static void DebugPrint(const char *fmt, ...) +static void __cdecl DebugPrint(const char *fmt, ...) { va_list list; va_start(list, fmt); diff --git a/drivers/network/dd/netkvm/Common/ndis56common.h b/drivers/network/dd/netkvm/Common/ndis56common.h index 7cf4236be65..93b624c848c 100644 --- a/drivers/network/dd/netkvm/Common/ndis56common.h +++ b/drivers/network/dd/netkvm/Common/ndis56common.h @@ -500,7 +500,7 @@ typedef struct _tagSynchronizedContext PVOID Parameter; }tSynchronizedContext; -typedef BOOLEAN (*tSynchronizedProcedure)(tSynchronizedContext *context); +typedef BOOLEAN (NTAPI *tSynchronizedProcedure)(tSynchronizedContext *context); /********************************************************** LAZY release procedure returns buffers to VirtIO
2 years, 9 months
1
0
0
0
← Newer
1
...
39
40
41
42
43
44
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Results per page:
10
25
50
100
200