Hermès Bélusca-Maïto [Sun, 3 Jul 2016 18:05:27 +0000 (18:05 +0000)]
[SHELL32][UNDOCSHELL]
- Whitespaces fixes (tabs -> spaces);
- Code formatting.
svn path=/trunk/; revision=71798
Eric Kohl [Sun, 3 Jul 2016 14:57:21 +0000 (14:57 +0000)]
[USETUP]
Fix crash during installation.
Patch by Wim Hueskens.
CORE-11409 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=71797
Hermès Bélusca-Maïto [Sun, 3 Jul 2016 14:10:58 +0000 (14:10 +0000)]
[BOOTDATA]: Apply the new russian timezones, by "amber".
CORE-10558 #resolve #comment Finally committed!! ^^ Please retest :)
svn path=/trunk/; revision=71796
Eric Kohl [Sun, 3 Jul 2016 13:55:15 +0000 (13:55 +0000)]
[MSGINA]
Icon fix ups.
Patch by Jared Smudde.
CORE-11417 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=71795
Hermès Bélusca-Maïto [Sun, 3 Jul 2016 13:52:28 +0000 (13:52 +0000)]
[KERNEL32]: Implement support for Auto-Execute (AE) Debugging: starting a user-specified debugger (e.g., DrWatson on Windows, etc...) which attaches to a user-mode application when the latter crashes.
CORE-11508 #resolve
svn path=/trunk/; revision=71794
Hermès Bélusca-Maïto [Sun, 3 Jul 2016 13:48:50 +0000 (13:48 +0000)]
[KERNEL32]
- No need to explicitely convert the pointers to PVOID in the NtQueryInformationProcess calls, and do not hardcode the size-of the variable being passed in parameter.
- "Fix" FatalAppExitW: it's only in checked builds that one can continue running the application even after a FatalAppExitW call.
svn path=/trunk/; revision=71793
Amine Khaldi [Sun, 3 Jul 2016 12:30:14 +0000 (12:30 +0000)]
[COMCTL32_WINETEST] Addendum to r71791. CORE-11383
svn path=/trunk/; revision=71792
Amine Khaldi [Sun, 3 Jul 2016 12:29:33 +0000 (12:29 +0000)]
[COMCTL32] Apply Wine Staging commit
35bf531 by Michael Müller: Preserve custom colors between subitems. (v2). CORE-11383
svn path=/trunk/; revision=71791
Amine Khaldi [Sun, 3 Jul 2016 12:11:37 +0000 (12:11 +0000)]
[README.WINE] Mark some modules as synced with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71790
Amine Khaldi [Sun, 3 Jul 2016 11:58:56 +0000 (11:58 +0000)]
[WINMM_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71789
Amine Khaldi [Sun, 3 Jul 2016 11:56:44 +0000 (11:56 +0000)]
[IPHLPAPI_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71788
Amine Khaldi [Sun, 3 Jul 2016 11:54:30 +0000 (11:54 +0000)]
[SETUPAPI_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71787
Amine Khaldi [Sun, 3 Jul 2016 11:52:01 +0000 (11:52 +0000)]
[SERVICES_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71786
Eric Kohl [Sun, 3 Jul 2016 11:50:29 +0000 (11:50 +0000)]
[TRANSLATION]
Updating Turkish Translation
Patch by Erdem Ersoy.
CORE-11476 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=71785
Amine Khaldi [Sun, 3 Jul 2016 11:50:18 +0000 (11:50 +0000)]
[SECUR32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71784
Amine Khaldi [Sun, 3 Jul 2016 11:46:08 +0000 (11:46 +0000)]
[SCHANNEL_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71782
Amine Khaldi [Sun, 3 Jul 2016 11:36:38 +0000 (11:36 +0000)]
[SHELL32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71781
Amine Khaldi [Sun, 3 Jul 2016 11:33:21 +0000 (11:33 +0000)]
[MSVCRT_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71780
Amine Khaldi [Sun, 3 Jul 2016 11:29:52 +0000 (11:29 +0000)]
[GDI32_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368 CORE-11331
svn path=/trunk/; revision=71779
Amine Khaldi [Sun, 3 Jul 2016 11:21:35 +0000 (11:21 +0000)]
[WINHTTP_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71778
Amine Khaldi [Sun, 3 Jul 2016 11:19:58 +0000 (11:19 +0000)]
[PSDK] Update ntsecpkg.h. CORE-11368
svn path=/trunk/; revision=71777
Amine Khaldi [Sun, 3 Jul 2016 11:18:44 +0000 (11:18 +0000)]
[STDOLE32.TLB] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71776
Amine Khaldi [Sun, 3 Jul 2016 11:16:23 +0000 (11:16 +0000)]
[WIDL] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71775
Eric Kohl [Sun, 3 Jul 2016 09:51:22 +0000 (09:51 +0000)]
[TRANSLATION]
Romanian resources maintenance.
Patch by Ștefan Fulea.
CORE-11439 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=71774
Thomas Faber [Sun, 3 Jul 2016 09:23:37 +0000 (09:23 +0000)]
[KMTESTS]
- Addendum to r71770
CORE-11509
svn path=/trunk/; revision=71773
Eric Kohl [Sun, 3 Jul 2016 08:56:43 +0000 (08:56 +0000)]
[SC]
Failure command:
- Parse the actions parameter.
- Adjust the shutdown privilege in order to set the failure actions.
svn path=/trunk/; revision=71772
Thomas Faber [Sun, 3 Jul 2016 08:54:20 +0000 (08:54 +0000)]
[NTOS:OB]
- Use the correct buffer size for the link target in NtCreateSymbolicLinkObject
CORE-11509
svn path=/trunk/; revision=71771
Thomas Faber [Sun, 3 Jul 2016 08:31:28 +0000 (08:31 +0000)]
[KMTESTS:OB]
- Add a test for ZwCreateSymbolicLinkObject/ZwQuerySymbolicLinkObject
CORE-11509
svn path=/trunk/; revision=71770
Thomas Faber [Sun, 3 Jul 2016 08:22:43 +0000 (08:22 +0000)]
[NTOS:OB]
- Use SEH to access the link target buffer in NtQuerySymbolicLinkObject
CORE-11509
svn path=/trunk/; revision=71769
Hermès Bélusca-Maïto [Sat, 2 Jul 2016 20:52:25 +0000 (20:52 +0000)]
[KERNEL32]: Formatting fixes (whitespace...) only.
svn path=/trunk/; revision=71768
Hermès Bélusca-Maïto [Sat, 2 Jul 2016 20:37:35 +0000 (20:37 +0000)]
[NTDLL]
Export RtlMapSecurityErrorToNtStatus since we have it available in our RTL library (however it is still only stubbed).
[RTL][NDK]
- NT-ify a bit error.c
- Add the prototypes of the functions that manipulate the "last Win32 error" and "last NT status".
- Add the prototypes of the functions that get & set the thread-error-mode (for hard-errors).
- Define some prototypes for NTOS_MODE_USER only.
[CONSRV]
RtlGetLastNtStatus is now in the NDK, no need to keep its prototype there anymore.
svn path=/trunk/; revision=71767
Amine Khaldi [Sat, 2 Jul 2016 16:07:18 +0000 (16:07 +0000)]
[INCLUDE/WINE] Update winternl.h. CORE-11368
svn path=/trunk/; revision=71766
Amine Khaldi [Sat, 2 Jul 2016 15:56:56 +0000 (15:56 +0000)]
[QUARTZ_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71765
Amine Khaldi [Sat, 2 Jul 2016 15:56:39 +0000 (15:56 +0000)]
[QUARTZ] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71764
Amine Khaldi [Sat, 2 Jul 2016 15:52:42 +0000 (15:52 +0000)]
[QEDIT_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71763
Amine Khaldi [Sat, 2 Jul 2016 15:52:21 +0000 (15:52 +0000)]
[QEDIT] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71762
Amine Khaldi [Sat, 2 Jul 2016 15:42:23 +0000 (15:42 +0000)]
[PSDK] Update qedit.idl. CORE-11368
svn path=/trunk/; revision=71761
Amine Khaldi [Sat, 2 Jul 2016 15:40:22 +0000 (15:40 +0000)]
[DMUSIC] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71760
Amine Khaldi [Sat, 2 Jul 2016 15:38:59 +0000 (15:38 +0000)]
[DINPUT] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71759
Amine Khaldi [Sat, 2 Jul 2016 15:34:17 +0000 (15:34 +0000)]
[D3DRM_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71758
Amine Khaldi [Sat, 2 Jul 2016 15:33:46 +0000 (15:33 +0000)]
[D3DRM] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71757
Amine Khaldi [Sat, 2 Jul 2016 15:33:00 +0000 (15:33 +0000)]
[PSDK] Update d3drm.h. CORE-11368
svn path=/trunk/; revision=71756
Amine Khaldi [Sat, 2 Jul 2016 15:29:06 +0000 (15:29 +0000)]
[WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71755
Amine Khaldi [Sat, 2 Jul 2016 15:28:24 +0000 (15:28 +0000)]
[WINDOWSCODECS] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71754
Amine Khaldi [Sat, 2 Jul 2016 15:24:22 +0000 (15:24 +0000)]
[DEVENUM] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71753
Amine Khaldi [Sat, 2 Jul 2016 15:23:55 +0000 (15:23 +0000)]
[WININET_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71752
Amine Khaldi [Sat, 2 Jul 2016 15:23:01 +0000 (15:23 +0000)]
[WININET] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71751
Amine Khaldi [Sat, 2 Jul 2016 15:16:32 +0000 (15:16 +0000)]
[PSDK] Update wincodec.idl. CORE-11368
svn path=/trunk/; revision=71750
Amine Khaldi [Sat, 2 Jul 2016 15:15:26 +0000 (15:15 +0000)]
[AMSTREAM_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71749
Amine Khaldi [Sat, 2 Jul 2016 15:04:47 +0000 (15:04 +0000)]
[PSDK] Update rpcdce.h. CORE-11368
svn path=/trunk/; revision=71748
Amine Khaldi [Sat, 2 Jul 2016 13:51:18 +0000 (13:51 +0000)]
[PSDK] Add missing MUI_MERGE_SYSTEM_FALLBACK, MUI_MERGE_USER_FALLBACK and MUI_UI_FALLBACK.
svn path=/trunk/; revision=71747
Amine Khaldi [Sat, 2 Jul 2016 13:46:41 +0000 (13:46 +0000)]
[UNICODE] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71746
Amine Khaldi [Sat, 2 Jul 2016 13:35:40 +0000 (13:35 +0000)]
[AMSTREAM] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71745
Amine Khaldi [Sat, 2 Jul 2016 13:28:27 +0000 (13:28 +0000)]
[INETCPL] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71744
Amine Khaldi [Sat, 2 Jul 2016 13:24:53 +0000 (13:24 +0000)]
[RPCRT4] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71743
Amine Khaldi [Sat, 2 Jul 2016 13:17:44 +0000 (13:17 +0000)]
[SETUPAPI] Properly stub SetupAddSectionToDiskSpaceListA, SetupAddToDiskSpaceListA and SetupQueryDrivesInDiskSpaceListA.
svn path=/trunk/; revision=71742
Amine Khaldi [Sat, 2 Jul 2016 13:17:08 +0000 (13:17 +0000)]
[SHLWAPI_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71741
Amine Khaldi [Sat, 2 Jul 2016 13:15:50 +0000 (13:15 +0000)]
[SHLWAPI] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71740
Amine Khaldi [Sat, 2 Jul 2016 13:14:52 +0000 (13:14 +0000)]
[T2EMBED] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71739
Amine Khaldi [Sat, 2 Jul 2016 13:12:56 +0000 (13:12 +0000)]
[URLMON_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71738
Amine Khaldi [Sat, 2 Jul 2016 13:11:50 +0000 (13:11 +0000)]
[URLMON] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71737
Amine Khaldi [Sat, 2 Jul 2016 13:09:58 +0000 (13:09 +0000)]
[VBSCRIPT] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71736
Amine Khaldi [Sat, 2 Jul 2016 13:07:46 +0000 (13:07 +0000)]
[WBEMPROX_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71735
Amine Khaldi [Sat, 2 Jul 2016 13:06:47 +0000 (13:06 +0000)]
[WBEMPROX] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71734
Amine Khaldi [Sat, 2 Jul 2016 13:05:27 +0000 (13:05 +0000)]
[WINSCARD] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71733
Amine Khaldi [Sat, 2 Jul 2016 13:04:19 +0000 (13:04 +0000)]
[WINTRUST_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71732
Amine Khaldi [Sat, 2 Jul 2016 13:03:38 +0000 (13:03 +0000)]
[WINTRUST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71731
Amine Khaldi [Sat, 2 Jul 2016 13:02:31 +0000 (13:02 +0000)]
[WLDAP32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71730
Amine Khaldi [Sat, 2 Jul 2016 13:01:07 +0000 (13:01 +0000)]
[VERSION_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71729
Amine Khaldi [Sat, 2 Jul 2016 12:58:50 +0000 (12:58 +0000)]
[VERSION] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71728
Amine Khaldi [Sat, 2 Jul 2016 12:57:07 +0000 (12:57 +0000)]
[XMLLITE_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71727
Amine Khaldi [Sat, 2 Jul 2016 12:56:15 +0000 (12:56 +0000)]
[PSDK] Update xmllite.idl. CORE-11368
svn path=/trunk/; revision=71726
Amine Khaldi [Sat, 2 Jul 2016 12:53:37 +0000 (12:53 +0000)]
[XMLLITE] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71725
Amine Khaldi [Sat, 2 Jul 2016 12:51:53 +0000 (12:51 +0000)]
[USP10_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71724
Thomas Faber [Sat, 2 Jul 2016 12:10:05 +0000 (12:10 +0000)]
[DNSAPI]
- Fix infinite loop in DnsQuery_W
svn path=/trunk/; revision=71723
Amine Khaldi [Sat, 2 Jul 2016 11:58:22 +0000 (11:58 +0000)]
* Missed this bit.
svn path=/trunk/; revision=71722
Amine Khaldi [Sat, 2 Jul 2016 11:55:26 +0000 (11:55 +0000)]
[USP10] Attempt to fix non PCH build.
svn path=/trunk/; revision=71721
Amine Khaldi [Sat, 2 Jul 2016 11:44:01 +0000 (11:44 +0000)]
[USP10] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71720
Thomas Faber [Sat, 2 Jul 2016 08:49:07 +0000 (08:49 +0000)]
[DNSAPI_APITEST]
- Handle unexpected failures without crashing
ROSTESTS-226
svn path=/trunk/; revision=71717
Hermès Bélusca-Maïto [Fri, 1 Jul 2016 21:23:47 +0000 (21:23 +0000)]
[TASKMGR]
debug.c:
- Don't hardcode the size of the string buffers.
- Only use KEY_QUERY_VALUE right to query the values inside a registry key.
- Fix size parameter value given to RegQueryValueEx.
- Use ZeroMemory instead of memset(..., 0, ...) (heh, we're in Win32 guys!)
- Close thread-and-process handles of the spawned debugger app.
svn path=/trunk/; revision=71716
Sylvain Petreolle [Fri, 1 Jul 2016 19:55:32 +0000 (19:55 +0000)]
[SECUR32]
Enable LsaEnumerateLogonSessions and LsaGetLogonSessionData implemtations, used by VirtualBox guest additions.
CORE-7424
svn path=/trunk/; revision=71715
Hermès Bélusca-Maïto [Fri, 1 Jul 2016 19:45:39 +0000 (19:45 +0000)]
[NTOS]
The "BuildLab" string now contains the build number (date + revision number), together with the compiler version used to compile ReactOS.
CORE-6611 CORE-7889 CORE-8877
[WIN32K]
Now use the "BuildLab" string that is read from the registry to be displayed in the desktop watermark, instead of building it at run-time.
Addendum to r71504, CORE-11349
Based on an idea by Mark Jansen (learn_more).
svn path=/trunk/; revision=71714
Ged Murphy [Fri, 1 Jul 2016 17:29:19 +0000 (17:29 +0000)]
The javascript search is turd...
svn path=/trunk/; revision=71712
Thomas Faber [Fri, 1 Jul 2016 17:19:04 +0000 (17:19 +0000)]
[DNSAPI]
- Check for NULL pointer in DnsQuery to avoid crashing tests
svn path=/trunk/; revision=71711
Thomas Faber [Fri, 1 Jul 2016 15:19:40 +0000 (15:19 +0000)]
[DNSAPI_APITEST]
- Fix unix build
ROSTESTS-226
svn path=/trunk/; revision=71710
Thomas Faber [Fri, 1 Jul 2016 14:44:55 +0000 (14:44 +0000)]
[DNSAPI_APITEST]
- Add a test for DnsQuery. Patch by Víctor Martínez Calvo, with additional tests and fixes by me.
ROSTESTS-226 #resolve
svn path=/trunk/; revision=71709
Hermès Bélusca-Maïto [Thu, 30 Jun 2016 20:34:10 +0000 (20:34 +0000)]
[KERNEL32]: Don't hardcode flag values for NtOpenKey.
svn path=/trunk/; revision=71708
James Tabor [Thu, 30 Jun 2016 17:01:14 +0000 (17:01 +0000)]
[Win32SS]
- Remove unused flag and set old menu type back, based on wine.
svn path=/trunk/; revision=71707
Ged Murphy [Thu, 30 Jun 2016 16:52:44 +0000 (16:52 +0000)]
- Revert the revert, we're now back to the latest config file.
- Turn off SERVER_BASED_SEARCH in the hope that it fixes the search issues.
svn path=/trunk/; revision=71706
James Tabor [Thu, 30 Jun 2016 15:48:20 +0000 (15:48 +0000)]
[NtUser]
- Use internal function to validate menu handle. See CORE-11479 for more information.
svn path=/trunk/; revision=71704
Hermès Bélusca-Maïto [Thu, 30 Jun 2016 14:00:34 +0000 (14:00 +0000)]
[KERNEL32]
- Whitespace fixes (dosdev.c, except.c, loader.c)
- except.c: Remove some unneeded casts; NtQueryInformationProcess for 'ProcessDebugPort' is implemented and therefore it will never return STATUS_NOT_IMPLEMENTED.
svn path=/trunk/; revision=71703
Hermès Bélusca-Maïto [Wed, 29 Jun 2016 23:21:07 +0000 (23:21 +0000)]
[NOTEPAD]: Fix German menu keyboard shortcuts, by Joachim Henze.
CORE-11461 #resolve #comment German shortcut fixed, thanks!
svn path=/trunk/; revision=71702
Hermès Bélusca-Maïto [Wed, 29 Jun 2016 23:14:29 +0000 (23:14 +0000)]
[CONSRV]: "Fix" pasting non-ansi characters in console by removing the code that was too careful (when pasting text we don't generally use the associated virtual key/scan code, but just the unicode character itself.
CORE-11465 #resolve #comment Fixed! You can paste cyrillic text in the console without problems, and it is correctly understood.
svn path=/trunk/; revision=71701
Hermès Bélusca-Maïto [Wed, 29 Jun 2016 21:19:13 +0000 (21:19 +0000)]
[SHORTCUTS]: Update the translations for the ReactOS Read-Me file desktop shortcut. Courtesy David Quintana (gigaherz) for spanish, 'valeriusL' for russian, Grégory Macário Harbs (Mysoft) for portuguese, myself for german, italian, dutch and ukrainian (translators, please check those 4 last languages ^^ ).
svn path=/trunk/; revision=71700
Hermès Bélusca-Maïto [Wed, 29 Jun 2016 20:30:43 +0000 (20:30 +0000)]
[PING]: Fix statistics information in the case sending a ping packet fails. Patch by Tim Crawford.
CORE-10274 #resolve #comment Fixed, thanks for the report!
svn path=/trunk/; revision=71699
Hermès Bélusca-Maïto [Wed, 29 Jun 2016 20:25:49 +0000 (20:25 +0000)]
[NOTEPAD]: Fix russian menu keyboard shortcuts, by 'denis2dev'.
CORE-11461 #resolve #comment Committed, thanks!
svn path=/trunk/; revision=71698
Hermès Bélusca-Maïto [Wed, 29 Jun 2016 00:38:51 +0000 (00:38 +0000)]
[SUBST]
- Update the resource program description.
- Convert to full UNICODE.
- Use Win32 functions where possible.
- Factor-out the usage of QueryDosDevice into a QuerySubstedDrive function, that returns error codes according to whether the specified drive is a mapped (substed) drive, or is just an existing drive that is not a mapping, or if the drive does not exist. This allows us to detect attempts to use a drive letter that is not a mapped drive, to define a new mapping, and if so we reject such attempt.
This fixes CORE-10681 #resolve #comment Fixed with another patch according to my last remark.
svn path=/trunk/; revision=71695
Hermès Bélusca-Maïto [Wed, 29 Jun 2016 00:29:27 +0000 (00:29 +0000)]
[COMP]: Fix code header & resource program description.
svn path=/trunk/; revision=71694
Hermès Bélusca-Maïto [Tue, 28 Jun 2016 20:22:07 +0000 (20:22 +0000)]
[SUBST]
- Headers reordering.
- Use ARRAYSIZE.
- Give the internal helper function IsSubstedDrive just the single letter of the drive to check for.
- AddSubst and DeleteSubst: both take a drive string of *exactly* two characters: the drive letter and the ':' (and of course there's the NULL terminator): fix the parameter check in this regard.
- AddSubst: It is possible on Windows to use the DefineDosDevice API to map a drive letter to a *file* (yes yes!!) (but the mapping made is unusable). Forbids this case in SUBST since it is not made for that.
CORE-10681
svn path=/trunk/; revision=71693
Hermès Bélusca-Maïto [Tue, 28 Jun 2016 19:21:08 +0000 (19:21 +0000)]
[SUBST]: CORE-10681 #comment Apply part of Peter Hater's patch proposed in CORE-10681, that is, fixing the usage of QueryDosDevice API, but without the new IsDriveUsed functionality. (r71692)
svn path=/trunk/; revision=71692