reactos.git
12 years ago[CMAKE]
Timo Kreuzer [Sat, 20 Aug 2011 12:29:51 +0000 (12:29 +0000)]
[CMAKE]
- handle stdcall decoration in MSVC set_entrypoint

svn path=/trunk/; revision=53337

12 years ago[CRT]
Timo Kreuzer [Sat, 20 Aug 2011 11:27:49 +0000 (11:27 +0000)]
[CRT]
guard some inline functions from being used in certain cases

svn path=/trunk/; revision=53335

12 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 20 Aug 2011 10:41:44 +0000 (10:41 +0000)]
[NTOSKRNL]
Fix amd64 build and some warnings

svn path=/trunk/; revision=53334

12 years ago[ASM]
Timo Kreuzer [Sat, 20 Aug 2011 10:39:28 +0000 (10:39 +0000)]
[ASM]
- prefix labels only on x86
- improve syscall stub code

svn path=/trunk/; revision=53333

12 years ago[HAL]
Cameron Gutman [Sat, 20 Aug 2011 01:47:25 +0000 (01:47 +0000)]
[HAL]
- Debugging changes

svn path=/trunk/; revision=53332

12 years ago- Enable PnP debugging
Cameron Gutman [Sat, 20 Aug 2011 01:32:41 +0000 (01:32 +0000)]
- Enable PnP debugging

svn path=/trunk/; revision=53331

12 years ago[HAL]
Cameron Gutman [Fri, 19 Aug 2011 23:29:21 +0000 (23:29 +0000)]
[HAL]
- Hey Arch, don't combine code for 2 different length calculation algorithms into 1 broken mess

svn path=/trunk/; revision=53330

12 years ago[HAL]
Cameron Gutman [Fri, 19 Aug 2011 23:11:03 +0000 (23:11 +0000)]
[HAL]
- Add (and fix) more validation and debugging

svn path=/trunk/; revision=53329

12 years ago[HAL]
Cameron Gutman [Fri, 19 Aug 2011 22:00:48 +0000 (22:00 +0000)]
[HAL]
- Fix the length calculation for the resource requirements list

svn path=/trunk/; revision=53328

12 years ago[NTDLL/LDR]
Aleksey Bragin [Fri, 19 Aug 2011 21:36:16 +0000 (21:36 +0000)]
[NTDLL/LDR]
- Fix acquiring image path from process parameters block (the if condition was inverted so that normalization didn't occur when it should).
- Reenable the image options initialization code.

svn path=/trunk/; revision=53327

12 years ago[RTL]
Timo Kreuzer [Fri, 19 Aug 2011 21:14:11 +0000 (21:14 +0000)]
[RTL]
Hack around lds inability to detect used functions, when they are exported.

svn path=/trunk/; revision=53326

12 years ago[HAL]
Cameron Gutman [Fri, 19 Aug 2011 20:56:39 +0000 (20:56 +0000)]
[HAL]
- Simplify device extension setup
- Allocate memory for existing PDOs in the device relations struct

svn path=/trunk/; revision=53325

12 years ago[RTL]
Timo Kreuzer [Fri, 19 Aug 2011 20:55:54 +0000 (20:55 +0000)]
[RTL]
- Fix this rbuild thingie

svn path=/trunk/; revision=53324

12 years ago- Enable debug prints temporarily in an attempt to help diagnose the ACPI issues
Cameron Gutman [Fri, 19 Aug 2011 20:01:32 +0000 (20:01 +0000)]
- Enable debug prints temporarily in an attempt to help diagnose the ACPI issues

svn path=/trunk/; revision=53323

12 years ago[RTL]
Timo Kreuzer [Fri, 19 Aug 2011 18:39:47 +0000 (18:39 +0000)]
[RTL]
- Rename memgen.c to byteswap.c and merge with the implementations from largeint.c, that were using intrinsics
- Fix amd64 build

svn path=/trunk/; revision=53321

12 years ago[CRT]
Timo Kreuzer [Fri, 19 Aug 2011 18:10:17 +0000 (18:10 +0000)]
[CRT]
- Remove duplicated functions
- Fix MSVC amd64 build
- cleanup the cmake file a little
- creadit wine for their code

svn path=/trunk/; revision=53320

12 years ago- Unbreak trunk for now. Proper fix will come shortly.
Aleksey Bragin [Fri, 19 Aug 2011 15:32:07 +0000 (15:32 +0000)]
- Unbreak trunk for now. Proper fix will come shortly.

svn path=/trunk/; revision=53316

12 years ago[INTRIN]
Timo Kreuzer [Fri, 19 Aug 2011 15:00:52 +0000 (15:00 +0000)]
[INTRIN]
- Use fixed inlined version of __invlpg only on x86

svn path=/trunk/; revision=53314

12 years ago[PNPMGR]
Cameron Gutman [Fri, 19 Aug 2011 03:56:28 +0000 (03:56 +0000)]
[PNPMGR]
- Fix multiple REG_MULTI_SZ termination issues
- HardwareID is a REG_MULTI_SZ entry not REG_SZ

svn path=/trunk/; revision=53312

12 years ago[NTDLL/LDR]
Aleksey Bragin [Thu, 18 Aug 2011 22:06:27 +0000 (22:06 +0000)]
[NTDLL/LDR]
- Initialize image-specific options.
- Close options key if it was opened in LdrpInitializeProcess().

svn path=/trunk/; revision=53311

12 years ago- Revert r53305 because Windows unprotects pages this way
Cameron Gutman [Thu, 18 Aug 2011 19:50:19 +0000 (19:50 +0000)]
- Revert r53305 because Windows unprotects pages this way

svn path=/trunk/; revision=53306

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 19:36:40 +0000 (19:36 +0000)]
[NTOSKRNL]
- Specify a valid number of pages to unprotect

