Commit graph

496 commits

Author SHA1 Message Date
Pierre Schweitzer 1a93d83f92
[SDK] Add PsGetCurrentThreadTeb() to the DDK 2018-12-31 11:19:35 +01:00
Pierre Schweitzer ebf8785661
[SERVICES] pszName is a string, mark it so
This fixes returning string with RI_ScQueryServiceTagInfo
2018-12-30 21:44:39 +01:00
Pierre Schweitzer 2ee627ba63
[SERVICES] On service start control message, send the service tag 2018-12-30 21:44:25 +01:00
Pierre Schweitzer dfaee51f98
[SERVICES] Define the RI_ScQueryServiceTagInfo RPC call
All the definitions are taken from ProcessHacker:
https://github.com/processhacker/processhacker/blob/master/phnt/include/subprocesstag.h
2018-12-30 14:26:57 +01:00
Timo Kreuzer 71fefa32db
[NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779)
* Add an NDK header to define INIT_FUNCTION/INIT_SECTION globally
* Use _declspec(allocate(x)) and _declspec(code_seg(x)) on MSVC versions that support it
* Use INIT_FUNCTION on functions only and INIT_SECTION on data only (required by MSVC)
* Place INIT_FUNCTION before the return type (required by MSVC)
* Make sure declarations and implementations share the same modifiers (required by MSVC)
* Add a global linker option to suppress warnings about defined but unused INIT section
* Merge INIT section into .text in freeldr
2018-12-30 12:19:11 +01:00
Timo Kreuzer bcb0d7c6c9 [CABMAN] Fix a problem with creating temp files on some Windows system 2018-12-29 21:37:42 +01:00
Pierre Schweitzer f75ea083e3
[NTOSKRNL_VISTA] Implement FsRtlGetEcpListFromIrp and FsRtlGetNextExtraCreateParameter
CORE-15452
2018-12-25 13:50:41 +01:00
Pierre Schweitzer a76b8843a8
[NTOSKRNL_VISTA] Implement IoGetIrpExtraCreateParameter
CORE-15452
2018-12-25 13:50:40 +01:00
Eric Kohl 9703a42a6e [MC] Fix the build 2018-12-24 18:19:58 +01:00
Eric Kohl f0d096838b [MC] Fix build issue? 2018-12-24 18:10:38 +01:00
Eric Kohl 4e28e65490 [NET] Move TIME, USE, USER, VIEW and NET command syntax and help texts into a message table and add the translators names to the message file. 2018-12-24 11:48:23 +01:00
Eric Kohl 4984e1b810 [NET] Move START, STATISTICS and STOP command syntax and help texts into a message table. 2018-12-24 10:20:44 +01:00
Eric Kohl 01af56140c [NET] Move PAUSE, PRINT, SEND, SESSION and SHARE command syntax and help texts into a message table. 2018-12-24 01:25:30 +01:00
Eric Kohl e560fa2741 [NET] Move HRELPMSG, LOVALGROUP and NAME command syntax and help texts into a message table. 2018-12-24 00:13:16 +01:00
Eric Kohl e1824b5bd3 [NET] Move FILE, GROUP and HELP command syntax and help texts into a message table. 2018-12-23 21:42:49 +01:00
Eric Kohl 34e9290821 [NET] Move COMPUTER, CONFIG and CONTINUE command syntax and help texts into a message table. 2018-12-23 20:22:48 +01:00
Pierre Schweitzer d0b263f26f
[SDK] Set proper lang IDs, aka fix build 2018-12-23 18:22:57 +01:00
Eric Kohl 7292af515d [NET] Move ACCOUNTS command syntax and help text into a message table. 2018-12-23 16:50:25 +01:00
Eric Kohl 5c6eeb5018 [MC] Remove some useless quotation marks from message strings. 2018-12-22 19:04:54 +01:00
Pierre Schweitzer 78d703933d
[SDK] Define GetOwnerModuleFromUdpEntry() 2018-12-21 19:17:11 +01:00
Serge Gautherie 5c77cd9050 [LOG2LINES] Partially sync output format from command line input (#1109) 2018-12-21 00:27:01 +01:00
Giannis Adamopoulos 9924da34cc [USERSRV] Add definition for the USER_CREATE_SYSTEM_THREAD api message 2018-12-19 16:13:18 +02:00
Thomas Faber 0d6dcee968
[CRT] Use explicit C linkage for intrinsic functions.
Fixes MSVC warnings:
sdk\include\crt\xmmintrin.h(33): warning C4162: '_mm_getcsr': no function with C linkage found
sdk\include\crt\xmmintrin.h(35): warning C4162: '_mm_setcsr': no function with C linkage found
2018-12-19 10:55:20 +01:00
Serge Gautherie 36c1b87a0b [PSDK] Fix 5 MSVC-x64 "C4028" warnings about SQL*() (#1160)
Missed parts of sqlext.h in r74826 WineSync.
CORE-13362 CORE-7538
2018-12-18 22:48:40 +01:00
Mark Jansen b5aa5bcdc1
[SDK] Define some constants for use with _mm_prefetch (#1147)
* [SDK] Define some constants for use with _mm_prefetch
This should fix the build for x64
Add __INTRIN_INLINE for gcc and clang
2018-12-16 23:25:52 +01:00
Serge Gautherie d840d7cb1b [CMAKE] MSVC: Make C4028 warning into error, on "i386" only
"C4028: formal parameter N different from declaration"

CORE-7538
2018-12-16 23:12:22 +01:00
Hermès Bélusca-Maïto 596b1a8d24
[STLPORT] Fix MSVC x64 build.
Timo, can you check whether this disabled code block is really needed?
2018-12-15 20:19:31 +01:00
Hermès Bélusca-Maïto f6baf266e1
[PSDK] PSDK-compatibility: Add the SList function declarations to winbase.h. 2018-12-15 20:19:29 +01:00
Pierre Schweitzer 3ceb93a4f2
[PSDK] Complete the MEDIA_TYPE enum 2018-12-15 20:04:00 +01:00
Mark Jansen 97d7206f8b
[MSPATCHA] Initial patch decoding + applying.
Some initial work is done, all testcases pass now.
However a lot of the patch format is still unknown / not working,
so do not expect anything other than the apitest to work yet.
The next thing to do now, is to gather input, output and patch files,
and analyze how the compression and patching works on bigger /
more complex files.
CORE-15417
2018-12-15 16:28:59 +01:00
Mark Jansen 55e0720509
[MSPATCHA][PSDK] Update / add some function definitions 2018-12-15 16:28:59 +01:00
Mark Jansen 570b7655ab
[PSDK] Add a minimal IActiveDesktop definition
CORE-15424
2018-12-12 19:28:58 +01:00
Katayama Hirofumi MZ 25578b7d12 [INCLUDE] Replace \r\n with \n 2018-12-12 09:01:36 +09:00
Mark Jansen 1e568ce62d [SDK] Update gen_baseaddress.
* Speed up the script by using the fallback by default
* Suggest what cmake file to edit
* Add support for x64 modules (addresses not updated yet)
CORE-14923
2018-12-12 00:41:07 +01:00
Eric Kohl 3b03f44001 [PSDK] Add missing prototypes NetRegisterDomainNameChangeNotification and NetUnregisterDomainNameChangeNotification to lmconfig.h. 2018-12-11 22:49:17 +01:00
Timo Kreuzer 05169a4987 Revert "[CMAKE] Use configured include files to define the __RELFILE__ hack (#979)"
This reverts commit 07bd6089ec.
2018-12-11 21:50:58 +01:00
Joachim Henze 34679f5424 [SDK] Raise KERNEL_VERSION_PATCH_LEVEL to 12 in the version.cmake
to fix the blue setup screens and also display in sysdm.cpl
2018-12-09 20:06:40 +01:00
Serge Gautherie b92f1f4cdf
[LOG2LINES] Free all memory on exit. 2018-12-08 17:38:24 +01:00
Serge Gautherie ca2bb9ee28
[LOG2LINES] Optimize malloc() calls. 2018-12-08 17:38:16 +01:00
Hermès Bélusca-Maïto dbaa875f05
[LOG2LINES] Fix indentation. 2018-12-08 17:38:03 +01:00
Serge Gautherie f5f515c17c
[LOG2LINES] Replace overkill malloc() usage.
NOTE: Since the 'cache_name' and 'tmp_name' pointers move inside the
corresponding cached strings, separate cache buffers are needed.
2018-12-08 17:34:18 +01:00
Eric Kohl d383d1c6b0 [PSDK] Add DeleteProfileA/W prototypes to userenv.h. 2018-12-08 15:23:04 +01:00
Serge Gautherie c34fa1e389 [SDK][NDK] Move SYSTEM_POWER_INFORMATION to ntpoapi.h (#869)
As suggested by Thomas Faber. See CORE-12587 for more details.
2018-12-05 13:48:01 +01:00
Eric Kohl 04f35dc8f5 [MC] Add messages 5770-5809 to netmsg.dll.
Netmsg.dll is complete! Translations welcome!
2018-12-01 15:16:10 +01:00
Eric Kohl e6c4933c66 [MC] Add messages 5150-5296 to netmsg.dll. 2018-12-01 14:40:26 +01:00
Eric Kohl 54c123aa45 [MC] Add messages 5000-5104 to netmsg.dll. 2018-12-01 13:08:20 +01:00
Eric Kohl 4692f5f1cc [MC] Add messages 4930-4999 to netmsg.dll. 2018-12-01 11:35:56 +01:00
Katayama Hirofumi MZ 165fa1fa7e
[INCLUDE] Update winxx.h and msgdump.h (#1083) 2018-12-01 18:58:43 +09:00
Eric Kohl 792dd0dac5 [MC] Add messages 4800-4862 to netmsg.dll. 2018-11-30 23:58:59 +01:00
Hermès Bélusca-Maïto e6e9cdf8e0
[SDK] Add transact.idl, txcoord.idl and txdtc.idl, and introduce MS-PSDK-compatible adsiid library that defines GUIDs used by ADS interfaces. 2018-11-30 21:49:23 +01:00