Commit graph

54885 commits

Author SHA1 Message Date
Alex Ionescu
e8b55a9f69 - Implement and export PsGetCurrentThreadWin32ThreadAndEnterCriticalRegion.
svn path=/trunk/; revision=60318
2013-09-22 18:54:58 +00:00
Alex Ionescu
7e3fbb3780 [NTOSKRNL]: Implement and export PsGetProcessSessionIdEx, and MmGetSessionIdEx. Dedicated to hbelusca. If you look at the diff (please don't), yes, this is seriously how it works in Windows.
svn path=/trunk/; revision=60317
2013-09-22 18:47:36 +00:00
Hermès Bélusca-Maïto
2cdfc40af8 [APITEST:WININET]
Make it use apitest.h

svn path=/trunk/; revision=60316
2013-09-22 18:19:56 +00:00
Hermès Bélusca-Maïto
2a026800b2 [WINHTTP:USER32]
Make it use apitest.h

svn path=/trunk/; revision=60315
2013-09-22 18:19:16 +00:00
Hermès Bélusca-Maïto
f63c233859 [APITESTS:USER32]
Make it use apitest.h

svn path=/trunk/; revision=60314
2013-09-22 18:17:54 +00:00
Hermès Bélusca-Maïto
4b95e17c61 [ROSTESTS:APITESTS]
Introduce a "apitest.h" header gathering special things for apitests (SEH macros, wine/test.h inclusion, and so on...).

svn path=/trunk/; revision=60313
2013-09-22 17:52:42 +00:00
Amine Khaldi
e62911d355 [MSRLE32]
* Move resource files to the lang folder.
CORE-7470

svn path=/trunk/; revision=60312
2013-09-22 16:57:15 +00:00
Amine Khaldi
eb4d53ad8d [MSISYS.OCX]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60311
2013-09-22 16:53:31 +00:00
Amine Khaldi
e26460061a [MSISIP]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60310
2013-09-22 16:47:51 +00:00
Amine Khaldi
28bb2a3573 [MSIMTF]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60309
2013-09-22 16:32:59 +00:00
Amine Khaldi
7d081ffd6c [MSI_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60308
2013-09-22 16:30:59 +00:00
Amine Khaldi
d221b534b9 [MSI]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60307
2013-09-22 16:30:18 +00:00
Amine Khaldi
b44def699b [MSGSM32.ACM]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60306
2013-09-22 16:28:18 +00:00
Amine Khaldi
ef5fd265dc [MSG711.ACM]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60305
2013-09-22 16:25:27 +00:00
Amine Khaldi
6407f62d29 [MSCTF_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60304
2013-09-22 16:16:55 +00:00
Amine Khaldi
f8872fa643 [MSCTF]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60303
2013-09-22 16:16:21 +00:00
Hermès Bélusca-Maïto
5b90b42861 [RTL]
- Implement and export RtlGetCriticalSectionRecursionCount (introduced in NT 5.2 SP1, see http://www.geoffchappell.com/studies/windows/win32/ntdll/history/names52.htm) which definition comes from http://processhacker.sourceforge.net/doc/ntrtl_8h.html#a26bd65dfad63985a247700c2c2ab9e86.
- Fix the return type of RtlSetCriticalSectionSpinCount.
- Export the already-existing RtlQueryInformationActiveActivationContext API.

RtlQueryInformationActiveActivationContext and RtlGetCriticalSectionRecursionCount are needed by Win2k3 user32.dll and winsrv.dll .

svn path=/trunk/; revision=60302
2013-09-22 15:14:24 +00:00
Hermès Bélusca-Maïto
cb93b06d35 [NTOS]
- Fix disabling impersonation in PsDisableImpersonation, and
- Fix how we do restore impersonation in NtOpenThreadTokenEx.
Patch by Thomas Faber,
CORE-7476 #comment Patch committed in revision 60301, thanks :). Please retest the bug.

svn path=/trunk/; revision=60301
2013-09-22 00:26:31 +00:00
Jérôme Gardou
ccafea6eee [MESA/OPENGL32]
- Disable un-used mesa features (ATI/NV programs) for a leaner build
 - Print a fixme instead of asserting in software version of wglGetProcAddress

svn path=/trunk/; revision=60300
2013-09-22 00:25:59 +00:00
Hermès Bélusca-Maïto
8ffc368a0c [NTOS]
Set the session ID to the process' associated PEB (introduced in revision 43476, the code erratically disappeared in revision 57011 when Alex fixed sessions).

svn path=/trunk/; revision=60299
2013-09-21 23:21:24 +00:00
Hermès Bélusca-Maïto
ba62280d9e [NTOS]
- Fix Job object session ID setting and comparison; fix a list initialization.
- Correct some comments.
- As Alex noticed it 7 years and 2 months ago, in revision 23197, the ProcessSessionInformation case in the NtSetInformationProcess API doesn't set a new session ID for the given process anymore (checked by myself too), because it is set once and for all at process creation time and is stored inside the Process->Session structure managed by MM. Therefore fake changing it: we just return success if the user-defined value is the same as the session ID of the process, and otherwise we fail.

svn path=/trunk/; revision=60298
2013-09-21 22:59:24 +00:00
Amine Khaldi
cfdd6612b1 [PSDK]
* Import inputscope.idl from Wine.

svn path=/trunk/; revision=60297
2013-09-21 21:04:03 +00:00
Hermès Bélusca-Maïto
26432ca94b [NTOS]
- Implement PsGetCurrentThreadProcess, PsGetCurrentThreadProcessId and PsGetCurrentThreadTeb based on their non-current versions.
- Fix PsGetThreadSessionId to call MmGetSessionId.
- Fix the return value type of PsGetJobSessionId.
- Remove an unneeded cast.

svn path=/trunk/; revision=60296
2013-09-21 20:46:42 +00:00
Amine Khaldi
575664c6f0 [MSCMS_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60295
2013-09-21 20:44:00 +00:00
Amine Khaldi
9c4a2e68c0 [MSCMS]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60294
2013-09-21 20:43:42 +00:00
Hermès Bélusca-Maïto
20a1d1968d [NTOS]: Fix declaration and definition of PsGetProcessSessionId: indeed, as PsGetCurrentProcessSessionId, we should call MmGetSessionId to retrieve the real process session id.
svn path=/trunk/; revision=60293
2013-09-21 20:14:22 +00:00
Hermès Bélusca-Maïto
4c6659967e [NTOS]
- Stubplement ObDeleteCapturedInsertInfo, which was added in Win2k3 (and is present in Vista+) and in Win2k SP4, according to http://www.geoffchappell.com/studies/windows/km/ntoskrnl/history/names50sp4.htm .
  Its prototype come from http://hi.baidu.com/_achillis/item/422140888137cb834514cf08 (this is a chinese article explaining some of the changes in the Object Manager from Windows XP to 7).
- Stubplement ObSetHandleAttributes, which was added in NT 5.1 (XP) (see http://www.geoffchappell.com/studies/windows/km/ntoskrnl/history/names51.htm); its prototype is given in http://processhacker.sourceforge.net/doc/ntfill_8h.html#a7f6e063aedf2354a7396b096830647d5 .
  Its second parameter, a pointer to a OBJECT_HANDLE_FLAG_INFORMATION structure, according to its definition in http://processhacker.sourceforge.net/doc/struct___o_b_j_e_c_t___h_a_n_d_l_e___f_l_a_g___i_n_f_o_r_m_a_t_i_o_n.html,
  appears to correspond to our OBJECT_HANDLE_ATTRIBUTE_INFORMATION structure defined in http://git.reactos.org/?p=reactos.git;a=blob;f=reactos/include/ndk/obtypes.h;hb=HEAD#l259 .

Those functions are needed by Win2k3's win32k.sys .

svn path=/trunk/; revision=60292
2013-09-21 19:52:44 +00:00
Amine Khaldi
47843717cb [MSCAT32]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60291
2013-09-21 19:51:32 +00:00
Amine Khaldi
7ae750c1d9 [MSADP32.ACM]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60290
2013-09-21 19:48:33 +00:00
Hermès Bélusca-Maïto
8ea614d505 [CSRSS]: Improve two dprints.
svn path=/trunk/; revision=60288
2013-09-21 18:38:30 +00:00
Hermès Bélusca-Maïto
dd9e5ada7d [BASESRV]
Stubplement BaseSrvNlsLogon and BaseSrvNlsUpdateRegistryCache needed by Windows-2k3's WINSRV.DLL . Their return value types are unknown, but the number of parameters was obtained by reading http://wcwp.googlecode.com/svn/trunk/wcwp/bin/masm32/include/basesrv.inc .

svn path=/trunk/; revision=60287
2013-09-21 18:25:02 +00:00
Hermès Bélusca-Maïto
04c01edfae [USER32]
Stubplement IsSETEnabled, needed when testing WINSRV.DLL from Windows 2k3 SP1/2.
(this function determines whether the Shutdown Event Tracker is enabled, see http://undoc.airesoft.co.uk/user32.dll/IsSETEnabled.php for more information).

svn path=/trunk/; revision=60286
2013-09-21 17:52:06 +00:00
Jérôme Gardou
a5bf1e54a1 [CMAKE]
- Update base addresses accordingly to latest opengl32/mesa updates

svn path=/trunk/; revision=60285
2013-09-21 15:42:48 +00:00
Jérôme Gardou
fa32d8b17f [HIVESFT]
- remove reference to the not-used not-built-anymore mesa32 opengl ICD
Thank you, our relationship was great, but somehow ReactOS matured and you are not in the plan anymore. Fare thee well.

svn path=/trunk/; revision=60284
2013-09-21 15:30:42 +00:00
Jérôme Gardou
bd977c2d49 [MESA]
- Remove many things.
Look at the log if you really care

svn path=/trunk/; revision=60283
2013-09-21 15:25:09 +00:00
Amine Khaldi
a6303337c5 [MSACM32]
* Remove this unused empty file.

svn path=/trunk/; revision=60282
2013-09-21 15:12:18 +00:00
Jérôme Gardou
891173bdd3 [OPENGL32]
- Blow up the old implementation and enable the new one
 - Software implementation now relies on mesa in the form of a mesa "driver", no longer on osmesa (which inspired the current implementation)
 - Add nice and fast x86 trampolines to forward opengl API calls to the current thread's dispatch table
Some tiny bits are missing, but the DLL is fully functional, so let's use it.

svn path=/trunk/; revision=60281
2013-09-21 14:17:59 +00:00
Amine Khaldi
554a97f4d9 [MSACM32]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60280
2013-09-21 14:16:27 +00:00
Amine Khaldi
d269d6ec6d [MSACM32_WINETEST]
* Build speedup.

svn path=/trunk/; revision=60279
2013-09-21 14:14:26 +00:00
Amine Khaldi
7e07b27bdb [MSACM32]
* Move resource files to the lang folder.
CORE-7470

svn path=/trunk/; revision=60278
2013-09-21 13:52:12 +00:00
Amine Khaldi
8c161e0124 [MPR_WINETEST]
* Import from Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60277
2013-09-21 13:13:56 +00:00
Amine Khaldi
7692695872 [MPR]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60276
2013-09-21 13:12:58 +00:00
Amine Khaldi
07fda74e85 [MLANG_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60275
2013-09-21 13:09:05 +00:00
Amine Khaldi
53cccc3ed8 [MLANG]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60274
2013-09-21 13:08:12 +00:00
Amine Khaldi
3576e5cc54 [MCISEQ]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60273
2013-09-21 13:01:56 +00:00
Hermès Bélusca-Maïto
65335de9f6 [KERNEL32]:
- Revert r60250 (which was here just to test something in all of the test bots).
- Display which file we wanted to execute, when seeing that it wasn't an executable file nor a .bat or .cmd file.

svn path=/trunk/; revision=60272
2013-09-21 13:00:48 +00:00
Amine Khaldi
afb78ec474 [PSDK]
* Annotate winhttp.h.
CORE-7474

svn path=/trunk/; revision=60271
2013-09-21 13:00:03 +00:00
Amine Khaldi
f9369af830 [MCIQTZ32]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60270
2013-09-21 12:59:22 +00:00
Amine Khaldi
e0a205d44a [MCIAVI32]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60269
2013-09-21 12:57:03 +00:00
Amine Khaldi
f46ef6afa2 [MAPI32_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60268
2013-09-21 12:54:15 +00:00