svn path=/trunk/; revision=53305

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 18:35:03 +0000 (18:35 +0000)]
[NTOSKRNL]
- Implement a special case copy-in for IRP_MN_FILTER_RESOURCE_REQUIREMENTS to prevent NULL pointer access in function drivers

svn path=/trunk/; revision=53304

12 years ago- Swap the failure cases
Cameron Gutman [Thu, 18 Aug 2011 18:13:52 +0000 (18:13 +0000)]
- Swap the failure cases
- Missed change from r53301

svn path=/trunk/; revision=53303

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 18:06:07 +0000 (18:06 +0000)]
[NTOSKRNL]
- Fix a typo in a remove lock timeout check
- Fixes breaking into kdbg randomly when a caller specifies no timeout on their remove lock

svn path=/trunk/; revision=53302

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 17:32:26 +0000 (17:32 +0000)]
[NTOSKRNL]
- Return an informational success status if the device interface already exists

svn path=/trunk/; revision=53301

12 years ago[ACPI]
Cameron Gutman [Thu, 18 Aug 2011 17:13:38 +0000 (17:13 +0000)]
[ACPI]
- Don't try to start an interface that wasn't registered

svn path=/trunk/; revision=53300

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 00:33:19 +0000 (00:33 +0000)]
[NTOSKRNL]
- Handle NULL device relations better

svn path=/trunk/; revision=53292

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 00:25:38 +0000 (00:25 +0000)]
[NTOSKRNL]
- Print the status returned when an IRP_MN_START_DEVICE request fails

svn path=/trunk/; revision=53291

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 00:04:49 +0000 (00:04 +0000)]
[NTOSKRNL]
- Uncomment a device node traversal check

svn path=/trunk/; revision=53290

12 years ago[NTOSKRNL]
Cameron Gutman [Wed, 17 Aug 2011 23:56:40 +0000 (23:56 +0000)]
[NTOSKRNL]
- Prevent duplicate processing of device objects when bus relations are invalidated multiple times for the bus PDO

svn path=/trunk/; revision=53289

12 years ago[CSRSRV]
Amine Khaldi [Wed, 17 Aug 2011 14:29:39 +0000 (14:29 +0000)]
[CSRSRV]
* Missed this. Sorry.

svn path=/trunk/; revision=53288

