Commit graph

54316 commits

Author SHA1 Message Date
Amine Khaldi 566a7607c1 [PSDK]
* Annotate hidpi.h.

svn path=/trunk/; revision=59799
2013-08-23 18:29:18 +00:00
Amine Khaldi e2d4d758d7 [PSDK]
* Annotate mstcpip.h.

svn path=/trunk/; revision=59798
2013-08-23 15:26:52 +00:00
Amine Khaldi 47bfd5da5d [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
2013-08-23 15:21:10 +00:00
Amine Khaldi f656bb5534 [PSDK]
* Replace WINBOOL by BOOL. The former is a mingw-w64 invention.

svn path=/trunk/; revision=59796
2013-08-23 15:04:39 +00:00
Hermès Bélusca-Maïto e48a0068d6 [NTOSKRNL]
Fix some code indentation and a DPRINT.

svn path=/trunk/; revision=59794
2013-08-22 19:17:17 +00:00
Hermès Bélusca-Maïto 3d31c7014a [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
2013-08-22 18:25:02 +00:00
Hermès Bélusca-Maïto 3bb2ee8cd3 [KERNEL32]
- Move VDM-related definitions into a dedicated header.
- Clean some code.

svn path=/trunk/; revision=59792
2013-08-22 16:10:34 +00:00
Hermès Bélusca-Maïto c1826bc280 [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
2013-08-22 12:47:14 +00:00
Hermès Bélusca-Maïto 068cf237e9 [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
2013-08-21 16:54:19 +00:00
Hermès Bélusca-Maïto 7b25683467 [ROSTESTS]
Add a newline.

svn path=/trunk/; revision=59789
2013-08-21 11:14:22 +00:00
Hermès Bélusca-Maïto 19906a0907 [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
2013-08-20 18:55:42 +00:00
Aleksey Bragin 65502e2141 [CTM]
- Change my email address to a working one.
- Remove version info from the title.

svn path=/trunk/; revision=59787
2013-08-20 11:51:05 +00:00
Hermès Bélusca-Maïto 282942655f [ROSTESTS]
Add a test for NtQueryTimerResolution and NtSetTimerResolution, by Aleksander Andrejevic.
See CORE-7387 for more information.

svn path=/trunk/; revision=59786
2013-08-19 21:44:26 +00:00
Aleksey Bragin 63feab70a0 [NTOS]
- Aleksandar Andrejevic: Implement NtQueryTimerResolution().

CORE-7387

svn path=/trunk/; revision=59785
2013-08-19 19:40:25 +00:00
Hermès Bélusca-Maïto 7e36ed9fa8 Rename CSR_CONNECTION_INFO and CONSOLE_CONNECTION_INFO to the same way as BASESRV_API_CONNECTINFO
svn path=/trunk/; revision=59781
2013-08-19 18:14:43 +00:00
Aleksey Bragin 8925f44f91 [GLU32]
- Lee Schroeder: Add version information.

CORE-7392 #resolve #comment Thanks.

svn path=/trunk/; revision=59780
2013-08-19 18:11:47 +00:00
Hermès Bélusca-Maïto 4203172aa0 [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
2013-08-19 17:50:27 +00:00
Alex Ionescu 519595d9c4 [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
2013-08-19 03:32:39 +00:00
Eric Kohl ed35b983f9 [SAMSRV]
Implement the last part of SamrSetInformationUser.UserAllInformation: USER_ALL_PASSWORDEXPIRED.

svn path=/trunk/; revision=59777
2013-08-18 21:43:47 +00:00
Amine Khaldi a02dab8fb2 [NTOSKRNL]
* Fix a comment typo.
CORE-7393 #resolve #comment Thanks.

svn path=/trunk/; revision=59776
2013-08-18 21:05:58 +00:00
Amine Khaldi f47701b71d [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
2013-08-18 20:05:32 +00:00
Hermès Bélusca-Maïto d1f2547346 [BASESRV]
Add vdm.c for Virtual DOS Machines management.

svn path=/trunk/; revision=59774
2013-08-18 19:46:22 +00:00
Alex Ionescu 57ec941f0f [KDCOM]: Also adhere to new standard.
svn path=/trunk/; revision=59773
2013-08-18 17:51:56 +00:00
Alex Ionescu a93ca08cdc [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
2013-08-18 17:47:19 +00:00
Amine Khaldi d914dce9a0 [PSDK]
* Annotate msi.h.

svn path=/trunk/; revision=59771
2013-08-18 14:47:51 +00:00
Eric Kohl 5d3a6f8098 [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
2013-08-18 13:26:33 +00:00
Eric Kohl cb93ccc1d2 [SAMSRV]
SampSetUserPassword: Fix check for vaild password hashes.

svn path=/trunk/; revision=59769
2013-08-18 11:33:51 +00:00
Amine Khaldi 6356fb1d50 [PSDK]
* Apply some formatting consistency in ks.h.

svn path=/trunk/; revision=59768
2013-08-17 23:51:10 +00:00
Amine Khaldi 52a99be7cb [PSDK]
* Annotate ks.h.

svn path=/trunk/; revision=59767
2013-08-17 22:29:40 +00:00
Hermès Bélusca-Maïto c2a5e8a610 [SERVICES]
Clarify the fact that WaitForSingleObject returns WAIT_OBJECT_0 (which happens to be equal to ERROR_SUCCESS...)

svn path=/trunk/; revision=59765
2013-08-17 20:07:39 +00:00
Amine Khaldi 7be422afdc [PSDK]
* Annotate oledlg.h.

svn path=/trunk/; revision=59763
2013-08-17 18:19:52 +00:00
Amine Khaldi 226145ca8e [PSDK]
* Annotate wincon.h.

svn path=/trunk/; revision=59762
2013-08-17 17:20:57 +00:00
Amine Khaldi d7a0874417 [PSDK]
* Annotate oleauto.h.

svn path=/trunk/; revision=59761
2013-08-17 15:39:59 +00:00
Eric Kohl 4a8340e43a [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
2013-08-17 13:18:02 +00:00
Amine Khaldi 971f5c4558 [PSDK]
* Annotate dbghelp.h.

svn path=/trunk/; revision=59758
2013-08-17 11:20:05 +00:00
Amine Khaldi 889edacdad [PSDK]
* Annotate objbase.h.

svn path=/trunk/; revision=59756
2013-08-16 22:05:23 +00:00
Amine Khaldi 3dff5bef29 [CRT]
* Annotate mbstring_s.h.
* Update _mbsnbcpy_s() annotation in mbstring.h.

svn path=/trunk/; revision=59755
2013-08-16 21:13:36 +00:00
Amine Khaldi ba6322db09 [CRT]
* Annotate string_s.h.

svn path=/trunk/; revision=59750
2013-08-16 14:51:13 +00:00
Amine Khaldi 8da248e5cb [CRT]
* Annotate conio_s.h.

svn path=/trunk/; revision=59749
2013-08-16 13:22:42 +00:00
Amine Khaldi fcac9556d6 [PSDK]
* Annotate shellapi.h.

svn path=/trunk/; revision=59748
2013-08-15 21:43:06 +00:00
Amine Khaldi b0dc82eda6 [SAL]
* Add _Post_null_ annotation.

svn path=/trunk/; revision=59747
2013-08-15 21:11:40 +00:00
Amine Khaldi dabb39b31c [PSDK]
* Annotate winsock.h.

svn path=/trunk/; revision=59745
2013-08-15 14:32:37 +00:00
Amine Khaldi e0532e413c [SAL]
* Add _Inout_updates_to_() annotation.

svn path=/trunk/; revision=59744
2013-08-15 13:57:16 +00:00
Amine Khaldi 7f9ea4491b [PSDK]
* Annotate ws2tcpip.h.

svn path=/trunk/; revision=59743
2013-08-15 12:59:02 +00:00
Amine Khaldi cf07d17423 [SAL]
* Add _Ret_opt_ and _Ret_opt_valid_ annotations.

svn path=/trunk/; revision=59742
2013-08-15 11:41:53 +00:00
Amine Khaldi 4ed7e8a052 [PSDK]
* Annotate ws2spi.h.

svn path=/trunk/; revision=59737
2013-08-14 16:17:16 +00:00
Aleksey Bragin adde38d4dd [RTL]
- Improve debug messages to include failure status.

svn path=/trunk/; revision=59736
2013-08-14 14:08:40 +00:00
Amine Khaldi 8b235bf105 [PSDK]
* Annotate cfgmgr32.h.

svn path=/trunk/; revision=59735
2013-08-14 13:23:37 +00:00
Aleksey Bragin 0fd6b43313 [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
2013-08-14 11:02:08 +00:00
Alex Ionescu 7347dd9801 [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
2013-08-14 04:20:17 +00:00