Commit graph

54242 commits

Author SHA1 Message Date
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
Amine Khaldi cf0c04f897 [SAL]
* Add _Ret_writes_maybenull_z_ annotation.

svn path=/trunk/; revision=59731
2013-08-13 21:21:08 +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
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
Alex Ionescu 7e5cd96267 [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
2013-08-13 03:18:03 +00:00
Alex Ionescu 1f8570be62 [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
2013-08-13 03:14:22 +00:00
Alex Ionescu f762bc3a74 [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
2013-08-13 03:11:02 +00:00
Amine Khaldi 8bbf3b5415 [PSDK]
* Annotate shlobj.h.

svn path=/trunk/; revision=59715
2013-08-12 22:19:46 +00:00
Amine Khaldi 11a9057ed5 [PSDK]
* Update shlwapi.h.
* Remove IUnknown_AtomicRelease() from shlwapi_undoc.h.

svn path=/trunk/; revision=59714
2013-08-12 22:08:17 +00:00
Hermès Bélusca-Maïto c746456035 Forgot this file (fixes all the builds).
svn path=/trunk/; revision=59712
2013-08-12 16:15:44 +00:00
Hermès Bélusca-Maïto 38c812cfc9 [KERNEL32][CONSRV]
Half-plement SetConsolePalette.

svn path=/trunk/; revision=59711
2013-08-12 16:12:58 +00:00
Amine Khaldi d802ba093a [PSDK]
* Annotate vfw.h.

svn path=/trunk/; revision=59710
2013-08-12 11:52:50 +00:00
Cameron Gutman abf6e4f969 [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
2013-08-12 06:46:06 +00:00
Cameron Gutman a88dd96b21 [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
2013-08-12 06:00:06 +00:00
Cameron Gutman 84da0d7111 [LWIP]
- Indicate the graceful close before calling the FIN event handler

svn path=/trunk/; revision=59707
2013-08-12 04:58:22 +00:00
Cameron Gutman fbc6d8b085 [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
2013-08-12 04:08:20 +00:00
Cameron Gutman 578fec3cac [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
2013-08-12 03:09:28 +00:00
Cameron Gutman 4ed049cc7b [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
2013-08-12 01:12:25 +00:00
Cameron Gutman 60666eecd3 [TCPIP]
- Use common macro for htons
- Fail compilation if an unrecognized architecture is found (testing)

svn path=/trunk/; revision=59703
2013-08-12 00:45:04 +00:00
Cameron Gutman 975aee1a7c [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
2013-08-11 21:19:35 +00:00
Cameron Gutman c673f80b25 [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
2013-08-11 19:57:47 +00:00
Cameron Gutman fb58b492f6 [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
2013-08-11 17:49:17 +00:00
Hermès Bélusca-Maïto 4df1a905ab [KERNEL32]
Fix the prototype of the undocumented function SetConsolePalette (see http://comments.gmane.org/gmane.comp.lang.harbour.devel/27844 and d79a1b7b81 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
2013-08-11 17:06:19 +00:00