12 years ago[HAL]
Cameron Gutman [Wed, 17 Aug 2011 14:24:36 +0000 (14:24 +0000)]
[HAL]
- Don't use a hard-coded constant instead of PAGE_SHIFT

svn path=/trunk/; revision=53287

12 years ago[VFATLIB]
Amine Khaldi [Wed, 17 Aug 2011 14:06:16 +0000 (14:06 +0000)]
[VFATLIB]
* Include NDK headers on-demand.
* Improve the PCH use.

svn path=/trunk/; revision=53286

12 years ago[EXT2LIB]
Amine Khaldi [Wed, 17 Aug 2011 14:05:30 +0000 (14:05 +0000)]
[EXT2LIB]
* Include NDK headers on-demand.
* Set Mke2fs.h as a PCH.

svn path=/trunk/; revision=53285

12 years ago* Include NDK headers on-demand.
Amine Khaldi [Wed, 17 Aug 2011 14:04:33 +0000 (14:04 +0000)]
* Include NDK headers on-demand.

svn path=/trunk/; revision=53284

12 years ago[DXG]
Amine Khaldi [Wed, 17 Aug 2011 14:01:29 +0000 (14:01 +0000)]
[DXG]
* Include NDK headers on-demand.
* Set dxg_int.h as a PCH.

svn path=/trunk/; revision=53283

12 years ago[USETUP]
Amine Khaldi [Wed, 17 Aug 2011 13:59:47 +0000 (13:59 +0000)]
[USETUP]
* Include NDK headers on-demand.
* Set usetup.h as a PCH.

svn path=/trunk/; revision=53282

12 years ago[ACPI]
Cameron Gutman [Wed, 17 Aug 2011 07:23:55 +0000 (07:23 +0000)]
[ACPI]
- OS layer fixes
- Use our cache implementation

svn path=/trunk/; revision=53277

12 years ago- Fix build
Cameron Gutman [Wed, 17 Aug 2011 06:28:14 +0000 (06:28 +0000)]
- Fix build

svn path=/trunk/; revision=53276

12 years ago- Free memory using a valid tag
Cameron Gutman [Wed, 17 Aug 2011 05:55:43 +0000 (05:55 +0000)]
- Free memory using a valid tag
- Don't use a hardcoded constant for pointer size
- Don't access invalid memory when an SCI is absent (fixes ASSERT(Descriptor->u.Interrupt.MinimumVector == Descriptor->u.Interrupt.MaximumVector) failure)
- Remove unreachable code

svn path=/trunk/; revision=53275

12 years ago- Partially revert r53272 (I forgot that DEVICE_RELATIONS stores a pointer array)
Cameron Gutman [Wed, 17 Aug 2011 05:51:21 +0000 (05:51 +0000)]
- Partially revert r53272 (I forgot that DEVICE_RELATIONS stores a pointer array)

svn path=/trunk/; revision=53274

12 years ago[ACPI]
Cameron Gutman [Tue, 16 Aug 2011 20:48:18 +0000 (20:48 +0000)]
[ACPI]
- Fix massive memory corruption during FDO device relations handling

svn path=/trunk/; revision=53272

12 years ago[RPCRT4]
Jérôme Gardou [Tue, 16 Aug 2011 20:00:18 +0000 (20:00 +0000)]
[RPCRT4]
- do not wait for other threads in DLL_PROCESS_DETACH
- fix handle leak
- remove debug code

svn path=/trunk/; revision=53271

12 years ago[ADVAPI32]
Eric Kohl [Tue, 16 Aug 2011 19:16:16 +0000 (19:16 +0000)]
[ADVAPI32]
Fix QueryServiceStatusEx.

svn path=/trunk/; revision=53270

12 years ago[LWIP]
Amine Khaldi [Tue, 16 Aug 2011 18:16:23 +0000 (18:16 +0000)]
[LWIP]
* Add missing dependency on bugcodes.

svn path=/trunk/; revision=53269

12 years ago[RPCRT4]
Jérôme Gardou [Mon, 15 Aug 2011 21:45:12 +0000 (21:45 +0000)]
[RPCRT4]
- reduce difference with WINE : use their implementation of RpcMgmtStopServerListening

