Commit graph

54303 commits

Author SHA1 Message Date
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
2672ec8ee5 [SOFT386]
- In the interface header soft386.h, do not include other particular headers (windows.h and debug.h). Those must be included by the different applications which also will include soft386.h.
- LPVOID --> PVOID (do it general, not just à-la Win32).
- The .c files include the headers, and each .c files must have its "#define NDEBUG\n#include <debug.h>" lines, to activate (or deactivate here in the example) debugging output.
- In the .c files, include the header windef.h for having the basic types, and temporarily comment out the needed #defines which will be needed if one needs to include other win***.h files. Those will be deleted if they aren't needed at the end.

svn path=/branches/ntvdm/; revision=59766
2013-08-17 21:15:55 +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
Aleksandar Andrejevic
99302b9d00 [SOFT386]
Implement Soft386LoadSegment.
[NTVDM]
Fix BiosPrintCharacter (Adapted from a patch by Hermes Belusca-Maito).


svn path=/branches/ntvdm/; revision=59764
2013-08-17 18:44:16 +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
Aleksandar Andrejevic
c7b66d26f6 [SOFT386]
Implement Soft386ReadMemory, Soft386WriteMemory, Soft386StackPush and Soft386StackPop.


svn path=/branches/ntvdm/; revision=59760
2013-08-17 15:20:47 +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
Aleksandar Andrejevic
fb158ecbe1 [SOFT386]
Add definition for Soft386Interrupt.
Implement Soft386DumpState.


svn path=/branches/ntvdm/; revision=59757
2013-08-17 01:41:22 +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
Aleksandar Andrejevic
e1c4d780c1 [NTVDM]
Fix the INT 12h handler to call the correct function (DosOpenFile not DosCreateFile).


svn path=/branches/ntvdm/; revision=59754
2013-08-16 19:40:02 +00:00
Aleksandar Andrejevic
5ffc6554be [NTVDM]
Remove the "new emulator" started in emulator.c in favor of Soft386.


svn path=/branches/ntvdm/; revision=59753
2013-08-16 19:33:04 +00:00
Aleksandar Andrejevic
005e1f0559 [SOFT386]
Start implementing a new emulator library to provide 386/486 emulation support to NTVDM
and perhaps other components aswell.


svn path=/branches/ntvdm/; revision=59752
2013-08-16 19:21:02 +00:00
Sylvain Petreolle
ec58bdeae3 [NTVDM]
Report VGA card as present.

svn path=/branches/ntvdm/; revision=59751
2013-08-16 18:33:24 +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
Hermès Bélusca-Maïto
e3345a32fb [NTVDM]
Do not rely on the internal format for console handles. Instead, use a more reliable way, by checking for success when calling a simple console function acting on in/out console handles.

svn path=/branches/ntvdm/; revision=59746
2013-08-15 21:10:09 +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
Aleksandar Andrejevic
08dc1d3e16 [NTVDM]
Make the BIOS Data Area accessible to other parts of ntvdm.
Properly redirect read/write access to the console to the keyboard and VGA systems, respectively.


svn path=/branches/ntvdm/; revision=59741
2013-08-15 01:40:50 +00:00
Aleksandar Andrejevic
a9fdfb3371 [NTVDM]
Fix bug in DosTerminateProcess.


svn path=/branches/ntvdm/; revision=59740
2013-08-14 23:28:45 +00:00
Aleksandar Andrejevic
58931acc6a [NTVDM]
Fix VGA interleaved mode.


svn path=/branches/ntvdm/; revision=59739
2013-08-14 21:55:50 +00:00
Aleksandar Andrejevic
516653f447 [NTVDM]
Fix 16 color modes.
Implement 4-bit interleaved shift mode.


svn path=/branches/ntvdm/; revision=59738
2013-08-14 17:17:43 +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
Aleksandar Andrejevic
05b8a9a86c [NTVDM]
Use the correct values for AC registers.


svn path=/branches/ntvdm/; revision=59734
2013-08-14 12:25:43 +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
Amine Khaldi
cf0c04f897 [SAL]
* Add _Ret_writes_maybenull_z_ annotation.

svn path=/trunk/; revision=59731
2013-08-13 21:21:08 +00:00
Hermès Bélusca-Maïto
738d02adf2 [NTVDM]
Simplify the code

svn path=/branches/ntvdm/; revision=59730
2013-08-13 20:15:24 +00:00
Aleksandar Andrejevic
0c3e20ab89 [NTVDM]
Fix bug with VGA DAC register access.


svn path=/branches/ntvdm/; revision=59729
2013-08-13 19:00:02 +00:00
Aleksandar Andrejevic
409b1ee254 [NTVDM]
Fix VGA register constants.


svn path=/branches/ntvdm/; revision=59728
2013-08-13 18:41:35 +00:00
Amine Khaldi
83b94585d4 [PSDK]
* Update oleauto.h.

svn path=/trunk/; revision=59727
2013-08-13 18:23:10 +00:00
Amine Khaldi
f33e61c6a5 [PSDK]
* Annotate commctrl.h.

svn path=/trunk/; revision=59726
2013-08-13 18:09:50 +00:00
Aleksandar Andrejevic
a88f650367 [SOFTX86]
Fix carry/overflow flag computation for ADD instructions.


svn path=/branches/ntvdm/; revision=59725
2013-08-13 17:06:15 +00:00
Hermès Bélusca-Maïto
e387f7f1cd [NTVDM]
- Add new BIOS video modes (obtained from DosBox with the help of Aleksander)
- Remove an unneeded comment.

svn path=/branches/ntvdm/; revision=59724
2013-08-13 16:49:54 +00:00
Amine Khaldi
209b522093 [KERNEL32]
* Include winspool.h only where it's needed.

svn path=/trunk/; revision=59723
2013-08-13 15:27:13 +00:00
Amine Khaldi
81462f65ed [PSDK]
* Annotate shlwapi.h.

svn path=/trunk/; revision=59722
2013-08-13 15:12:04 +00:00
Aleksandar Andrejevic
6646ea182c [NTVDM]
Use RGB() macro instead of defining the hexadecimal values manually, which were incorrect.


svn path=/branches/ntvdm/; revision=59721
2013-08-13 11:57:10 +00:00