Mark Jansen [Tue, 27 Dec 2016 18:10:52 +0000 (18:10 +0000)]
[SERVICES] Addendum to r73487: Fix the build.
svn path=/trunk/; revision=73488
Hermès Bélusca-Maïto [Tue, 27 Dec 2016 15:26:01 +0000 (15:26 +0000)]
[SERVICES]: Addendum to r73486: Start all services within LocalSystem account as a temporary measure in trunk until we completely support per-service account logging.
CORE-12541, CORE-12279
svn path=/trunk/; revision=73487
Hermès Bélusca-Maïto [Tue, 27 Dec 2016 15:06:23 +0000 (15:06 +0000)]
[SERVICES]: Add a *temporary* hack, as part of CORE-12541 and CORE-12279, that manually creates and loads the "LocalService" and "NetworkService" accounts and user profiles (and their registry hives), inspired from code from userenv.dll . This is done here until services can be correctly logged into the "LocalService" or "NetworkService" accounts (Eric is working on that), and their user profiles automatically properly created. When this is OK the hack will be removed and a proper call to "LoadUserProfile" in the code will be done where needed.
svn path=/trunk/; revision=73486
Hermès Bélusca-Maïto [Sun, 25 Dec 2016 15:47:51 +0000 (15:47 +0000)]
[ADVAPI32][LSA][IDL]: Fix the parameter type of some functions + fix associated LSA IDL file (ref: https://msdn.microsoft.com/en-us/library/
cc234411.aspx )
svn path=/trunk/; revision=73484
Hermès Bélusca-Maïto [Sun, 25 Dec 2016 15:06:31 +0000 (15:06 +0000)]
[XDK][RTL]: Fix parameter of RtlUnicodeStringToCountedOemString (see r51875); add RtlUpcaseUnicodeStringToAnsiString into XDK.
svn path=/trunk/; revision=73483
James Tabor [Fri, 23 Dec 2016 18:42:47 +0000 (18:42 +0000)]
[NtGDI]
- Turn off debug DC Bounds spam.
svn path=/trunk/; revision=73482
James Tabor [Fri, 23 Dec 2016 17:40:09 +0000 (17:40 +0000)]
[NtGDI]
- Turn off debug DC Bounds spam.
svn path=/trunk/; revision=73481
Hermès Bélusca-Maïto [Fri, 23 Dec 2016 11:43:21 +0000 (11:43 +0000)]
[KERNEL32]: Addendum to r73479: display the file that failed to be opened before releasing SxsWin32RelativePath as PathName might be equal to SxsWin32RelativePath.RelativeName. Spotted by Mark Jansen (actually he got it right at the beginning :) )
svn path=/trunk/; revision=73480
Hermès Bélusca-Maïto [Thu, 22 Dec 2016 22:37:26 +0000 (22:37 +0000)]
[KERNEL32]: Improve SxS DPRINT info, based on Mark Jansen's suggestion. CORE-10524
svn path=/trunk/; revision=73479
Mark Jansen [Thu, 22 Dec 2016 21:25:37 +0000 (21:25 +0000)]
[CMD] Show the executed command in the title, do not restore the old title when it is modified. CORE-12586
svn path=/trunk/; revision=73478
Mark Jansen [Thu, 22 Dec 2016 20:51:38 +0000 (20:51 +0000)]
[BOOTDATA] Update AHKAppTests.cmd to check all drives for the AHK-Tests. CORE-12597 #resolve
svn path=/trunk/; revision=73477
James Tabor [Thu, 22 Dec 2016 17:34:58 +0000 (17:34 +0000)]
[Win32SS]
- Implement DC Bounds support. It's close to what wine does and passes thousands of tests. Still WIP. See CORE-11582.
svn path=/trunk/; revision=73476
James Tabor [Thu, 22 Dec 2016 16:39:33 +0000 (16:39 +0000)]
[Win32SS|RTL]
- Fix clipping for Draw Text. Inspired by Katayama Hirofumi MZ patch and ComCtl32/RichEd20/UxThmems. See CORE-2201.
svn path=/trunk/; revision=73475
James Tabor [Thu, 22 Dec 2016 06:51:32 +0000 (06:51 +0000)]
[User32|RTL]
- Move TEXT_TabbedTextOut back into User32.
svn path=/trunk/; revision=73474
Mark Jansen [Tue, 20 Dec 2016 19:51:44 +0000 (19:51 +0000)]
[KERNEL32] Re-enable Safer and AppCompat checks in CreateProcessInternalW. CORE-12585
svn path=/trunk/; revision=73473
James Tabor [Mon, 19 Dec 2016 20:13:17 +0000 (20:13 +0000)]
[NtGDI]
- Quick Hax to fix gray font anti-aliasing rendering, see CORE-7721.
svn path=/trunk/; revision=73472
James Tabor [Mon, 19 Dec 2016 16:41:32 +0000 (16:41 +0000)]
[User32]
- Patch by Katayama Hirofumi MZ : DrawFrameControl draws bad, correct centering while drawing radio buttons. See CORE-12573.
svn path=/trunk/; revision=73471
James Tabor [Mon, 19 Dec 2016 16:37:44 +0000 (16:37 +0000)]
[User32]
- Patch by Roman Pi?l : Fix buffer overflow in EDIT_EM_ReplaceSel().
svn path=/trunk/; revision=73470
James Tabor [Mon, 19 Dec 2016 16:36:12 +0000 (16:36 +0000)]
[User32]
- Patch by Andrey Gusev : Add support for WS_EX_RIGHT style.
svn path=/trunk/; revision=73469
James Tabor [Mon, 19 Dec 2016 16:28:42 +0000 (16:28 +0000)]
[User32_API]
- Patch by Katayama Hirofumi MZ : Add a test for Next Dialog Item for radio buttons.
svn path=/trunk/; revision=73468
Amine Khaldi [Sun, 18 Dec 2016 20:04:19 +0000 (20:04 +0000)]
[RPCRT4] Properly stub RpcMgmtInqServerPrincName{A,W}. Tested by Jared Smudde. CORE-12465
svn path=/trunk/; revision=73467
Amine Khaldi [Sun, 18 Dec 2016 17:57:51 +0000 (17:57 +0000)]
[INCLUDE] Fix a WIN32_WINNT => _WIN32_WINNT typo in some comments. Spotted by Serge Gautherie. CORE-12580
svn path=/trunk/; revision=73466
Mark Jansen [Sat, 17 Dec 2016 19:38:08 +0000 (19:38 +0000)]
[ATL][ATL_APITEST] Add GetEnvironmentVariable to CString. CORE-12581
svn path=/trunk/; revision=73465
Mark Jansen [Fri, 16 Dec 2016 22:13:01 +0000 (22:13 +0000)]
[SDK] Add Resolution/Bitdepth shims + layers to the appcompat database. CORE-11927 #resolve
svn path=/trunk/; revision=73464
Mark Jansen [Fri, 16 Dec 2016 22:05:58 +0000 (22:05 +0000)]
[ACGENRAL] Implement the DisableThemes shim. CORE-11927
svn path=/trunk/; revision=73463
Mark Jansen [Fri, 16 Dec 2016 21:54:06 +0000 (21:54 +0000)]
[ACLAYERS] Implement Force8BitColor and Force640x480 shims. CORE-11927
svn path=/trunk/; revision=73462
Mark Jansen [Fri, 16 Dec 2016 19:18:26 +0000 (19:18 +0000)]
[SHIMLIB] Shim helper functions keep a list of used shims, so that events can be forwarded. CORE-11329
svn path=/trunk/; revision=73461
Giannis Adamopoulos [Fri, 16 Dec 2016 10:39:16 +0000 (10:39 +0000)]
[PSDK] -Add some definitions needed by the previous commit.
svn path=/trunk/; revision=73460
Giannis Adamopoulos [Fri, 16 Dec 2016 10:31:13 +0000 (10:31 +0000)]
[SHELL32] - CNetFolder: Fix opening items which was broken after having a callback for the default context menu became mandatory.
svn path=/trunk/; revision=73459
Hermès Bélusca-Maïto [Thu, 15 Dec 2016 18:44:47 +0000 (18:44 +0000)]
[APITESTS]: Add a test for userenv.dll API Load/UnloadUserProfile.
CORE-12541
svn path=/trunk/; revision=73458
Hermès Bélusca-Maïto [Thu, 15 Dec 2016 14:45:58 +0000 (14:45 +0000)]
[NETAPI32]: Fix misusage of a pointer, that caused a crash when using the command "net localgroup". Address one of the problems described in CORE-11081.
Note that those ((ULONG_PTR)the_pointer + sizeof(type_pointed_by_the_pointer)) could be somewhat short cut into: (the_pointer + 1) (with the_pointer being of type *type_pointed_by_the_pointer). But anyway...
svn path=/trunk/; revision=73457
Hermès Bélusca-Maïto [Thu, 15 Dec 2016 13:00:06 +0000 (13:00 +0000)]
[NET]: Correct one entry in the help list of commands.
svn path=/trunk/; revision=73456
Robert Naumann [Wed, 14 Dec 2016 21:10:35 +0000 (21:10 +0000)]
[MSTSC] Decrease the size of the header font as it was cropped in some languages.
svn path=/trunk/; revision=73455
Mark Jansen [Wed, 14 Dec 2016 20:33:39 +0000 (20:33 +0000)]
[USRMGR] Load 32bit icons for groups tab. Patch by Jared Smudde. CORE-12547 #resolve #comment Thanks!
svn path=/trunk/; revision=73454
Mark Jansen [Wed, 14 Dec 2016 19:19:57 +0000 (19:19 +0000)]
[APPSHIM_APITEST] Update display mode shim tests to show some difference in versions + add extra tests. CORE-11927
svn path=/trunk/; revision=73453
Mark Jansen [Tue, 13 Dec 2016 21:47:22 +0000 (21:47 +0000)]
[REGEDIT] Make the UpdateStatusBar function actually update the statusbar, instead of sending garbage to the treeview. CORE-10803
svn path=/trunk/; revision=73452
James Tabor [Tue, 13 Dec 2016 17:49:34 +0000 (17:49 +0000)]
[User32]
- Patch by Katayama Hirofumi MZ : DrawFrameControl draws bad. See CORE-12573.
svn path=/trunk/; revision=73451
James Tabor [Tue, 13 Dec 2016 17:27:37 +0000 (17:27 +0000)]
[User32]
- Sync/Port wine UI code for drawing.
svn path=/trunk/; revision=73450
Pierre Schweitzer [Sun, 11 Dec 2016 10:23:02 +0000 (10:23 +0000)]
[NET/USE]
On enumeration, don't print raw status
svn path=/trunk/; revision=73449
Pierre Schweitzer [Sun, 11 Dec 2016 09:15:16 +0000 (09:15 +0000)]
[NET/USE]
Get rid of COUNT_OF
svn path=/trunk/; revision=73448
Pierre Schweitzer [Sun, 11 Dec 2016 09:01:22 +0000 (09:01 +0000)]
[NET/USE]
Allow some strings to be translated
svn path=/trunk/; revision=73447
Pierre Schweitzer [Sat, 10 Dec 2016 22:12:53 +0000 (22:12 +0000)]
[NET/USE]
In case of an error, display the error message.
svn path=/trunk/; revision=73446
Thomas Faber [Sat, 10 Dec 2016 11:59:41 +0000 (11:59 +0000)]
[KMTESTS]
- Add a missing newline
svn path=/trunk/; revision=73445
Giannis Adamopoulos [Fri, 9 Dec 2016 21:31:23 +0000 (21:31 +0000)]
[SHELL32]
- Add a separate string for the unknown file types and rename the first column to Name from File.
- Note to translators: Please update translations based on the changes in the English strings.
Patch by Amber.
CORE-12530
svn path=/trunk/; revision=73444
Giannis Adamopoulos [Fri, 9 Dec 2016 20:40:52 +0000 (20:40 +0000)]
[BOOT] LiveCD: Create all profile subdirectories that Shell wants. Patch by Serge Gautherie. CORE-12527
svn path=/trunk/; revision=73443
Giannis Adamopoulos [Fri, 9 Dec 2016 18:39:11 +0000 (18:39 +0000)]
[SETUPAPI] - Add missing error checks in do_file_copyW. Patch by Carlo Bramini. CORE-12471
svn path=/trunk/; revision=73442
Giannis Adamopoulos [Fri, 9 Dec 2016 18:30:50 +0000 (18:30 +0000)]
[USETUP] -Fix setting the language id when compiling for a single language. CORE-10958
svn path=/trunk/; revision=73441
Hermès Bélusca-Maïto [Thu, 8 Dec 2016 16:12:59 +0000 (16:12 +0000)]
[USERENV]
- Use a better variable type for the 'Environment' parameter of SetUserEnvironmentVariable, AppendUserEnvironmentVariable, SetUserEnvironment, SetSystemEnvironment, so as to avoid useless casts.
- Add old-style parameter annotations for exported functions (at least);
- Add an implementation comment about setting HOMEDRIVE/HOMEPATH;
- Use ARRAYSIZE() instead of hardcoded buffer sizes;
- Don't say that GetShortPathNameW() failed when it succeeds;
- Use standard capitalization for hardcoded environment variables.
svn path=/trunk/; revision=73440
Hermès Bélusca-Maïto [Thu, 8 Dec 2016 16:08:59 +0000 (16:08 +0000)]
[USERENV]: Code formatting
svn path=/trunk/; revision=73439
Giannis Adamopoulos [Wed, 7 Dec 2016 15:43:17 +0000 (15:43 +0000)]
[SHELL32] - CDefView: Remove some todo comments that are done.
svn path=/trunk/; revision=73438
Giannis Adamopoulos [Wed, 7 Dec 2016 00:10:43 +0000 (00:10 +0000)]
[SHELL32] - Initialize the shell icon cache only when needed or when FileIconInit is called (and not in the DllMain of shell32)
svn path=/trunk/; revision=73436
Hermès Bélusca-Maïto [Tue, 6 Dec 2016 23:01:27 +0000 (23:01 +0000)]
[SERVICES]: Addendum to r73433 for ScmStartUserModeService:
- Use the correct capitalization for the desktop name (to be consistent with all the rest of our code);
- Fix DPRINT1 order of arguments;
- Reorganize a bit the code to avoid the memory leak if ImpersonateLoggedOnUser fails and the environment block was already allocated (caught by Ged Murphy).
CORE-12414
svn path=/trunk/; revision=73435
Mark Jansen [Tue, 6 Dec 2016 21:18:17 +0000 (21:18 +0000)]
[SHELL32] Don't call CoInitialize in DllMain, bad things happen when calling into dll's that are being loaded! CORE-12443 #comment Please retest!
svn path=/trunk/; revision=73434
Eric Kohl [Tue, 6 Dec 2016 17:29:30 +0000 (17:29 +0000)]
[SERVICES]
Create a new environment block when a service process is started.
Patch by Hermès BÉLUSCA - MAÏTO.
CORE-12414
svn path=/trunk/; revision=73433
Hermès Bélusca-Maïto [Mon, 5 Dec 2016 16:38:11 +0000 (16:38 +0000)]
Fix for source code file header, sorry for commit noise.
svn path=/trunk/; revision=73432
Hermès Bélusca-Maïto [Mon, 5 Dec 2016 16:36:06 +0000 (16:36 +0000)]
[ADVAPI32_APITEST]: Test for a (correctly initialized) service process environment block, that should contain both ALLUSERSPROFILE and USERPROFILE environment variables.
CORE-12414
svn path=/trunk/; revision=73431
Hermès Bélusca-Maïto [Mon, 5 Dec 2016 16:22:30 +0000 (16:22 +0000)]
[ADVAPI32_APITEST]: Add a small helper lib 'svchlp' for common routines for test-services embedded in api tests. Taken & heavily adapted from Jacek Caban's services_service test and Thomas Faber's ServiceArgs.c (the latter will be able to use 'svchlp' when it'll be ready).
CORE-12414
svn path=/trunk/; revision=73430
Sylvain Petreolle [Sun, 4 Dec 2016 23:33:19 +0000 (23:33 +0000)]
[BROWSEUI]
Fix CShellBrowser window class name,
shown by shell32:progman_dde and AHK_Diablo_1.0:1.install
svn path=/trunk/; revision=73429
Hermès Bélusca-Maïto [Sun, 4 Dec 2016 22:52:03 +0000 (22:52 +0000)]
[NTDLL]: Export _wcstoui64 (as done in Win2k3). Prototype from msvcrt. CORE-12534
svn path=/trunk/; revision=73428
Hermès Bélusca-Maïto [Sun, 4 Dec 2016 22:44:37 +0000 (22:44 +0000)]
[NTDLL]: Add proper stubs for EtwpGetTraceBuffer and EtwpSetHWConfigFunction, needed for CORE-12534.
[NTDLL][ADVAPI32]: Improve the prototypes for EtwReceiveNotificationsA/WmiReceiveNotificationsA and EtwReceiveNotificationsW/WmiReceiveNotificationsW.
svn path=/trunk/; revision=73427
Hermès Bélusca-Maïto [Sun, 4 Dec 2016 18:41:46 +0000 (18:41 +0000)]
[ADVAPI32_APITEST]: Rename the 'LockDatabase' test to 'LockServiceDatabase' to better match the name of the API.
svn path=/trunk/; revision=73426
Hermès Bélusca-Maïto [Sun, 4 Dec 2016 18:28:33 +0000 (18:28 +0000)]
[USERENV]: Use ARRAYSIZE instead of hardcoding the sizes of the static buffers.
svn path=/trunk/; revision=73425
Mark Jansen [Sun, 4 Dec 2016 16:52:22 +0000 (16:52 +0000)]
[DESK] Fix theme preview for Win7. Patch by Carlo Bramini. CORE-10076 #resolve #comment Thanks!
svn path=/trunk/; revision=73424
Eric Kohl [Sun, 4 Dec 2016 15:56:44 +0000 (15:56 +0000)]
[INCLUDE]
Add CreateUserProfileExA and CreateUserProfileExW prototypes to userenv.h.
svn path=/trunk/; revision=73423
Mark Jansen [Sun, 4 Dec 2016 15:33:28 +0000 (15:33 +0000)]
[APPSHIM_APITEST] Add tests for the DisableThemes shim. CORE-11927
svn path=/trunk/; revision=73422
Mark Jansen [Sat, 3 Dec 2016 21:24:47 +0000 (21:24 +0000)]
[APPSHIM_APITEST] Add tests for display mode shims. CORE-11927
svn path=/trunk/; revision=73421
Eric Kohl [Sat, 3 Dec 2016 14:33:07 +0000 (14:33 +0000)]
[SERVICES]
- Code cleanup.
- ScmCreateOrReferenceServiceImage() and ScmDereferenceServiceImage(): Close the logon token and service process handles properly.
- ScmStartUserModeService(): Store the service process handle in the SERVICE_IMAGE struct.
Patch by Hermès BÉLUSCA - MAÏTO.
svn path=/trunk/; revision=73420
Eric Kohl [Sat, 3 Dec 2016 13:54:11 +0000 (13:54 +0000)]
[SERVICES]
Tiny fixes.
One fix found by Serge Gautherie.
svn path=/trunk/; revision=73419
Eric Kohl [Sat, 3 Dec 2016 12:55:29 +0000 (12:55 +0000)]
[SERVICES]
Add more parameter checks to RChangeServiceConfigW().
svn path=/trunk/; revision=73418
Eric Kohl [Sat, 3 Dec 2016 12:48:44 +0000 (12:48 +0000)]
[SERVICES]
Implement large parts of RI_ScGetCurrentGroupStateW.
svn path=/trunk/; revision=73417
Eric Kohl [Sat, 3 Dec 2016 09:33:03 +0000 (09:33 +0000)]
[SERVICES]
- Get rid of the obsolete USE_SERVICE_START_PENDING option.
- Services do not accept any command when they are in SERVICE_START_PENDING state.
Patch by Hermès BÉLUSCA - MAÏTO.
svn path=/trunk/; revision=73416
Robert Naumann [Fri, 2 Dec 2016 22:36:21 +0000 (22:36 +0000)]
[TIMEDATE] Update/Fix German and French resource files. Patch by Joachim Henze and Kyle Katarn. CORE-12369
svn path=/trunk/; revision=73415
Robert Naumann [Fri, 2 Dec 2016 22:22:28 +0000 (22:22 +0000)]
[RAPPS][USERINIT][HIVECLS] Add/Update Italian translation. Patches by Carlo Bramini. Thanks. CORE-9725 #comment rapps_new and usrmgr were not appliable, please check your patches. The others were committed in r73414
svn path=/trunk/; revision=73414
Hermès Bélusca-Maïto [Fri, 2 Dec 2016 20:01:29 +0000 (20:01 +0000)]
[ROSTESTS]: advapi32_apitest: Add a test to extensively test services command-line arguments. By Thomas Faber.
[ADVAPI32]: Correctly set up both the ANSI and UNICODE service command-line arguments. Adapted from a patch by Thomas Faber. Thanks!
[SERVICES]
- Correctly pack the service command-line arguments in the control packet structure. In particular, the offsets stored in the vector are relative to the beginning of the vector (and not relative to the previous offset ^^). Improve comments...
- Fix the definition of the SCM_CONTROL_PACKET control packet structure to make it Win2k3-compatible, so that we can use Win2k3' advapi32.dll or services.exe on ReactOS and vice-versa.
CORE-9235 CORE-9838
svn path=/trunk/; revision=73413
Robert Naumann [Thu, 1 Dec 2016 21:09:47 +0000 (21:09 +0000)]
[NETSHELL]Add Japanese translation. Patch by Katayama Hirofumi MZ. Thanks. CORE-12514
svn path=/trunk/; revision=73412
Robert Naumann [Thu, 1 Dec 2016 21:06:38 +0000 (21:06 +0000)]
[RUNONCE] Add Italian translation. Patch by Carlo Bramini. Thanks. CORE-12488
svn path=/trunk/; revision=73411
Mark Jansen [Wed, 30 Nov 2016 20:39:06 +0000 (20:39 +0000)]
This does not belong here.
svn path=/trunk/; revision=73410
Mark Jansen [Wed, 30 Nov 2016 20:31:50 +0000 (20:31 +0000)]
[NETSHELL] Implement NcIsValidConnectionName + tests. Patch by Jared Smudde, modified by me. CORE-11320 #resolve
svn path=/trunk/; revision=73409
Giannis Adamopoulos [Tue, 29 Nov 2016 18:01:35 +0000 (18:01 +0000)]
Fix build.
svn path=/trunk/; revision=73408
Giannis Adamopoulos [Tue, 29 Nov 2016 17:56:04 +0000 (17:56 +0000)]
[SHELL32] - CDefViewBckgrndMenu: Shell_MergeMenus doesn't handle items added by shell extensions correctly so let the folder IContextMenu add its items directly in the menu. CORE-12508
svn path=/trunk/; revision=73407
Giannis Adamopoulos [Tue, 29 Nov 2016 15:44:19 +0000 (15:44 +0000)]
[SHELL32] - CDefaultContextMenu::QueryContextMenu : Implement CMF_VERBSONLY flag (needs tests). CORE-11488 (and all its duplicates)
svn path=/trunk/; revision=73406
Giannis Adamopoulos [Tue, 29 Nov 2016 15:38:55 +0000 (15:38 +0000)]
[SHELL32]
- CDefViewBckgrndMenu : Add class to handle the background menu of the CDefView and handle stuff that previously were handled by CDefaultContextMenu. Let the shell folders fill their own part of the background context menu.
- CDefView: Create a CDefViewBckgrndMenu instead of a CDefaultContextMenu which was completely wrong.
- CDesktopFolder, CFSFolder: Implement returning the background context menu in CreateViewObject. Note that I am not completely sure that the callback should be adding the Properties item.
- CDefaultContextMenu: Remove code that was moved to CDefViewBckgrndMenu and try to improve the overzealous debug prints regarding the shell extensions.
CORE-12410, CORE-12472
svn path=/trunk/; revision=73405
Giannis Adamopoulos [Tue, 29 Nov 2016 13:27:21 +0000 (13:27 +0000)]
[SHELL32_APITEST] -Test if CFSFolder::GetUIObjectOf can return an IDataObject for 0 cidl.
svn path=/trunk/; revision=73404
James Tabor [Mon, 28 Nov 2016 16:48:39 +0000 (16:48 +0000)]
[Win32SS]
- Revert HAX : Fix validating region with null. See CORE-12169 and related issues.
svn path=/trunk/; revision=73403
Hermès Bélusca-Maïto [Sun, 27 Nov 2016 20:44:09 +0000 (20:44 +0000)]
[SERVICES]:
- Fix build.
- Remove now deprecated code (since we use RPC for service commands since revision r13xxx).
svn path=/trunk/; revision=73402
Hermès Bélusca-Maïto [Sun, 27 Nov 2016 20:39:10 +0000 (20:39 +0000)]
[SERVICES]
- The new ScmDeleteServiceKey (r73400) and the already existing ScmDeleteRegKey are the same functions: remove the old ScmDeleteRegKey and use ScmDeleteServiceKey instead AND rename ScmDeleteServiceKey to ScmDeleteRegKey (as it can be used generically within services.exe).
- Call RegDeleteKeyW for the subkey after we have closed its opened handle.
svn path=/trunk/; revision=73401
Eric Kohl [Sun, 27 Nov 2016 20:12:39 +0000 (20:12 +0000)]
[SERVICES]
Delete service registry keys recursively.
svn path=/trunk/; revision=73400
Pierre Schweitzer [Sun, 27 Nov 2016 20:11:30 +0000 (20:11 +0000)]
[NTOSKRNL]
Don't leak FO reference on failure.
Fixes kmtest:NtCreateSection unloading.
Dedicated to Thomas.
CORE-11819
CORE-12475
svn path=/trunk/; revision=73399
Mark Jansen [Sun, 27 Nov 2016 18:33:21 +0000 (18:33 +0000)]
[APPHELP][APPHELP_APITEST] Stub ApphelpCheckShellObject + add tests, based on the work of Mislav Blažević. CORE-12476
svn path=/trunk/; revision=73398
Eric Kohl [Sun, 27 Nov 2016 15:49:05 +0000 (15:49 +0000)]
[SERVICES]
RQueryServiceStatusEx and REnumServicesStatusExW: This way it make a lot more sense!
svn path=/trunk/; revision=73397
Eric Kohl [Sun, 27 Nov 2016 15:24:49 +0000 (15:24 +0000)]
[SERVICES]
REnumServicesStatusExW/W and RQueryServiceStatusEx should not return a non-zero process ID for a stopped service.
svn path=/trunk/; revision=73396
Pierre Schweitzer [Sun, 27 Nov 2016 13:39:01 +0000 (13:39 +0000)]
[KMTESTS:MM]
Test FCB header fields: FileSize, ValidDataLength
CORE-11819
CORE-12475
svn path=/trunk/; revision=73395
Eric Kohl [Sun, 27 Nov 2016 11:14:25 +0000 (11:14 +0000)]
[SETUPAPI]
Partial implementation of CMP_RegisterNotification and CMP_UnregisterNotification.
[UMPNPMGR]
Partial implementation of PNP_RegisterNotification and PNP_UnregisterNotification.
CORE-12217 #comment This should fix one of the issues.
svn path=/trunk/; revision=73394
Pierre Schweitzer [Sun, 27 Nov 2016 10:56:40 +0000 (10:56 +0000)]
[KMTESTS:MM]
Playing with EOF shouldn't make you forget EOL!
Addendum to r73392
svn path=/trunk/; revision=73393
Pierre Schweitzer [Sun, 27 Nov 2016 10:49:33 +0000 (10:49 +0000)]
[KMTESTS:MM]
Check the first byte is really null, in spite of the hack writing.
CORE-11819
CORE-12475
svn path=/trunk/; revision=73392
Pierre Schweitzer [Sun, 27 Nov 2016 10:27:43 +0000 (10:27 +0000)]
[NTOSKRNL]
Don't write random byte. Force a value so that it can be easily recognized.
CORE-11819
CORE-12475
svn path=/trunk/; revision=73391
Robert Naumann [Sun, 27 Nov 2016 00:15:02 +0000 (00:15 +0000)]
[TRANSLATION] Massive resource maintenance update. 2 oatches by Ștefan Fulea. Thank you! CORE-12326
svn path=/trunk/; revision=73390
Robert Naumann [Sat, 26 Nov 2016 23:58:07 +0000 (23:58 +0000)]
[MODE] Add Russiam Translation. Based on a patch by Nikolay Burshtyn. Thank you. CORE-12202
svn path=/trunk/; revision=73389
Robert Naumann [Sat, 26 Nov 2016 23:47:36 +0000 (23:47 +0000)]
[USETUP] Update Russian translation. Patch by Nikolay Burshtyn. Thank you! CORE-12154
svn path=/trunk/; revision=73388
Robert Naumann [Sat, 26 Nov 2016 23:25:14 +0000 (23:25 +0000)]
[GETUNAME] Update Definitions for GetUName to Unicode 8.0. Patch by Baruch Rutman. Thanks a lot! CORE-10722
svn path=/trunk/; revision=73387