Serge Gautherie
acbe74497f
[PSDK] wincodec.idl: Add GUIDs which exist on WDK 7.1 ( #3628 )
2021-09-24 03:24:05 +03:00
Katayama Hirofumi MZ
df6fff78bb
[IMM32] Rewrite ImmAssociateContextEx ( #3961 )
...
- Rewrite ImmAssociateContextEx function.
- Modify NtUserAssociateInputContext prototype.
CORE-11700
2021-09-16 19:29:49 +09:00
Hermès Bélusca-Maïto
9393fc320e
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93.
...
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
2021-09-13 03:52:22 +02:00
Doug Lyons
236649c626
[UXTHEME][NTUSER] Fix flashing of scrollbar when scrolling ( #3868 )
...
Based on a patch by I_Kill_Bugs.
2021-09-03 22:34:26 +03:00
Katayama Hirofumi MZ
1d0587fc27
[IMM32] Rewrite ImmProcessKey ( #3917 )
...
- Rewrite ImmProcessKey function.
- Modify win32ss/include/imetable.h.
- Modify ImmProcessKey prototype.
CORE-1170
2021-08-21 07:22:43 +09:00
Katayama Hirofumi MZ
77911014f3
[IMM32] Rewrite ImmIsUIMessageA/W ( #3907 )
...
- Rewrite ImmIsUIMessageA and ImmIsUIMessageW functions.
- Modify HIMC and HIMCC handle types for strictness. Add typecasts.
- Add WM_IME_SYSTEM macro.
- Modify imm32.spec.
CORE-11700
2021-08-16 15:33:51 +09:00
Hervé Poussineau
e763bec6cd
[PSDK] Add DRIVER_UNTRUSTED_RANK define
2021-08-05 23:45:20 +02:00
Katayama Hirofumi MZ
692a30a84a
[IMM32] ImmCreateContext, ImmDestroyContext, DllMain etc. ( #3867 )
...
- Rewrite ImmCreateContext, ImmDestroyContext, and DllMain functions.
- Add g_hImm32Inst, g_bClientRegd, and g_SharedInfo global variables. Delete g_dwImm32Flags (that was g_psi->dwSRVIFlags).
- Implement ImmLoadIME and ImmRegisterClient functions.
- Modify CLIENTIMC and IMEDPI structures. Move CLIENTIMC definition into ntuser.h.
- Add file win32ss/include/imetable.h.
- Rename SRVINFO_METRICS macro as SRVINFO_CICERO_ENABLED.
CORE-11700
2021-08-04 09:41:59 +09:00
Timo Kreuzer
5d8e834897
[REACTOS] Fix a number of MSVC warnings
2021-07-23 22:03:48 +02:00
Hervé Poussineau
f26fe3f1f8
[PSDK] Add missing field 'pdo' in VIDEO_MONITOR_DEVICE structure
2021-07-05 23:44:35 +02:00
Jérôme Gardou
ada609bdbc
[PSDK] Alias _Check_return_ annotation to warn_unused_result attribute
2021-06-28 10:20:57 +02:00
Jérôme Gardou
d1f5c31820
[SDK] Add GCC overrides for SAL annotations
...
GCC has some functions, variables & type attributes which can be used as aliases
for some of the SAL annotations. Although it's not as rich & precise, it's still useful
since we actually enable -Werror on GCC builds whereas we don't use such an option
on MSVC builds.
For now, _Must_inspect_result_ is aliased to warn_result_unused attribute.
2021-06-28 10:20:57 +02:00
Timo Kreuzer
8a68820429
[SDK] Add missing sal annotations in driverspecs.h and kernelspec.h
...
CORE-6706
2021-06-28 08:48:59 +02:00
Victor Perevertkin
34593d933b
[FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces
2021-06-11 15:33:08 +03:00
Hermès Bélusca-Maïto
db089c517e
[PSDK] Remove a buggy GNU-specific "PACKED" attribute in KEY_EVENT_RECORD structure declaration. ( #3619 )
...
CORE-17545
No other public header out there (in MS PSDK, MinGW, Wine, etc...) does have
this hack (that was introduced back in the days in r15141 / commit 01df92bc ).
Add static assert on KEY_EVENT_RECORD's uChar member to ensure it's properly aligned.
May fix Clang warning:
win32ss/user/winsrv/consrv/lineinput.c:457:62: warning: taking address of packed member 'uChar' of class or structure '_KEY_EVENT_RECORD' may result in an unaligned pointer value [-Waddress-of-packed-member]
LineInputEdit(Console, (Overstrike ? 1 : 0), 1, &KeyEvent->uChar.UnicodeChar);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
and whatnot...
2021-05-05 17:24:12 +02:00
Jérôme Gardou
523912536e
[KERNEL32] Sync NLS RC files with wine 6.7
...
Mostly for having them UTF-8 encoded
2021-05-03 22:00:57 +02:00
Jérôme Gardou
061c7ecb1a
[FRAMEDYN] Fix the whole situation with regards to wchar_t
...
Alias CHSTRING_WCHAR to unsigned short and use inline wrappers
to be able to use the thing with modern compilers
Put the GCC aliases into the public header.
Enable build with clang-cl
2021-05-03 22:00:57 +02:00
Serge Gautherie
f1689cdcea
[PSDK] UnlockResource(): Improve definition
...
Sync' with
https://source.winehq.org/git/wine.git/commit/a9e50da352e32d4c1bc8d0a686efa1e1bb7a84da
2021-05-01 09:48:02 +02:00
Jérôme Gardou
ba74a05a17
[PSEH] Add implementation for GCC amd64
...
Also, put include directory next to the library and use
target_include_directories(.. INTERFACE ..) to get this right.
This is because :
- Having includes & implementation in two different places buggers me
- This makes sure that there is no "if it compiles everything is fine" behaviour from anyone
because now even static libraries need it for GCC amd64 build
Also add __USE_PSEH2__ define for the non SEH-aware compilers out there and use it in a few headers
where we define macros involving __try
2021-04-28 13:10:23 +02:00
Jérôme Gardou
7513cc9fca
[PSDK] Do not compare to max value if we can make sure that the value fits in target type
...
This fixes clang warning -Wtautological-constant-out-of-range-compare
2021-04-28 13:10:23 +02:00
Jérôme Gardou
ba9a7decba
[PSDK] Import winuser.rh from wine 6.7
2021-04-27 11:54:12 +02:00
Katayama Hirofumi MZ
66f6abfc4a
[SDK][INCLUDE] Fix offsetof and CCSIZEOF_STRUCT for Clang-CL build ( #3624 )
...
Clang-CL was failing with "error: function declaration cannot have variably modified type". This PR will fix the Clang-CL build. CORE-17547
2021-04-25 13:38:22 +09:00
Serge Gautherie
7ca16bf696
[PSDK] winbase.h: Update LoadLibraryEx() dwFlags value defines ( #3456 )
...
Add another Vista check.
Addendum to 986cc5e .
2021-02-17 00:37:48 +09:00
Serge Gautherie
986cc5e8e2
[PSDK] winbase.h: Update LoadLibraryEx() dwFlags value defines ( #3153 )
...
* Deci-to-Hexa.
* Add more values.
* Add a Vista check.
2021-02-13 23:16:49 +09:00
Hermès Bélusca-Maïto
1303a7dc1c
[PSDK] Whoopsie... Fix "PPPARTITION_INFORMATION_GPT" typo (extra 'P'), caught by BieHDC :)
...
Addendum to 8a6ed591 .
2021-01-08 17:12:21 +01:00
Hermès Bélusca-Maïto
8a6ed59156
[PSDK] Add missing PPARTITION_INFORMATION_GPT, PPARTITION_INFORMATION_MBR, PPARTITION_INFORMATION_EX definitions.
...
Addendum to commit 7ae3d530 .
2021-01-08 01:36:58 +01:00
Hervé Poussineau
3468e27cfe
[SDK] Fix hack for GCC, so that it works on GCC x86 and GCC x64
2021-01-05 14:19:45 +01:00
Jérôme Gardou
5f3d3d7d48
[PSDK] Add more safe integer routines for LONGLONGs
2021-01-05 13:40:35 +01:00
winesync
f64bdd0732
[WINESYNC] wininet/tests: Fix some test failures with Windows 10.
...
Windows 10 1607+ no longer validates a NULL window handle, so remove that test.
Signed-off-by: Zebediah Figura <[email protected] >
Signed-off-by: Alexandre Julliard <[email protected] >
wine commit id 6b839a0f85236aac2cc794d5d586f1ba371866b1 by Zebediah Figura <[email protected] >
2021-01-05 11:03:13 +01:00
winesync
33fde115eb
[WINESYNC] wininet: Add support for detecting the proxy config URL.
...
Signed-off-by: Hans Leidekker <[email protected] >
Signed-off-by: Alexandre Julliard <[email protected] >
wine commit id a4357043ff9aa14f086207c239f0fc29c0a24b83 by Hans Leidekker <[email protected] >
2021-01-05 11:03:13 +01:00
Hermès Bélusca-Maïto
fb9d8e5239
[PSDK][XDK] Add newer FILE_DEVICE_xxx DEVICE_TYPE defines.
2020-12-27 00:51:57 +01:00
Oleg Dubinskiy
d5132f5ce3
[BROWSEUI][PSDK] Stubplement ShellTaskScheduler ( #3326 )
...
Required by MS Picture and Fax Viewer (shimgvw.dll).
Now it starts properly without replacing any other system files.
CORE-17337
2020-12-20 22:06:16 +03:00
Oleg Dubinskiy
1f5e0f3fa7
[BROWSEUI][PSDK] Stubplement UserAssist
...
Initial implementation of `CUserAssist` class, which contains `IUserAssist` interface.
See https://www.geoffchappell.com/studies/windows/ie/browseui/classes/userassist.htm .
Required by MS shell32.dll.
CORE-17345 CORE-17393
2020-12-20 17:32:11 +03:00
Jérôme Gardou
003ad0ec07
[PSDK] define __analysis_noreturn for clang static analyzer
2020-12-14 18:22:07 +01:00
Hermès Bélusca-Maïto
7ae3d530db
[PSDK] Re-arrange DISK/DRIVE/PARTITION layout-related structures in ntdddisk.h and winioctl.h. Add few missing structures in winioctl.h.
2020-12-06 23:44:10 +01:00
Victor Perevertkin
901c457b63
[PSDK] Add more 32 and 64-bit definitions to ntddscsi.h
2020-11-13 03:15:31 +03:00
Timo Kreuzer
0e5a4d5afe
[PSDK] Import some SAL headers from MS
...
Taken from https://github.com/microsoft/ChakraCore/tree/master/pal/inc/rt
* Move _Check_return_opt_ and _Check_return_wat_ to crtdefs.h
* Update sal.h from https://github.com/microsoft/ChakraCore/blob/master/pal/inc/rt/sal.h
* Import no_sal2.h from MS and remove the one in NDK
* Import specstrings.h from MS
* Import specstrings_strict.h from MS
* Add specstrings_undef.h (based on defines in specstrings_strict.h)
* Remove __REACTOS__ hacks from cdfs
2020-10-29 06:51:28 +01:00
Mark Jansen
a7c1f9a014
[PSDK] Add some argument names
2020-10-11 17:00:59 +02:00
Serge Gautherie
05347f7168
[PSDK] dsrole.h: Define DSROLE_PRIMARY_DS_READONLY ( #3288 )
2020-10-10 22:27:07 +02:00
Victor Perevertkin
7af229f5b5
[PSDK] Fix order and formatting of IOCTL definitions in ntddcdrm.h
2020-09-24 17:44:18 +03:00
Victor Perevertkin
99489553fc
[PSDK] Add definitions required for newer storage class drivers (cdrom)
...
CORE-17129
2020-09-24 17:31:15 +03:00
Victor Perevertkin
87a5311116
[SDK] Fix __forceinline definition for C++
2020-09-24 05:33:35 +03:00
Kyle Katarn
da36f799c7
[SHELL32] Minimal SHRunControlPanel implementation ( #3095 )
...
CORE-9215
Co-authored-by: Stanislav Motylkov <[email protected] >
2020-09-19 16:23:44 +02:00
winesync
006ce9607c
[WINESYNC] dbghelp: SymSet/GetExtendedOption support a WINE only option.
...
Signed-off-by: Alistair Leslie-Hughes <[email protected] >
Signed-off-by: Alexandre Julliard <[email protected] >
wine commit id fa5e5df71db231f6fca9c7a40792c17e9bbe5027 by Alistair Leslie-Hughes <[email protected] >
2020-09-16 10:35:41 +02:00
winesync
1a20474d99
[WINESYNC] dbghelp: Add SymGetExtendedOption/SymSetExtendedOption stubs.
...
Signed-off-by: Alistair Leslie-Hughes <[email protected] >
Signed-off-by: Alexandre Julliard <[email protected] >
wine commit id 3fed8787251882c70eeadefb230cd2ff4b251ac2 by Alistair Leslie-Hughes <[email protected] >
2020-09-16 10:35:41 +02:00
winesync
8de32aeab5
[WINESYNC] include: Add missing SYMOPT_* defines.
...
Signed-off-by: Alistair Leslie-Hughes <[email protected] >
Signed-off-by: Alexandre Julliard <[email protected] >
wine commit id 620da60f7f7939261192680d10012e31426ba5b3 by Alistair Leslie-Hughes <[email protected] >
2020-09-16 10:35:41 +02:00
winesync
34d40a5f3d
[WINESYNC] dbghelp: Support full memory dumps.
...
Add support of flag MinidumpWithFullMemory in function
MinidumpWriteDump. A Memory64ListStream is added to the minidump
streams and all memory regions of the process with MEM_COMMIT state
are written to the last part of the minidump file.
Signed-off-by: Eric Bissonnette <[email protected] >
Signed-off-by: Alexandre Julliard <[email protected] >
wine commit id b90bbcbe750f6af0ce13f2577984f4818e05a013 by Eric Bissonnette <[email protected] >
2020-09-16 10:35:40 +02:00
winesync
94e2d456db
[WINESYNC] dbghelp: Add SYMFLAG_- and SYMTYPE_-defines.
...
Signed-off-by: Andreas Maier <[email protected] >
Signed-off-by: Alexandre Julliard <[email protected] >
wine commit id 3b01149d8677fa86addfb67414d793684779c5ce by Andreas Maier <[email protected] >
2020-09-16 10:35:39 +02:00
Jérôme Gardou
4421abdb59
Revert "[DBGHELP] Add SYMFLAG_- and SYMTYPE_-defines."
...
This reverts commit 9466a005e9 .
This will be applied later through the winesync script
2020-09-16 10:35:36 +02:00
Jérôme Gardou
a84b0dbe6b
[LIBWINE] make wine_get_dos_file_name available
...
And complain loudly when we get a *real* unix file name
2020-09-16 10:35:30 +02:00