svn path=/trunk/; revision=53268

12 years ago[EVENTLOG]
Jérôme Gardou [Mon, 15 Aug 2011 20:55:07 +0000 (20:55 +0000)]
[EVENTLOG]
- Stop listening to RPC messages when receiving SERVICE_CONTROL_STOP

svn path=/trunk/; revision=53267

12 years ago* Include NDK headers on-demand.
Amine Khaldi [Mon, 15 Aug 2011 17:12:19 +0000 (17:12 +0000)]
* Include NDK headers on-demand.

svn path=/trunk/; revision=53265

12 years ago[HALACPI]
Amine Khaldi [Mon, 15 Aug 2011 15:36:25 +0000 (15:36 +0000)]
[HALACPI]
* Add to build. Dedicated to Cameron.
[SPEC2DEF]
* Add an option to set the name of the output def file.

svn path=/trunk/; revision=53264

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 15 Aug 2011 08:29:22 +0000 (08:29 +0000)]
[NTOSKRNL]
- Fix a bug in IopCreateResourceListFromRequirements which was triggering a sanity ASSERT because it forgot to skip conflicting entries

svn path=/trunk/; revision=53261

12 years ago[ACPI]
Cameron Gutman [Mon, 15 Aug 2011 07:46:02 +0000 (07:46 +0000)]
[ACPI]
- Don't assume that acpi_evaluate_reference will always complete successfully

svn path=/trunk/; revision=53260

12 years ago- Revert some unintended debugging changes
Cameron Gutman [Mon, 15 Aug 2011 07:36:58 +0000 (07:36 +0000)]
- Revert some unintended debugging changes

svn path=/trunk/; revision=53259

12 years ago[ACPI]
Cameron Gutman [Mon, 15 Aug 2011 07:35:04 +0000 (07:35 +0000)]
[ACPI]
- Fix a NULL free bug

svn path=/trunk/; revision=53258

12 years ago[USETUP]
Cameron Gutman [Mon, 15 Aug 2011 06:27:23 +0000 (06:27 +0000)]
[USETUP]
- Autodetect ACPI like we autodetect a multiprocessor configuration
- This will make the ACPI HAL the default on ACPI-compliant machines while the standard HAL will continue to be the default on older machines
- Please file bugs for any issues encountered when running in ACPI mode and assign them to me (I think it's very important to have working ACPI for 0.4.0 so I'd really like to get everything fixed now)
[TXTSETUP.SIF]
- Add a MP configuration for ACPI HAL
- Slightly modify the names of each HAL configuration

svn path=/trunk/; revision=53257

12 years ago[TXTSETUP.SIF]
Cameron Gutman [Mon, 15 Aug 2011 05:45:16 +0000 (05:45 +0000)]
[TXTSETUP.SIF]
- Add an option to install the ACPI HAL
- Feel free to try it out (you might be surprised)

svn path=/trunk/; revision=53256

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 15 Aug 2011 05:43:16 +0000 (05:43 +0000)]
[NTOSKRNL]
- Hack around a strange registry-related bug (we created the whole registry path previously but it won't let us open it without the correct volatile option) to fix devices enumerated via IoReportDetectedDevice

svn path=/trunk/; revision=53255

12 years ago[INF]
Cameron Gutman [Mon, 15 Aug 2011 05:39:53 +0000 (05:39 +0000)]
[INF]
- Add hal.inf

svn path=/trunk/; revision=53254

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 15 Aug 2011 05:03:53 +0000 (05:03 +0000)]
[NTOSKRNL]
- Also create the instance key when we create a new device object

svn path=/trunk/; revision=53253

12 years ago[HAL]
Cameron Gutman [Mon, 15 Aug 2011 04:07:40 +0000 (04:07 +0000)]
[HAL]
- Also report the *PNP style IDs
- Don't hang when a power IRP is received

svn path=/trunk/; revision=53252

