Eric Kohl
2125fec23a
[HOTPLUG] Enable the hotplug.cpl and add the 'Safely Remove Hardware' dialog
2020-03-30 00:38:33 +02:00
Mark Jansen
177ae91bf6
[RTL] Introduce RtlpImageNtHeader,
...
which implements the required functionality.
ntdll and ntoskrnl now have a wrapper for this, with SEH.
This protects the function against malformed / bad images,
whilst still being able to use the code in freeldr et al.
Idea from Thomas.
CORE-14857
2020-03-29 21:27:38 +02:00
Mark Jansen
4b2665046d
[NDK] Ensure RTL_IMAGE_NT_HEADER_EX_FLAG_NO_RANGE_CHECK is available regardless of NTOS_MODE_USER being defined.
...
CORE-14857
2020-03-29 21:27:38 +02:00
Mark Jansen
2801a8272d
[LDR] Include source dll in static snap failure dprint
2020-03-29 21:02:31 +02:00
Andreas Maier
782ff23261
[MSV1_0] LsaApLogonUserEx2: use RtlRunDecodeUnicodeString to decode password
2020-03-28 23:27:34 +01:00
Serge Gautherie
72fa935128
[CMAKE] kernel32_winetest: Enable 'generated.c', at last
...
Follow-up to 20f4039666
.
ROSTESTS-251
2020-03-28 20:57:16 +01:00
Serge Gautherie
9bbbe84ca3
[KERNEL32_WINETEST] Uncomment out 'LPEXCEPTION_RECORD' checks
...
Revert part of r70802 (dd21fa115a
).
Follow-up to 2e82175ba4
.
ROSTESTS-251
2020-03-28 20:56:25 +01:00
Serge Gautherie
d471558dbc
[WINETESTS] */generated.c: Remove forced 0x0501 API versions
...
This actually affects 2 modules only:
* kernel32: this file is still commented out, these defines were going to be deactivated anyway.
* rpcrt4: I don't know why it had these defines (still) activated. Anyway.
Import
aa384d3642
2020-03-28 20:50:28 +01:00
Serge Gautherie
8d3d2b1bef
[SHELL32_WINETEST] shlexec.c: Remove forced 0x0501 API versions
...
No impact, as already deactivated.
Import
8fc0b7d525
2020-03-28 20:46:44 +01:00
Serge Gautherie
9d943b788a
[RPCRT4_WINETEST] ndr_marshall.c: Remove forced 0x0500 API versions
...
Import
57f08ba525
2020-03-28 20:46:44 +01:00
Serge Gautherie
5542dd50d6
[ADVAPI32] wine/crypt.*: Misc fixes
...
Import
62df03af96
8b9e3dae4f
2df16753f0
And use explicit '#ifndef __REACTOS__'.
2020-03-28 20:43:04 +01:00
Serge Gautherie
8ae8083378
[ADVAPI32][PSDK] CryptReleaseContext(): dwFlags parameter is DWORD, only
...
Import
9cc8b501ee
2020-03-28 20:43:03 +01:00
Serge Gautherie
df224cb710
[ADVAPI32] wine: Remove remnant ros_diff.patch
...
Added on 4234345b03
(r48090),
merged on d4a89f6cca
.
CORE-14434
2020-03-28 20:43:03 +01:00
Serge Gautherie
16f47d5e6f
[WORDPAD] Restore code commas in no-NO.rc
...
".../no-NO.rc:81: syntax error"
2020-03-28 20:40:34 +01:00
Thomas Faber
f027384e48
[KMTEST] Delete special-purpose driver services on unload. ROSTESTS-263
...
Based on a patch by Serge Gautherie.
2020-03-28 20:33:43 +01:00
jimtabor
915a5764a9
[Win32SS] Form Sanity to Hook Callbacks
...
Fix WH_CALLWNDPROC/RET data to user hook calls. See CORE-13019 and CORE-13907.
2020-03-28 14:18:14 -05:00
jimtabor
d8add40e89
[User32] Fix null return.
...
See CORE-16769.
2020-03-28 14:03:15 -05:00
Bișoc George
7481bda679
[SDK][NDK][PSTYPES] Align the PROCESS_PRIORITY_CLASS structure during compile time ( #2478 )
...
CORE-16757
After doing investigations on the priority class structure alignment, it's been revealed that in Windows XP and Server 2003 this PROCESS_PRIORITY_CLASS structure is aligned as a 4-bytes of size hence NtQueryInformationProcess() probes the alignment of user mode arguments buffer output and buffer length with requirement of a ULONG.
As PROCESS_PRIORITY_CLASS was initially aligned as a 1-byte size because both BOOLEAN and UCHAR are just unsigned characters, the compiler may not align such structure and gracefully let the default alignment of such structure as is, 1-byte because an unsigned char has a size of 1 byte. Setting an align attribute to this structure fixes the problem of a potential datatype misalignment which caused GetPriorityClass() to not retrieve the process' priority class properly.
2020-03-28 19:17:10 +01:00
Andreas Maier
2d36be4963
[MSV1_0] use precompiled headers ( #2475 )
2020-03-28 17:13:57 +01:00
Victor Perevertkin
99f9c1666d
[NTOS:MM] Make _X86PAE_ the only define for PAE-enabled kernel
2020-03-28 18:11:42 +03:00
Vadim Galyant
ae0e0569d5
[SDK][NDK] MMPTE for PAE ( #2453 )
...
This not only makes PAE possible, but also allows to make the definitions and macros in the memory manager header files more human-readable.
CORE-16702
* [SDK][NDK] Make the _MMPTE_HARDWARE structure more compact and more human-readable.
* [SDK][NDK] Add definitions a struct _MMPTE for PAE mode.
2020-03-28 13:45:51 +01:00
Serge Gautherie
660383b855
[WINEFILE] Fix 'LANGUAGE_SI_SI' typo ( #2474 )
2020-03-28 13:23:35 +01:00
Bișoc George
fcb156388d
[NTDLL_APITEST] Add testcase for process priority class. CORE-16757
...
Currently the testcase function only addresses the behaviour of getting an
unaligned buffer (either of correct length size or not) for now.
2020-03-28 13:10:44 +01:00
Hervé Poussineau
f5658fd3b4
[STORAHCI] Replace some __inline by FORCEINLINE
...
Functions were declared as __inline, then used, and then defined.
This leads to some linking errors with some compilers.
2020-03-26 16:39:16 +01:00
Hervé Poussineau
796c1ac993
[TCPIP] Add some static specifiers, to prevent exporting FORCEINLINE function outside compilation unit
2020-03-26 16:39:16 +01:00
Hervé Poussineau
ae5d2dbb9e
[WIN32K] Add some static specifiers, to prevent exporting FORCEINLINE function outside compilation unit
2020-03-26 16:39:16 +01:00
Hervé Poussineau
8649ed90a8
[FSUTIL] Mark some functions as static (only used in this file)
2020-03-26 16:39:16 +01:00
Hervé Poussineau
ff045b2dbe
[NDK] Fix RTL_PAGED_CODE macro in user mode
...
NOP_FUNCTION is defined to "(void)0". Calling :
RTL_PAGED_CODE();
in user mode was changed to:
(void)0();
As "0" is not callable, this was leading to a compilation error.
2020-03-26 16:39:16 +01:00
Hervé Poussineau
7eac585ebf
[SDK] Fix dummy SEH to always reference the parameter in _SEH2_EXCEPT
...
Otherwise, we may have compilation errors if this parameter is the name of a static function.
2020-03-26 16:39:16 +01:00
Hervé Poussineau
5ed1867632
[CMAKE] Add some -D__ROS_LONG64__ to please gcc x64
...
We can now pass a UINT* to a function wanting a DWORD*
2020-03-26 16:39:16 +01:00
Hervé Poussineau
7cda1ed2f5
[ISAPNP] Report DMA channels
2020-03-26 16:36:23 +01:00
Hervé Poussineau
eb66324d7c
[ISAPNP] Fix reporting of devices with hexadecimal productId
2020-03-26 16:36:22 +01:00
Serge Gautherie
1edfddf07a
[USERENV] sq-AL: Fix '%SistemDrive%' typo ( #2469 )
...
Not to translate!
CORE-16762
2020-03-26 07:28:09 +01:00
Serge Gautherie
d720975574
[BOOTDATA] Add 0845 (bn-bd) language ( #2467 )
...
In accordance with the NLS value specified in base/setup/lib/lang/bn-BD.h
CORE-16766
2020-03-26 02:05:05 +01:00
Serge Gautherie
94f6db22d1
[PING] Do not abort (as OoM) when request size = 0
2020-03-25 08:52:28 +03:00
Jérôme Gardou
2928084e2f
[WIN32K] Fix bounds calculation when drawing with a pen
2020-03-24 14:39:27 +01:00
Eric Kohl
38788a2b07
[STORPROP] Add storprop.dll and implement the DiskClassInstaller stub
2020-03-22 16:40:35 +01:00
Hervé Poussineau
67141abef1
[ISAPNP] Create requirements and resource lists when detecting a device
2020-03-22 14:29:38 +01:00
Hervé Poussineau
0ca5567894
[ISAPNP] Read all tags when detecting devices, and keep interesting ones
...
Currently, we only keep device identification, IO ports and IRQs.
2020-03-22 14:29:38 +01:00
Hervé Poussineau
61c1079a18
[ISAPNP] Create resource list ahead of IRP_MN_QUERY_RESOURCES
2020-03-22 14:29:38 +01:00
Hervé Poussineau
debec8c96e
[ISAPNP] Create resource requirements ahead of IRP_MN_QUERY_RESOURCE_REQUIREMENTS
2020-03-22 14:29:38 +01:00
Hervé Poussineau
1dcc6f8b94
[ISAPNP] Fix capabilities for devices
2020-03-22 14:29:38 +01:00
Hervé Poussineau
42724f47f8
[ISAPNP] Return a compatibleIDs only if defined
2020-03-22 14:29:38 +01:00
Hervé Poussineau
b905c40d2e
[ISAPNP] Fix some indentation
2020-03-22 14:29:38 +01:00
Timo Kreuzer
4860aa645c
[WINSRV] Use DIB section for frame buffer bitmap
2020-03-22 12:05:05 +01:00
Eric Kohl
01fd69dfe2
[STOBJECT] Remove obsolete code and use string resources instead of hard-coded strings
2020-03-22 11:32:35 +01:00
jimtabor
78098f99e0
[Explorer|Shell32] Fix Build
...
Missed a file. See CORE-14439.
2020-03-21 19:18:15 -05:00
jimtabor
10d1afea18
[Explorer|Shell32]
...
Fix SHAppBarMessage (not perfect) by adapting wine code. See CORE-14439.
More work is required. Kept the original code for reference.
Example : SetWindowPos should be called via Post Message.
Code commit is to wake up other developers.
2020-03-21 19:13:55 -05:00
Eric Kohl
fc999e18af
[STDOBJECT] Show the hotplug icon when a USB-Stick is inserted
...
- Enable the hotplug service by default
- Start a timer on WM_DEVICECHANGE:DBT_DEVNODES_CHANGED to trigger the removable device detection.
2020-03-21 23:46:24 +01:00
Eric Kohl
93e72ed3d6
[NTOS:IO] Fix indentation. No code changes!
2020-03-21 14:32:18 +01:00