Introduce a "apitest.h" header gathering special things for apitests (SEH macros, wine/test.h inclusion, and so on...).
svn path=/trunk/; revision=60313
- 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
- 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
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
- 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
- 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
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
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
- 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
- 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
- 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