12 years ago[HAL]
Cameron Gutman [Mon, 15 Aug 2011 03:44:10 +0000 (03:44 +0000)]
[HAL]
- Invalidate device relations so the child devices get enumerated

svn path=/trunk/; revision=53251

12 years ago[HAL]
Cameron Gutman [Mon, 15 Aug 2011 03:20:17 +0000 (03:20 +0000)]
[HAL]
- Fix string length calculation

svn path=/trunk/; revision=53250

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 15 Aug 2011 02:15:18 +0000 (02:15 +0000)]
[NTOSKRNL]
- Rewrite IopIsAcpiComputer (and rename to IopIsFirmwareMapperDisabled) to eliminate the need for the ENABLE_ACPI define
- IopIsFirmwareMapperDisabled now reads the registry entry that HAL sets to indicate that the firmware mapper should be disabled
- Partially rewrite IopUpdateRootKey so it does not interfere with HAL's PnP driver
- ACPI is automatically enabled when the ACPI HAL is loaded and disabled when the standard HAL is loaded

svn path=/trunk/; revision=53249

12 years ago[HAL]
Cameron Gutman [Mon, 15 Aug 2011 01:55:32 +0000 (01:55 +0000)]
[HAL]
- Fix a bug writing the DisableFirmwareMapper entry

svn path=/trunk/; revision=53248

12 years ago[HALACPI]
Cameron Gutman [Mon, 15 Aug 2011 01:19:20 +0000 (01:19 +0000)]
[HALACPI]
- Fix several bugs involving garbage data in a PHYSICAL_ADDRESS struct

svn path=/trunk/; revision=53247

12 years ago[PCI]
Cameron Gutman [Mon, 15 Aug 2011 00:28:33 +0000 (00:28 +0000)]
[PCI]
- Don't report bogus interrupt resources

svn path=/trunk/; revision=53246

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 15 Aug 2011 00:17:42 +0000 (00:17 +0000)]
[NTOSKRNL]
- Add a debug print when AddDevice fails
- Fix IopStopDevice
- Fix a typo
- Reduce code duplication

svn path=/trunk/; revision=53245

12 years ago[HAL]
Cameron Gutman [Mon, 15 Aug 2011 00:08:47 +0000 (00:08 +0000)]
[HAL]
- Fix incorrect modification of device object flags

svn path=/trunk/; revision=53244

12 years ago[ROSSYM_NEW]
Jérôme Gardou [Sun, 14 Aug 2011 21:39:37 +0000 (21:39 +0000)]
[ROSSYM_NEW]
- add missing debug.h include

svn path=/trunk/; revision=53243

12 years ago[ROSSYM_NEW]
Jérôme Gardou [Sun, 14 Aug 2011 21:25:25 +0000 (21:25 +0000)]
[ROSSYM_NEW]
- including debug.h once is enough
This time for real, sorry.

svn path=/trunk/; revision=53242

12 years ago[ROSSYM_NEW]
Jérôme Gardou [Sun, 14 Aug 2011 21:20:07 +0000 (21:20 +0000)]
[ROSSYM_NEW]
- including debug.h once is enough

svn path=/trunk/; revision=53241

12 years ago[ROSSYM_NEW]
Jérôme Gardou [Sun, 14 Aug 2011 21:17:14 +0000 (21:17 +0000)]
[ROSSYM_NEW]
- please, do not include debug.h from precompiled header :-/

svn path=/trunk/; revision=53240

12 years ago[CMAKE]
Jérôme Gardou [Sun, 14 Aug 2011 20:34:13 +0000 (20:34 +0000)]
[CMAKE]
- get back to DllMAinCRTStartup entry point

svn path=/trunk/; revision=53239

12 years ago[UNICOWS]
Jérôme Gardou [Sun, 14 Aug 2011 20:01:20 +0000 (20:01 +0000)]
[UNICOWS]
- doesn't have an entry point

svn path=/trunk/; revision=53237

12 years ago[ROSSYM_NEW]
Amine Khaldi [Sun, 14 Aug 2011 18:12:05 +0000 (18:12 +0000)]
[ROSSYM_NEW]
* Add a PCH.

