Hermès Bélusca-Maïto [Sat, 24 Aug 2013 10:20:47 +0000 (10:20 +0000)]
[CMD]
Fix some French conjugation.
svn path=/trunk/; revision=59807
Hermès Bélusca-Maïto [Sat, 24 Aug 2013 09:21:08 +0000 (09:21 +0000)]
[BOOTDATA]
Add system.ini into C:\ReactOS.
Patch by Lee Schroeder.
CORE-7402 #resolve #comment Committed in revision 59806, thanks :)
svn path=/trunk/; revision=59806
Amine Khaldi [Sat, 24 Aug 2013 00:37:30 +0000 (00:37 +0000)]
[PSDK]
* Add some missing definitions to winspool.h.
svn path=/trunk/; revision=59805
Amine Khaldi [Fri, 23 Aug 2013 22:58:29 +0000 (22:58 +0000)]
[WINSPOOL.DRV]
* Correct the FindNextPrinterChangeNotification() stub.
[PSDK]
* Annotate winspool.h.
svn path=/trunk/; revision=59804
Hermès Bélusca-Maïto [Fri, 23 Aug 2013 21:18:46 +0000 (21:18 +0000)]
[NTOSKRNL]
We aim at being compatible with Windows Server 2003... Do it better! Use the \GLOBAL?? dos-devices object directory instead of \??, as used in Windows NT and 2000 (which becomes per-session in Windows >= XP), but add a temporary hack (i.e. create a symbolic link \?? <---> \GLOBAL??) since we don't support yet Ob device mappings which are needed for this mapping, in particular.
As a side-effect, fix starting of DeviceTree v2.30 on ReactOS. Now it works correctly, as on Win2k3 :)
CORE-6572 #resolve #comment Finally fix loading of the objinfo driver, which failed at creating a symbolic link in \GLOBAL??\ for its device.
svn path=/trunk/; revision=59803
Hermès Bélusca-Maïto [Fri, 23 Aug 2013 21:03:37 +0000 (21:03 +0000)]
[NTOSKRNL]
Don't hardcode L"\\Driver\\" but use the #define DRIVER_ROOT_NAME instead (2/2)
svn path=/trunk/; revision=59802
Amine Khaldi [Fri, 23 Aug 2013 20:52:09 +0000 (20:52 +0000)]
[PSDK]
* Apply some formatting consistency in winspool.h.
svn path=/trunk/; revision=59801
Hermès Bélusca-Maïto [Fri, 23 Aug 2013 20:03:38 +0000 (20:03 +0000)]
[NTOSKRNL]
Code formatting, and don't hardcode L"\\Driver\\" but use the #define DRIVER_ROOT_NAME instead.
svn path=/trunk/; revision=59800
Amine Khaldi [Fri, 23 Aug 2013 18:29:18 +0000 (18:29 +0000)]
[PSDK]
* Annotate hidpi.h.
svn path=/trunk/; revision=59799
Amine Khaldi [Fri, 23 Aug 2013 15:26:52 +0000 (15:26 +0000)]
[PSDK]
* Annotate mstcpip.h.
svn path=/trunk/; revision=59798
Amine Khaldi [Fri, 23 Aug 2013 15:21:10 +0000 (15:21 +0000)]
[WORDPAD][WRITE]
* Improve resource files layout to make it consistent with the rest of our codebase. By Robert Naumann.
CORE-7397 #resolve #comment Committed in r59797. Thanks.
svn path=/trunk/; revision=59797
Amine Khaldi [Fri, 23 Aug 2013 15:04:39 +0000 (15:04 +0000)]
[PSDK]
* Replace WINBOOL by BOOL. The former is a mingw-w64 invention.
svn path=/trunk/; revision=59796
Hermès Bélusca-Maïto [Thu, 22 Aug 2013 19:17:17 +0000 (19:17 +0000)]
[NTOSKRNL]
Fix some code indentation and a DPRINT.
svn path=/trunk/; revision=59794
Hermès Bélusca-Maïto [Thu, 22 Aug 2013 18:25:02 +0000 (18:25 +0000)]
[KERNEL32]
Fix usage of the 2nd parameter of NtFlushVirtualMemory, in the FlushViewOfFile file. This fixes the creation of "self-extracted" files from executables (e.g. DeviceTree utility from OSR or some Sysinternals tools).
CORE-6572 #comment Partly fixed in revision r59793. Now the objinfo.sys file is created without corruption, but there are problems loading the driver itself...
This fixes a bug introduced in revision 775 about 14 years ago!
Many thanks to Oláf for having debugged DeviceTree and oriented me to the real problem :D
svn path=/trunk/; revision=59793
Hermès Bélusca-Maïto [Thu, 22 Aug 2013 16:10:34 +0000 (16:10 +0000)]
[KERNEL32]
- Move VDM-related definitions into a dedicated header.
- Clean some code.
svn path=/trunk/; revision=59792
Hermès Bélusca-Maïto [Thu, 22 Aug 2013 12:47:14 +0000 (12:47 +0000)]
[KERNEL32]
*Just* clarify some parts of the code and argument names of functions, and do not hardcode constant values; use #defines instead.
svn path=/trunk/; revision=59791
Hermès Bélusca-Maïto [Wed, 21 Aug 2013 16:54:19 +0000 (16:54 +0000)]
[NTOSKRNL]
- Move NtQueryTimerResolution and NtSetTimerResolution from ke/clock.c to their proper place in ex/time.c
- Simplify NtQueryTimerResolution and implement NtSetTimerResolution based on the patch of Aleksandar Andrejevic.
CORE-7387 #resolve #comment NtSetTimerResolution function committed in revision 59790, thanks :D
svn path=/trunk/; revision=59790
Hermès Bélusca-Maïto [Wed, 21 Aug 2013 11:14:22 +0000 (11:14 +0000)]
[ROSTESTS]
Add a newline.
svn path=/trunk/; revision=59789
Hermès Bélusca-Maïto [Tue, 20 Aug 2013 18:55:42 +0000 (18:55 +0000)]
[ROSTESTS]
Fix timer tests, by Aleksander Andrejevic.
See CORE-7387 for more details, and:
http://mirrors.arcadecontrols.com/www.sysinternals.com/Information/HighResolutionTimers.html too.
svn path=/trunk/; revision=59788
Aleksey Bragin [Tue, 20 Aug 2013 11:51:05 +0000 (11:51 +0000)]
[CTM]
- Change my email address to a working one.
- Remove version info from the title.
svn path=/trunk/; revision=59787
Hermès Bélusca-Maïto [Mon, 19 Aug 2013 21:44:26 +0000 (21:44 +0000)]
[ROSTESTS]
Add a test for NtQueryTimerResolution and NtSetTimerResolution, by Aleksander Andrejevic.
See CORE-7387 for more information.
svn path=/trunk/; revision=59786
Aleksey Bragin [Mon, 19 Aug 2013 19:40:25 +0000 (19:40 +0000)]
[NTOS]
- Aleksandar Andrejevic: Implement NtQueryTimerResolution().
CORE-7387
svn path=/trunk/; revision=59785
Hermès Bélusca-Maïto [Mon, 19 Aug 2013 18:14:43 +0000 (18:14 +0000)]
Rename CSR_CONNECTION_INFO and CONSOLE_CONNECTION_INFO to the same way as BASESRV_API_CONNECTINFO
svn path=/trunk/; revision=59781
Aleksey Bragin [Mon, 19 Aug 2013 18:11:47 +0000 (18:11 +0000)]
[GLU32]
- Lee Schroeder: Add version information.
CORE-7392 #resolve #comment Thanks.
svn path=/trunk/; revision=59780
Hermès Bélusca-Maïto [Mon, 19 Aug 2013 17:50:27 +0000 (17:50 +0000)]
[KERNEL32]
Use some existing #define'd constants.
[CSRSRV-BASESRV]
- Add CSR version define (based from BASESRV version define).
- Add missing BASESRV structures, taken from https://code.google.com/p/ontl/source/browse/branches/devel/ntl/nt/csr.hxx (OpenNT Native Template Library).
svn path=/trunk/; revision=59779
Alex Ionescu [Mon, 19 Aug 2013 03:32:39 +0000 (03:32 +0000)]
[SACDRV]: IReadLast returns WCHAR, not CHAR.
[SACDRV]: Implement VtUtf8 case in ChannelInitializeVTable.
[SACDRV]: Implement DoHelpCommand, reformat concmd.c to standards.
[SACDRV]: ConMgrInitialize shoudl setup the SAC channel as VtUtf8, not Raw. I guess it was set to Raw since VtUtf8 wasn't yet implemented, however this breaks the command parsing since it expects WCHAR's. Make a note of this, and temporarily hack ConMgrSerialPortConsumer to work with CHAR's from a Raw channel.
[SACDRV]: Implement ConMgrProcessInputLine, which calls out the appopriate helpers.
[SACDRV]: Fixes to parsing in ConMgrSerialPortConsumer
[SACDRV]: Document, reformat, and fix some of the bugs in the RawChannelI* commands.
[SACDRV]: Implement simple (ANSI) case of SacTranslateUtf8ToUnicode.
[SACDRV]: Implement SacFormatMessage and GetMessageLineCount.
[SACDRV]: Start implementing VT-UTF8 support. Input routines are done, output routines are still WIP.
[SACMSG]: Fix the messages in the .MC file. Stuff is now being output correctly. If using Putty, make sure to turn on "Implicit CR in every LF" in Settings->Terminal.
svn path=/trunk/; revision=59778
Eric Kohl [Sun, 18 Aug 2013 21:43:47 +0000 (21:43 +0000)]
[SAMSRV]
Implement the last part of SamrSetInformationUser.UserAllInformation: USER_ALL_PASSWORDEXPIRED.
svn path=/trunk/; revision=59777
Amine Khaldi [Sun, 18 Aug 2013 21:05:58 +0000 (21:05 +0000)]
[NTOSKRNL]
* Fix a comment typo.
CORE-7393 #resolve #comment Thanks.
svn path=/trunk/; revision=59776
Amine Khaldi [Sun, 18 Aug 2013 20:05:32 +0000 (20:05 +0000)]
[RSYM]
* Add a flag (-s) to pass the source folder. This allows it to set the debug file paths relatively to that source folder. Brought to you by Arty.
[CMAKE]
* Leverage the new rsym flag. The rossym file paths are no longer absolute.
svn path=/trunk/; revision=59775
Hermès Bélusca-Maïto [Sun, 18 Aug 2013 19:46:22 +0000 (19:46 +0000)]
[BASESRV]
Add vdm.c for Virtual DOS Machines management.
svn path=/trunk/; revision=59774
Alex Ionescu [Sun, 18 Aug 2013 17:51:56 +0000 (17:51 +0000)]
[KDCOM]: Also adhere to new standard.
svn path=/trunk/; revision=59773
Alex Ionescu [Sun, 18 Aug 2013 17:47:19 +0000 (17:47 +0000)]
[CPORTLIB/KDBG/FREELDR]: Fix CpGetByte and its callers -- it takes a 4th parameter for polling.
[NTOSKRNL]: Implement InbvPortPollOnly and InbvPortGetByte.
[NTOSKRNL]: Implement HeadlessCmdClearDisplay and HeadlessCmdGetByte.
[SACDRV]: Implement the TimerDpcRoutine which calls HeadlessCmdGetByte. We now consume characters in the EMS port.
[SACDRV]: Implement ConMgrSerialPortConsumer. We now do full VT-100 input parsing. DEL, BS, TAB, SPACE all work. Pressing ENTER results in an ASSERT in ConMgrProcessLine as expected.
svn path=/trunk/; revision=59772
Amine Khaldi [Sun, 18 Aug 2013 14:47:51 +0000 (14:47 +0000)]
[PSDK]
* Annotate msi.h.
svn path=/trunk/; revision=59771
Eric Kohl [Sun, 18 Aug 2013 13:26:33 +0000 (13:26 +0000)]
[SAMLIB]
SamSetInformationUser.UserAllInformation: Pass hashed passwords to SamrSetInformationUser.
[SAMSRV]
SampSetUserAll:
- Get fixed user data at the start of the function and set it only if it has been modified.
- Set user password hashes.
svn path=/trunk/; revision=59770
Eric Kohl [Sun, 18 Aug 2013 11:33:51 +0000 (11:33 +0000)]
[SAMSRV]
SampSetUserPassword: Fix check for vaild password hashes.
svn path=/trunk/; revision=59769
Amine Khaldi [Sat, 17 Aug 2013 23:51:10 +0000 (23:51 +0000)]
[PSDK]
* Apply some formatting consistency in ks.h.
svn path=/trunk/; revision=59768
Amine Khaldi [Sat, 17 Aug 2013 22:29:40 +0000 (22:29 +0000)]
[PSDK]
* Annotate ks.h.
svn path=/trunk/; revision=59767
Hermès Bélusca-Maïto [Sat, 17 Aug 2013 20:07:39 +0000 (20:07 +0000)]
[SERVICES]
Clarify the fact that WaitForSingleObject returns WAIT_OBJECT_0 (which happens to be equal to ERROR_SUCCESS...)
svn path=/trunk/; revision=59765
Amine Khaldi [Sat, 17 Aug 2013 18:19:52 +0000 (18:19 +0000)]
[PSDK]
* Annotate oledlg.h.
svn path=/trunk/; revision=59763
Amine Khaldi [Sat, 17 Aug 2013 17:20:57 +0000 (17:20 +0000)]
[PSDK]
* Annotate wincon.h.
svn path=/trunk/; revision=59762
Amine Khaldi [Sat, 17 Aug 2013 15:39:59 +0000 (15:39 +0000)]
[PSDK]
* Annotate oleauto.h.
svn path=/trunk/; revision=59761
Eric Kohl [Sat, 17 Aug 2013 13:18:02 +0000 (13:18 +0000)]
[NETAPI32]
- NetUserAdd: Open the accounts domain with DOMAIN_READ_PASSWORD_PARAMETERS access. This is needed in order to check whether the password matches the password requirements of the domain.
- Start implementing NetUserGetGroups.
svn path=/trunk/; revision=59759
Amine Khaldi [Sat, 17 Aug 2013 11:20:05 +0000 (11:20 +0000)]
[PSDK]
* Annotate dbghelp.h.
svn path=/trunk/; revision=59758
Amine Khaldi [Fri, 16 Aug 2013 22:05:23 +0000 (22:05 +0000)]
[PSDK]
* Annotate objbase.h.
svn path=/trunk/; revision=59756
Amine Khaldi [Fri, 16 Aug 2013 21:13:36 +0000 (21:13 +0000)]
[CRT]
* Annotate mbstring_s.h.
* Update _mbsnbcpy_s() annotation in mbstring.h.
svn path=/trunk/; revision=59755
Amine Khaldi [Fri, 16 Aug 2013 14:51:13 +0000 (14:51 +0000)]
[CRT]
* Annotate string_s.h.
svn path=/trunk/; revision=59750
Amine Khaldi [Fri, 16 Aug 2013 13:22:42 +0000 (13:22 +0000)]
[CRT]
* Annotate conio_s.h.
svn path=/trunk/; revision=59749
Amine Khaldi [Thu, 15 Aug 2013 21:43:06 +0000 (21:43 +0000)]
[PSDK]
* Annotate shellapi.h.
svn path=/trunk/; revision=59748
Amine Khaldi [Thu, 15 Aug 2013 21:11:40 +0000 (21:11 +0000)]
[SAL]
* Add _Post_null_ annotation.
svn path=/trunk/; revision=59747
Amine Khaldi [Thu, 15 Aug 2013 14:32:37 +0000 (14:32 +0000)]
[PSDK]
* Annotate winsock.h.
svn path=/trunk/; revision=59745
Amine Khaldi [Thu, 15 Aug 2013 13:57:16 +0000 (13:57 +0000)]
[SAL]
* Add _Inout_updates_to_() annotation.
svn path=/trunk/; revision=59744
Amine Khaldi [Thu, 15 Aug 2013 12:59:02 +0000 (12:59 +0000)]
[PSDK]
* Annotate ws2tcpip.h.
svn path=/trunk/; revision=59743
Amine Khaldi [Thu, 15 Aug 2013 11:41:53 +0000 (11:41 +0000)]
[SAL]
* Add _Ret_opt_ and _Ret_opt_valid_ annotations.
svn path=/trunk/; revision=59742
Amine Khaldi [Wed, 14 Aug 2013 16:17:16 +0000 (16:17 +0000)]
[PSDK]
* Annotate ws2spi.h.
svn path=/trunk/; revision=59737
Aleksey Bragin [Wed, 14 Aug 2013 14:08:40 +0000 (14:08 +0000)]
[RTL]
- Improve debug messages to include failure status.
svn path=/trunk/; revision=59736
Amine Khaldi [Wed, 14 Aug 2013 13:23:37 +0000 (13:23 +0000)]
[PSDK]
* Annotate cfgmgr32.h.
svn path=/trunk/; revision=59735
Aleksey Bragin [Wed, 14 Aug 2013 11:02:08 +0000 (11:02 +0000)]
[WIN32K]
- Do not use a internal section object structure type, it's just not necessary and win32k should not ever need to access its fields directly.
svn path=/trunk/; revision=59733
Alex Ionescu [Wed, 14 Aug 2013 04:20:17 +0000 (04:20 +0000)]
[SACDRV]: fix a bug in ChannelReferenceToOneByIndexwithLock and ChanMgrCreateChannel.
[SACDRV]: implement SacTranslateUnicodeToUtf8.
[NTOSKRNL]: implement HadlessCmdPutData.
EMS bringup is now functional:
"
Computer is booting, SAC started and initialized.\n\nUse the \"ch -?\" command for information about using channels.\nUse the \"?\" command for general help.
SAC>%0
"
svn path=/trunk/; revision=59732
Amine Khaldi [Tue, 13 Aug 2013 21:21:08 +0000 (21:21 +0000)]
[SAL]
* Add _Ret_writes_maybenull_z_ annotation.
svn path=/trunk/; revision=59731
Amine Khaldi [Tue, 13 Aug 2013 18:23:10 +0000 (18:23 +0000)]
[PSDK]
* Update oleauto.h.
svn path=/trunk/; revision=59727
Amine Khaldi [Tue, 13 Aug 2013 18:09:50 +0000 (18:09 +0000)]
[PSDK]
* Annotate commctrl.h.
svn path=/trunk/; revision=59726
Amine Khaldi [Tue, 13 Aug 2013 15:27:13 +0000 (15:27 +0000)]
[KERNEL32]
* Include winspool.h only where it's needed.
svn path=/trunk/; revision=59723
Amine Khaldi [Tue, 13 Aug 2013 15:12:04 +0000 (15:12 +0000)]
[PSDK]
* Annotate shlwapi.h.
svn path=/trunk/; revision=59722
Alex Ionescu [Tue, 13 Aug 2013 03:18:03 +0000 (03:18 +0000)]
[NTOSKRNL]: Add and fix more glue code for EMS/Headless support. The SAC driver is at least correctly able to initialize now when /redirect is enabled.
[SACMSG]: SAC wants the message tables as Unicode, but the CMakeList has an obscure comment that Unicode MC needs "testing". Well, I'll be the first to test it and confirm it works -- implement a UNICODE_SOURCE_REALLY to get Unicode-mc.
[SACMSG]: Add a few more constants.
[SACDRV]: Implement InitializeMachineInformation.
[SACDRV]: Fix countless bugs. Now the entire driver initializes up to UTF8EncodeAndSend, which is unimplemented. We're almost there!
svn path=/trunk/; revision=59718
Alex Ionescu [Tue, 13 Aug 2013 03:14:22 +0000 (03:14 +0000)]
[NTOSKRNL]: RtlGetVersion in the kernel does not fail, does not return a CSD version, and should not be returning negative build numbers. Fix it so that it works as it should (and anyone that relied on correct build numbers will no longer fail).
svn path=/trunk/; revision=59717
Alex Ionescu [Tue, 13 Aug 2013 03:11:02 +0000 (03:11 +0000)]
[USETUP]: Add an entry in freeldr.ini for EMS testing.
[HIVESYS]: Fix double-addition of "nmidebug". One of those should have been "sacdrv".
[FREELDR]: Fix bugs in WinLdrSetupEms which caused an invalid HEADLESS_LOADER_BLOCK to be created.
[FERELDR]: Move WinLdrSetupEms in LoadWindowsCommon, so that setupldr can use EMS too.
svn path=/trunk/; revision=59716
Amine Khaldi [Mon, 12 Aug 2013 22:19:46 +0000 (22:19 +0000)]
[PSDK]
* Annotate shlobj.h.
svn path=/trunk/; revision=59715
Amine Khaldi [Mon, 12 Aug 2013 22:08:17 +0000 (22:08 +0000)]
[PSDK]
* Update shlwapi.h.
* Remove IUnknown_AtomicRelease() from shlwapi_undoc.h.
svn path=/trunk/; revision=59714
Hermès Bélusca-Maïto [Mon, 12 Aug 2013 16:15:44 +0000 (16:15 +0000)]
Forgot this file (fixes all the builds).
svn path=/trunk/; revision=59712
Hermès Bélusca-Maïto [Mon, 12 Aug 2013 16:12:58 +0000 (16:12 +0000)]
[KERNEL32][CONSRV]
Half-plement SetConsolePalette.
svn path=/trunk/; revision=59711
Amine Khaldi [Mon, 12 Aug 2013 11:52:50 +0000 (11:52 +0000)]
[PSDK]
* Annotate vfw.h.
svn path=/trunk/; revision=59710
Cameron Gutman [Mon, 12 Aug 2013 06:46:06 +0000 (06:46 +0000)]
[TCPIP]
- Disable object logging now that all the deadlocks, leaks, double-frees, and use-after-frees visible in our test suite are fixed in TCP/IP
svn path=/trunk/; revision=59709
Cameron Gutman [Mon, 12 Aug 2013 06:00:06 +0000 (06:00 +0000)]
[IP]
- Fix a nasty bug preventing any of the non-default interface's NCEs from being selected
- Fix a bug preventing loopback NCEs from being found (fixes hang in ws2_32:sock winetest)
svn path=/trunk/; revision=59708
Cameron Gutman [Mon, 12 Aug 2013 04:58:22 +0000 (04:58 +0000)]
[LWIP]
- Indicate the graceful close before calling the FIN event handler
svn path=/trunk/; revision=59707
Cameron Gutman [Mon, 12 Aug 2013 04:08:20 +0000 (04:08 +0000)]
[LWIP]
- Ensure that the connection failure gets delivered if the socket is not yet ready to receive or has shutdown receive
svn path=/trunk/; revision=59706
Cameron Gutman [Mon, 12 Aug 2013 03:09:28 +0000 (03:09 +0000)]
[TCPIP]
- Add logging of address files and connections (on temporarily for testing changes)
[LWIP]
- Drastically simplify the closing state machine
- All connection objects (and as a result address files too) are now getting properly reaped now
- Tested with Firefox and Abyss Web Server
svn path=/trunk/; revision=59705
Cameron Gutman [Mon, 12 Aug 2013 01:12:25 +0000 (01:12 +0000)]
[CMAKE]
- Define i386 on x86 MSVC builds
- Probably fixes the infamous MSVC networking issues caused by tcpip.h assuming it was a big-endian platform and never byte-swapping anything
[TCPIP][LAN]
- Fix byteswapping on AMD64 and ARM builds too
svn path=/trunk/; revision=59704
Cameron Gutman [Mon, 12 Aug 2013 00:45:04 +0000 (00:45 +0000)]
[TCPIP]
- Use common macro for htons
- Fail compilation if an unrecognized architecture is found (testing)
svn path=/trunk/; revision=59703
Cameron Gutman [Sun, 11 Aug 2013 21:19:35 +0000 (21:19 +0000)]
[SETUPAPI]
- SetupDiRegisterDeviceInfo shouldn't fail if a device instance already exists
- MSDN documentation for this function states: "If [SPRDI_FIND_DUPS] is not specified, the device instance is registered regardless of whether a device instance already exists for it."
svn path=/trunk/; revision=59702
Cameron Gutman [Sun, 11 Aug 2013 19:57:47 +0000 (19:57 +0000)]
[UMPNPMGR]
- Handle the CM_CREATE_DEVNODE_GENERATE_ID flag
[SETUPAPI]
- Use the correct ID (the newly generated instance ID) when creating the device info if the DICD_GENERATE_ID flag was passed in
svn path=/trunk/; revision=59699
Cameron Gutman [Sun, 11 Aug 2013 17:49:17 +0000 (17:49 +0000)]
[SETUPAPI]
- Pass the CM_CREATE_DEVINST_GENERATE_ID flag to CM_Create_DevInst_ExW if DICD_GENERATE_ID was used
- Currently unimplemented in umpnpmgr
svn path=/trunk/; revision=59698
Hermès Bélusca-Maïto [Sun, 11 Aug 2013 17:06:19 +0000 (17:06 +0000)]
[KERNEL32]
Fix the prototype of the undocumented function SetConsolePalette (see http://comments.gmane.org/gmane.comp.lang.harbour.devel/27844 and https://github.com/harbour/core/commit/
d79a1b7b812cbde6ddf718ebfd6939a24f633e52 for a usage example); tested by Mysoft a.k.a. Grégory Macario Harbs.
Needed for modifying VGA palettes for NTVDM.
svn path=/trunk/; revision=59697
Amine Khaldi [Sun, 11 Aug 2013 14:40:52 +0000 (14:40 +0000)]
[PSDK]
* Annotate mmsystem.h.
svn path=/trunk/; revision=59696
Amine Khaldi [Sat, 10 Aug 2013 23:31:33 +0000 (23:31 +0000)]
[PSDK]
* Remove redundant GetUserDefaultUILanguage() declaration.
svn path=/trunk/; revision=59695
Amine Khaldi [Sat, 10 Aug 2013 22:07:04 +0000 (22:07 +0000)]
[CRT]
* Annotate tchar_s.h.
svn path=/trunk/; revision=59694
Amine Khaldi [Sat, 10 Aug 2013 21:17:38 +0000 (21:17 +0000)]
[CRT/INTRIN_X86]
* Fix __ll_rshift() and __ull_rshift(). Thanks to Filip Navara for his help with the issue.
* Properly mark int64part as unsigned __int6 in _byteswap_uint64().
* Add missing prototypes.
svn path=/trunk/; revision=59692
Eric Kohl [Sat, 10 Aug 2013 19:24:03 +0000 (19:24 +0000)]
[NETAPI32]
Reimplement NetUserModalsGet and add NetUserModalsSet stub.
svn path=/trunk/; revision=59689
Hermès Bélusca-Maïto [Sat, 10 Aug 2013 15:00:50 +0000 (15:00 +0000)]
[SPEC2DEF]
In GCC builds, LD sucks, and therefore, use NAME instead of LIBRARY to prevent that GNU crap from marking executables as dlls just because they export stuff, which is needed by both ntoskrnl and ntvdm.
Tested and approved by Aleksandar Aandrejevic a.k.a. [TheFlash], gigaherz and Amine Khaldi.
See:
http://msdn.microsoft.com/en-us/library/28d6s79h.aspx - "Module-Definition (.Def) Files"
http://msdn.microsoft.com/en-us/library/30fw19zw.aspx - For a description of the LIBRARY keyword
http://msdn.microsoft.com/en-us/library/03b3wfkt.aspx - For a description of the NAME keyword
http://sourceware.org/binutils/docs-2.16/binutils/def-file-format.html - "The format of the dlltool .def file" (GCC)
for more information.
svn path=/trunk/; revision=59686
Eric Kohl [Sat, 10 Aug 2013 12:53:29 +0000 (12:53 +0000)]
[SAMSRV]
Initialize default domain ForceLogoff time.
svn path=/trunk/; revision=59685
Hermès Bélusca-Maïto [Fri, 9 Aug 2013 22:23:27 +0000 (22:23 +0000)]
[CMAKE]
Fix console apps entry-point (problem since revision r53553).
svn path=/trunk/; revision=59683
Amine Khaldi [Wed, 7 Aug 2013 21:03:03 +0000 (21:03 +0000)]
[PSDK]
* Annotate wininet.h.
svn path=/trunk/; revision=59670
Amine Khaldi [Wed, 7 Aug 2013 13:20:13 +0000 (13:20 +0000)]
[CRT]
* Annotate wchar_s.h.
svn path=/trunk/; revision=59664
Amine Khaldi [Wed, 7 Aug 2013 12:28:47 +0000 (12:28 +0000)]
[CMAKE]
* We no longer need to maintain a transitional compatibility with the old CMake/RosBE for MSVC builds.
svn path=/trunk/; revision=59663
Amine Khaldi [Tue, 6 Aug 2013 21:34:25 +0000 (21:34 +0000)]
[CRT]
* Annotate time_s.h.
svn path=/trunk/; revision=59661
Hermès Bélusca-Maïto [Tue, 6 Aug 2013 19:10:36 +0000 (19:10 +0000)]
[CONSRV]
- Fix console handle validation (triggered by recent Process changes by Alex).
- Temporarily add commented-out asserts for testing purposes only.
svn path=/trunk/; revision=59658
Hermès Bélusca-Maïto [Tue, 6 Aug 2013 18:36:25 +0000 (18:36 +0000)]
[KERNEL32]
Limit indentation by avoiding many "if ()" imbrications.
svn path=/trunk/; revision=59657
Amine Khaldi [Tue, 6 Aug 2013 16:16:27 +0000 (16:16 +0000)]
[CRT]
* Annotate time.h.
svn path=/trunk/; revision=59656
Amine Khaldi [Tue, 6 Aug 2013 13:48:36 +0000 (13:48 +0000)]
[PSDK]
* Annotate wincrypt.h.
svn path=/trunk/; revision=59655
Hermès Bélusca-Maïto [Tue, 6 Aug 2013 10:40:36 +0000 (10:40 +0000)]
[KERNEL32]
Clarify a comment; fix a parameter given to BasepIsRealtimeAllowed.
svn path=/trunk/; revision=59654
Alex Ionescu [Tue, 6 Aug 2013 01:42:43 +0000 (01:42 +0000)]
[NDK]: Update DNF_NEED_TO_ENUM to DNF_LEGACY_RESOURCE_DEVICENODE. The former wasn't used and doesn't seem to exist, the latter is the actual real flag with that value.
[NTOSKRNL]: Commit an old patch of mine that sets up the right frontend code in IoAssignResources. All it does is add some error checking before calling the old halfplemented backend.
svn path=/trunk/; revision=59653