Akihiro Sagawa
4fe6460a30
advapi32: Return required buffer size in RegLoadMUIString.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:27:33 +02:00
Akihiro Sagawa
2d9a7cd39d
advapi32: Remove useless RegLoadMUIStringA implementation.
...
This commit avoids brokeness in advance.
Otherwise, it will be broken when we support ERROR_MORE_DATA in
RegLoadMUIStringW.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:26:59 +02:00
Akihiro Sagawa
bfdfe85229
advapi32: Improve load_string to return error code.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:26:47 +02:00
Akihiro Sagawa
ec716f74d7
advapi32: Improve parameter sanity checks in RegLoadMUIString.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:26:18 +02:00
Akihiro Sagawa
1b7f3698f0
advapi32: Support the base directory parameter in RegLoadMUIString.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:25:19 +02:00
Akihiro Sagawa
c29a5560a6
advapi32/tests: Add basic RegLoadMUIString tests.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 13:24:53 +02:00
Alexandre Julliard
6e0a5b81a4
advapi32: Use strncmpiW instead of memicmpW for strings without embedded nulls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-07 11:30:29 -05:00
Louis Lenders
8c61f824f9
advapi32: Add InitiateShutdown{A,W} stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47131
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-07 09:16:47 -05:00
Austin English
1a5ad9e65d
advapi32: In ReadEventLogA/W, return ERROR_HANDLE_EOF instead of ERROR_CALL_NOT_IMPLEMENTED.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46905
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:53 -05:00
Qian Hong
1058647e14
server: Create primary group using DOMAIN_GROUP_RID_USERS.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 11:15:29 +02:00
Vijay Kiran Kamuju
a7b8e84567
advapi32/tests: Add additional tests for NtAccessCheck.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-26 21:36:25 +02:00
Erich E. Hoover
92ee3543e5
advapi32: Fix the initialization of combined DACLs when the new DACL is empty.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38423
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-26 21:35:38 +02:00
Erich E. Hoover
9aac7ca191
advapi32: Move the DACL combining code into a separate routine.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-26 21:34:40 +02:00
Qian Hong
48821e2b16
advapi32/tests: Test prefix and use of TokenPrimaryGroup Sid.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-26 21:28:19 +02:00
Erich E. Hoover
5a79077250
server: Add default security descriptor DACL for processes.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=15980
Signed-off-by: Erich E. Hoover <erich.e.hoover@gmail.com>
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 21:57:48 +02:00
Erich E. Hoover
e11e8705eb
server: Add default security descriptor ownership for processes.
...
Signed-off-by: Erich E. Hoover <erich.e.hoover@gmail.com>
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 21:57:48 +02:00
Detlef Riekenberg
9e8e520467
advapi32/tests: Accept failure code from recent win10.
...
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 09:21:14 +01:00
Austin English
acdedf4f0c
advapi32: Add RegLoadAppKeyA/RegLoadAppKeyW stubs.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41591
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 19:15:59 +01:00
Louis Lenders
642d6c695a
advapi32: Add AuditQuerySystemPolicy stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46643
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 19:10:34 +01:00
Dmitry Timoshkov
cd5c9a2bed
advapi32: CryptAcquireContext(CRYPT_DELETEKEYSET) should set returned provider handle to 0.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:32:59 +01:00
Dmitry Timoshkov
b13b8ccc1f
advapi32/tests: Add a test for provider handle returned by CryptAcquireContext(CRYPT_DELETEKEYSET).
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:32:57 +01:00
Hans Leidekker
8021d449f4
advapi32: Add a stub implementation of SaferIdentifyLevel.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:32:09 +01:00
Jacek Caban
8a2347baff
services: Associate notify handle with service handle instead of service entry.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-28 22:23:28 +01:00
Jacek Caban
9084b9761d
advapi32/tests: Add test using NotifyServiceStatusChange on different handles of the same service.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-28 22:23:19 +01:00
Akihiro Sagawa
64addb512b
advapi32: Load a resource dll as data file in RegLoadMUIStringW.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46266
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-12 19:43:12 +01:00
Alex Henrie
bf413496cd
advapi32: Turn several string variables into static constants.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 11:41:05 +01:00
Alistair Leslie-Hughes
cb8353b6e8
advapi32: Add DECL_HOTPATCH to registry functions.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46135
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-14 17:48:55 +01:00
Michael Stefaniuc
dc235ab4a7
advapi32: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-12 20:32:11 +01:00
Alex Henrie
c296a21cdb
advapi32: Fix memory leak in QueryServiceConfig2W (Coverity).
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-06 21:04:04 +01:00
Louis Lenders
924fd31cad
advapi32: Add stub for RegQueryReflectionKey.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45796
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-30 19:00:35 +01:00
Jacek Caban
2600ecd4ed
server: Use a separated object for each opened named pipe device file.
...
Allows using proper options for ioctl pseudo fd.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-30 00:10:14 +01:00
Alexandre Julliard
2769bb1e9b
kernel32: Add CreateProcessAsUserA/W.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-26 21:18:26 +02:00
Brendan McGrath
c970b263c0
advapi32: Don't create a WoW6432 MachineGuid.
...
Signed-off-by: Brendan McGrath <brendan@redmandi.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-18 19:56:20 +02:00
Nikolay Sivov
afaada7e5f
advapi32: Add a name for WinBuiltinAnyPackageSid.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-08 09:32:36 +02:00
Nikolay Sivov
7c0cd8c740
advapi32: Add WinCreatorOwnerRightsSid to wellknown list.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-08 09:32:21 +02:00
Nikolay Sivov
7f30ad1e47
advapi32/tests: Test return SIDs for wellknown two-character names.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-08 09:32:14 +02:00
Alexandre Julliard
ac7ae92af1
server: Allow specifying the security descriptor for a new process.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 14:50:48 +02:00
Alexandre Julliard
39afcaac4a
server: Create the initial thread as a separate request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 14:50:48 +02:00
Joris van der Wel
adede14dc2
advapi32/tests: Add additional tests for passing a thread sd to CreateProcess.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-18 21:07:17 +02:00
André Hentschel
056c0039b2
advapi32/tests: Allow ERROR_ACCESS_DENIED for newer Win10.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 18:33:48 +02:00
Louis Lenders
b80780ad0f
advapi32: Add stub for TraceSetInformation.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45813
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-14 12:54:33 +02:00
André Hentschel
56885a1ca9
advapi32/tests: Allow ERROR_ACCESS_DENIED for newer Win10.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-10 12:31:58 +02:00
Jacek Caban
58233b47e0
kernel32: Always create file with FILE_READ_ATTRIBUTES access in CreateFile.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-21 23:02:28 +02:00
Guillaume Charifi
94dda4690b
kernel32: Add stub for GetDynamicTimeZoneInformationEffectiveYears().
...
Signed-off-by: Guillaume Charifi <guillaume.charifi@sfr.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Dmitry Timoshkov
6500f882da
advapi32: Read the configured object list for the performance provider.
...
FIXME: it's not currently used, but the queries should be matched
against the configured object lists, and the providers should be
loaded and called only in case of a match.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:54 +02:00
Dmitry Timoshkov
8be6b299bc
advapi32: If the query is not specified the default query is "Global".
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:54 +02:00
Dmitry Timoshkov
a77eed47b4
advapi32: Performance providers' Open() expects to see the configured name as its parameter.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:54 +02:00
Dmitry Timoshkov
903de9b678
advapi32: Add initial support for querying performance counters data.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:54 +02:00
Dmitry Timoshkov
72a7de1a0f
advapi32/tests: Add more tests for performance counters.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 15:45:11 +02:00
Michael Stefaniuc
962b31c80b
include: Add a generic available ARRAY_SIZE().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-04 10:39:15 +02:00