svn path=/trunk/; revision=53236

12 years ago* Include NDK headers on-demand.
Amine Khaldi [Sun, 14 Aug 2011 17:31:30 +0000 (17:31 +0000)]
* Include NDK headers on-demand.

svn path=/trunk/; revision=53235

12 years ago[SMDLL]
Amine Khaldi [Sun, 14 Aug 2011 17:17:02 +0000 (17:17 +0000)]
[SMDLL]
* Include NDK headers on-demand.
* Introduce a PCH.

svn path=/trunk/; revision=53234

12 years ago[SAMLIB]
Amine Khaldi [Sun, 14 Aug 2011 16:59:43 +0000 (16:59 +0000)]
[SAMLIB]
* Include NDK headers on-demand.
* Introduce a PCH.

svn path=/trunk/; revision=53233

12 years ago[NTOSKRNL]
Cameron Gutman [Sun, 14 Aug 2011 14:44:34 +0000 (14:44 +0000)]
[NTOSKRNL]
- Fix NULL termination of strings in IoGetDeviceProperty
- Fixes garbage displayed in the Enumerator field of the device manager property page

svn path=/trunk/; revision=53232

12 years ago* Include NDK headers on-demand.
Amine Khaldi [Sun, 14 Aug 2011 12:59:05 +0000 (12:59 +0000)]
* Include NDK headers on-demand.

svn path=/trunk/; revision=53231

12 years ago[AUTOCHK][CMD][TASKMGR]
Amine Khaldi [Sun, 14 Aug 2011 12:56:59 +0000 (12:56 +0000)]
[AUTOCHK][CMD][TASKMGR]
* Exclude some indirectly included headers.

svn path=/trunk/; revision=53230

12 years ago[GDI32]
Amine Khaldi [Sun, 14 Aug 2011 12:32:15 +0000 (12:32 +0000)]
[GDI32]
* Include NDK headers on-demand.
* Improve the PCH use.

svn path=/trunk/; revision=53229

12 years ago[DHCPCSVC]
Amine Khaldi [Sun, 14 Aug 2011 12:06:23 +0000 (12:06 +0000)]
[DHCPCSVC]
* Include NDK headers on-demand.
* Improve the PCH use.

svn path=/trunk/; revision=53228

12 years ago[DBGHELP]
Amine Khaldi [Sun, 14 Aug 2011 11:48:00 +0000 (11:48 +0000)]
[DBGHELP]
* Reduce rosstubs.c dependency to nothing but the PCH.

svn path=/trunk/; revision=53227

12 years ago[ADVAPI32]
Eric Kohl [Sun, 14 Aug 2011 11:41:28 +0000 (11:41 +0000)]
[ADVAPI32]
Fix indentation. No code change.

svn path=/trunk/; revision=53226

