Remove "size_t to DWORD/int..." conversion warnings in x64 build.
Patch by Hermes Belusca.
I replaced size_t by SIZE_T, as this is the proper Win32 type. And I also used the prefix 'cch' (count of characters) instead of the generic 'dw'.
See issue #7149 for more details.
svn path=/trunk/; revision=57108
* In the journey of running his GCC 4.7.1 compiled bootcd, two issues were revealed. Thomas kindly investigated them and fixed them, and as a result the bootcd boots to shell !
[CSRSRV]
* Fix the output parameter of ProcessLUIDDeviceMapsEnabled case in NtQueryInformationProcess() to be ULONG instead of BOOLEAN (as required).
* ASSERT that the function succeeds.
[SMSS]
* Move this condition up to the commented-out part (where it belongs).
svn path=/trunk/; revision=56972
Implement check for SERVICE_WIN32_OWN_PROCESS or SERVICE_WIN32_SHARE_PROCESS type.
Patch by Hermes Belusca.
See issue #7179 for more details.
svn path=/trunk/; revision=56900
Correct comments and code error introduced in rev 56844.
Patch by Hermes Belusca.
I used a helper variable to determine whether or not ScmDeleteNamedPipeCriticalSection must be called. Changing the order in which functions are called could cause a deadlock.
See issue #7172 for more details.
svn path=/trunk/; revision=56861
Implement service database locking via RLockServiceDatabase / RUnlockServiceDatabase etc... and use this functionality.
Patch by Hermès Bélusca.
I did not rename the database lock functions because the functions names RLockServiceDatabase and RUnlockServiceDatabase are misleading. They do not lock any database but lock the service start function. The existing functions ScmLockDatabaseExclusive, ScmLockDatabaseShared and ScmUnlockDatabase do protect (lock) the service database (service, group and image lists) form concurrent access. That is also the reason for renaming the SC_LOCK_STRUCT to START_LOCK.
See issue #7131 for more details.
svn path=/trunk/; revision=56844
Handle read only devices and report them unsupported.
Forbid the formatting of the system drive.
Patch by Mikael Lyngvig.
See bug 2081 for more details.
svn path=/trunk/; revision=56808
Improve a check in RQueryServiceConfig2W and RQueryServiceConfig2A
Patch by Hermès Bélusca.
See issue #7123 for more details.
svn path=/trunk/; revision=56739
Implement SERVICE_CONFIG_FAILURE_ACTIONS case in RChangeServiceConfig2W.
Patch by Hermès Bélusca.
I moved the changes to RChangeServiceConfig2W into a new function (ScmSetFailureActions). I also removed the check for services that run in the services.exe process because ReactOS will not support this kind of services. We should use a separate process or svchost instead.
See issue #7122 for more details.
svn path=/trunk/; revision=56738
This new patch corrects bugs introduced in the implementation of
SERVICE_CONFIG_FAILURE_ACTIONS case in RQueryServiceConfig2W() and
RQueryServiceConfig2A().
Patch by Hermès Bélusca.
See issue #7101 for more details.
svn path=/trunk/; revision=56725
Removing the redundant function WaitForLSA() and use ScmWaitForLsa() instead.
Patch by Hermès Bélusca.
See issue #7110 for more details.
svn path=/trunk/; revision=56721
- brasilian portugeese translation by Matheus Macabu (bug no. 7079);
[AHK]
- add scripts for including AHK tests into Reactos\Bin;
svn path=/trunk/; revision=56697
Implement SERVICE_CONFIG_FAILURE_ACTIONS case in RQueryServiceConfig2W and RQueryServiceConfig2A.
Patch by Hermès Bélusca.
See issue #7101 for more details.
svn path=/trunk/; revision=56696
- Make the handle to the shutdown event a global handle and set it when the service manager is being shut down.
- Close the start event properly.
svn path=/trunk/; revision=56337
* The default build will continue to include all the localizations, but you can set it otherwise through a cmake variable (I18N_LANG) at configure time.
* Brought to you by Team Localization (Kamil Hornicek and Amine Khaldi) ;)
svn path=/trunk/; revision=55891
- When deleting an old page file, take the newly freed space into account
- Keep at least 64 MB of disk free instead of 32 so that 2nd stage can succeed with a small disk
- Miscellaneous fixes and simplifications in the page file code
svn path=/trunk/; revision=55803
[SMSS]: Turn off all code other than setting up the pagefile.
There's a lot of debug prints, as soon as things seem stable after a few days, SMSS will be gone and SMSS2 will take over and DPRINT1s will mostly be gone.
svn path=/trunk/; revision=55509
[SMSS2]: Implement the main LPC loop and handle all the supported APIs (all stubs for now). Also handle new connection requests and implement SmpHandleConnectionRequest.
[SMSS2]: Implement subsystem helper functions.
[SMSS2]: Use SmApiPort2 instead of Sm2ApiPort.
[SMSS2]: Rename the SMSRV_APIs not to conflict with the function names, nor with the client functions in smlib.
svn path=/trunk/; revision=55478