12 years ago[ADVAPI32]
Amine Khaldi [Sun, 14 Aug 2011 11:31:23 +0000 (11:31 +0000)]
[ADVAPI32]
* Use consistent debugging macros (Wine's).
* Include NDK headers on-demand.
* Improve the PCH.

svn path=/trunk/; revision=53225

12 years ago[SERVICES]
Eric Kohl [Sun, 14 Aug 2011 08:54:01 +0000 (08:54 +0000)]
[SERVICES]
Fix the GENERIC_ALL access rights mapping for service handles.

svn path=/trunk/; revision=53220

12 years ago[AUTOCHK][CMD][TASKMGR]
Amine Khaldi [Sat, 13 Aug 2011 23:21:06 +0000 (23:21 +0000)]
[AUTOCHK][CMD][TASKMGR]
* Include NDK headers on-demand.

svn path=/trunk/; revision=53218

12 years ago[REGEDIT]
Amine Khaldi [Sat, 13 Aug 2011 22:06:42 +0000 (22:06 +0000)]
[REGEDIT]
* Don't include the whole NDK for just one header.
* This allows us to depend on 49 headers less, and it shrinks the PCH by 2MB.

svn path=/trunk/; revision=53217

12 years ago[WS2_32]
Amine Khaldi [Sat, 13 Aug 2011 21:39:37 +0000 (21:39 +0000)]
[WS2_32]
* Don't include the whole NDK for just one header.

svn path=/trunk/; revision=53216

12 years ago[ADVAPI32]
Eric Kohl [Sat, 13 Aug 2011 20:49:55 +0000 (20:49 +0000)]
[ADVAPI32]
Fix and EnumDependentServices[A/W]:
- If lpServices is NULL or cbBufSize is less than sizeof(ENUM_SERVICE_STATUS/W) pass a pointer to an internal status buffer to REnumDependentServicesA/W.

svn path=/trunk/; revision=53214

12 years ago[WIN32K]
Timo Kreuzer [Sat, 13 Aug 2011 20:40:41 +0000 (20:40 +0000)]
[WIN32K]
Fix return value of IntDesktopOkToClose, spotted by Cameron.

svn path=/trunk/; revision=53213

12 years ago[UMPNPMGR]
Cameron Gutman [Sat, 13 Aug 2011 20:26:44 +0000 (20:26 +0000)]
[UMPNPMGR]
- Store the correct buffer size for requests that aren't satisfied via the registry
- Fixes displaying the enumerator on the device manager property page

svn path=/trunk/; revision=53212

12 years ago[NTOSKRNL/WIN32K/NDK]
Timo Kreuzer [Sat, 13 Aug 2011 20:10:40 +0000 (20:10 +0000)]
[NTOSKRNL/WIN32K/NDK]
- OkToClose procedure (OB_OKAYTOCLOSE_METHOD) returns BOOLEAN, not NTSTATUS
- Check ppi for NULL before dereferencing it in IntWinstaOkToClose (it is NULL, if we do our job of cleaning up the win32 process properly)
- Set the win32 process info to NULL on process cleanup
- Free THREADINFO and PROCESSINFO instead of leaking them
- Set NULL cursor, when the last thread is cleaned up in win32k, so we don't call UserSetCursor() in the process cleanup, when we don't have a THREADINFO anymore. This should hopefully fix a crash of MSVC builds.
- Remove unused UserGetNextHandle function
- Fix some warnings

svn path=/trunk/; revision=53211

12 years ago[ADVAPI32]
Eric Kohl [Sat, 13 Aug 2011 19:57:32 +0000 (19:57 +0000)]
[ADVAPI32]
Fix EnumServiceGroupW and EnumServiceStatus[A/W]:
- If lpServices is NULL or cbBufSize is less than sizeof(ENUM_SERVICE_STATUS/W) pass a pointer to an internal status buffer to REnumServiceGrouW or REnumServiceStatusA/W.

svn path=/trunk/; revision=53210

12 years ago[SETUPAPI]
Jérôme Gardou [Sat, 13 Aug 2011 19:53:29 +0000 (19:53 +0000)]
[SETUPAPI]
- fix broken check
- fix potential NULL pointer dereference
- fix non critical parameter checks.

svn path=/trunk/; revision=53209

12 years agomove clean the screen to a later point
Matthias Kupfer [Sat, 13 Aug 2011 18:57:33 +0000 (18:57 +0000)]
move clean the screen to a later point

svn path=/trunk/; revision=53208

12 years ago[WIN32K]
Timo Kreuzer [Sat, 13 Aug 2011 16:44:49 +0000 (16:44 +0000)]
[WIN32K]
Simplify the loop to remove the THREADINFO from the PROCESSINFO's list when cleaning up

svn path=/trunk/; revision=53207

12 years ago[WIN32K]
Timo Kreuzer [Sat, 13 Aug 2011 16:27:30 +0000 (16:27 +0000)]
[WIN32K]
- use the correct pool tags for PROCESSINFO and THREADINFO
- get rid of RETURN macro usage
- misc code cleanup

svn path=/trunk/; revision=53206

12 years ago[SETUPAPI]
Jérôme Gardou [Sat, 13 Aug 2011 15:55:16 +0000 (15:55 +0000)]
[SETUPAPI]
- fix typo

svn path=/trunk/; revision=53205