reactos.git
9 years agoSync with trunk head.
Amine Khaldi [Thu, 25 Mar 2010 18:04:58 +0000 (18:04 +0000)]
Sync with trunk head.

svn path=/branches/header-work/; revision=46444

9 years ago[COMPBATT]: Composite Battery Driver Stub Interface to keep Mr. Gutman happy.
Sir Richard [Thu, 25 Mar 2010 14:26:04 +0000 (14:26 +0000)]
[COMPBATT]: Composite Battery Driver Stub Interface to keep Mr. Gutman happy.

svn path=/trunk/; revision=46443

9 years ago[ACPI]
Cameron Gutman [Thu, 25 Mar 2010 14:19:54 +0000 (14:19 +0000)]
[ACPI]
- Add support for fixed power buttons
- Cleanup some extra junk
- Add a hack to prevent acquiring the mutex while in an ISR or DPC
- Button events are received now and "acpi_bus_generate_event" will appear in the debug log when a power/sleep button is pressed
- TODO: Implement IOCTL_GET_SYS_BUTTON_EVENT support so the power manager can recognize our button presses

svn path=/trunk/; revision=46442

9 years ago[CMBATT]: Use PCH.
Sir Richard [Thu, 25 Mar 2010 14:05:03 +0000 (14:05 +0000)]
[CMBATT]: Use PCH.

svn path=/trunk/; revision=46441

9 years ago[BOOTCD/LIVECD]
Timo Kreuzer [Thu, 25 Mar 2010 13:55:00 +0000 (13:55 +0000)]
[BOOTCD/LIVECD]
Add -$(ARCH) to non-x86 bootcd and livecd image names.

svn path=/trunk/; revision=46440

9 years ago[IDNDL]
Timo Kreuzer [Thu, 25 Mar 2010 13:15:37 +0000 (13:15 +0000)]
[IDNDL]
Convert to spec

svn path=/trunk/; revision=46439

9 years agofix build
Timo Kreuzer [Thu, 25 Mar 2010 13:09:43 +0000 (13:09 +0000)]
fix build

svn path=/trunk/; revision=46438

9 years ago[NTVDM]
Timo Kreuzer [Thu, 25 Mar 2010 12:52:00 +0000 (12:52 +0000)]
[NTVDM]
Only compile on x86 builds

svn path=/trunk/; revision=46437

9 years agoMerge from amd64 branch:
Timo Kreuzer [Thu, 25 Mar 2010 12:48:03 +0000 (12:48 +0000)]
Merge from amd64 branch:

45124
[USER32]
NtUserTranslateMessage: HKL -> UINT in 2nd parameter

45126 (tkreuzer)
[WIN32k] Fix build

45127 (sserapion)
[WIN32k] Fix build

svn path=/trunk/; revision=46436

9 years ago[DDK]
Amine Khaldi [Thu, 25 Mar 2010 12:37:44 +0000 (12:37 +0000)]
[DDK]
- Move tvout.h to PSDK.

svn path=/branches/header-work/; revision=46435

9 years agoMerge from amd64-branch:
Timo Kreuzer [Thu, 25 Mar 2010 12:22:59 +0000 (12:22 +0000)]
Merge from amd64-branch:

44501 (tkreuzer)
[NDK]
- Add CLIENT_ID32/64
- Create explicit 32/64 bit versions of PEB, GDI_TEB_BATCH and TEB, using macros.
- Fix some member names.

44503 (tkreuzer)
[CMD]
Fix a teb member name

44504 (tkreuzer)
[NTSOKRNL]
Fix a teb member name

44506 (tkreuzer)
[NDK]
fix a typo in the TEB definition

44511 (tkreuzer)
[NDK]
- Add Wx86ThreadState
- Add WinXP version of ACTIVATION_CONTEXT_STACK
- rtltypes doesn't depend on pstypes, but the opposite way around now

44512 (tkreuzer)
[NDK]
Fix some dependencies

44521 (tkreuzer)
[NTDKK]
- Don't use PEB::FastPeb(Un)LockRoutine, these members are deprecated since Windows 2003, use RtlEnter/LeaveCriticalSection instead.

44523 (tkreuzer)
[NTDLL]
Fix usage of PEB::KernelCallbacktable. It's a PVOID.

44524 (tkreuzer)
NDK]
- Add missing TEB member for Vista

44525 (tkreuzer)
[NDK]
Fix a TEB array size.

44526 (tkreuzer)
[USER32]
More fix of TEB::KernelCallbackTable usage

svn path=/trunk/; revision=46434

9 years ago[DDK]
Amine Khaldi [Thu, 25 Mar 2010 12:07:42 +0000 (12:07 +0000)]
[DDK]
- Remove duplicate xmldsodid.h

svn path=/branches/header-work/; revision=46433

9 years agomerge from amd64 branch:
Timo Kreuzer [Thu, 25 Mar 2010 05:25:07 +0000 (05:25 +0000)]
merge from amd64 branch:

34741 (tkreuzer)
[BOOTVID]
- make bootvid build for PLATFORM=PC instead of ARCH=i386 to share the files between i386 and amd64
- fix ULONG <-> pointer casts

svn path=/trunk/; revision=46432

9 years ago[NTOSKRNL]
Cameron Gutman [Thu, 25 Mar 2010 05:16:31 +0000 (05:16 +0000)]
[NTOSKRNL]
- Handle devices that are run by their own bus drivers
- This could be done a bit nicer but it works

svn path=/trunk/; revision=46431

9 years ago[ACPI]
Cameron Gutman [Thu, 25 Mar 2010 05:11:24 +0000 (05:11 +0000)]
[ACPI]
- Implement IOCTL_GET_SYS_BUTTON_CAPS
- Register and maintain PnP interfaces for thermal zones, buttons, lids, and processors

svn path=/trunk/; revision=46429

9 years agoMerge from amd64-branch:
Timo Kreuzer [Thu, 25 Mar 2010 05:03:29 +0000 (05:03 +0000)]
Merge from amd64-branch:

46394 (tkreuzer)
[FRAMEBUF_NEW]
- use compiler flags for x86 only

36969 (sginsberg)
[VIDEOPRT]
- Make videoprt compile for 64-bit
- Disable Int10 support as it uses x86 specific structures (is this support still available on amd64?)
- Disable VideoPortEnable/DisableInterrupt -- HalEnable/DisableSystemInterrupt are not apparently present on NT AMD64, so need to figure out what else to use (and if these routine are still present on amd64 videoprt)

The following this time for real:

40927 (tkreuzer)
[BMFD]
HGLYPH is an ULONG. Use offset to glyph entry as HGLYPH instead of the pointer to fix 64bit build.

41070 (tkreuzer)
[TCPIP]
fix a pointer to ULONG cast

41500 (tkreuzer)
[NDIS]
Pass ULONG* to MiniQueryInformation for the number of written bytes instead of ULONG_PTR*

41502 (tkreuzer)
[WDMAUD]
Make DeviceIndex a ULONG_PTR

44339 (sserapion)
[NDIS]
Fix ndis build.

svn path=/trunk/; revision=46427

9 years ago[NTOSKRNL]
Cameron Gutman [Thu, 25 Mar 2010 04:05:33 +0000 (04:05 +0000)]
[NTOSKRNL]
- Fix an incorrect assumption which led to ACPI's enumerated buttons not being recognized by the power manager

svn path=/trunk/; revision=46425

9 years agoMerge from amd64-branch:
Timo Kreuzer [Thu, 25 Mar 2010 03:50:46 +0000 (03:50 +0000)]
Merge from amd64-branch:

36380 (tkreuzer)
[SCSIPORT]
Implement some functions that are forwarded to HAL on x86 build, but not on x64. Modify spec file (use preprocessor macro).

36397 (tkreuzer)
[SCSIPORT]
rename .spec to .pspec

36949 (sginsberg)
- Fix NTFS FSD compilation

36951 (sginsgerb)
[NE2000]
- Fix ne2000 compilation (treat pointer size as ULONG_PTR, correct function prototypes)

36958 (sginsberg)
[ISAPNP]
- Fix isapnp compilation for 64-bit

36961 (sginsberg)
[SERIAL]
- Make serial build for 64 bit -- explicitly cast first parameter to InterlockedCompareExchangePointer
to PVOID

36964 (sginsberg)
- Fix DXG 64-bit compilation

36972 (sserapion)
[VGA]
- When doing pointer arithmetic, ULONG_PTR is your friend

37234 (tkreuzer)
[SCSIPORT]
Fix scsiport, by using pspec again.

40927 (tkreuzer)
[BMFD]
HGLYPH is an ULONG. Use offset to glyph entry as HGLYPH instead of the pointer to fix 64bit build.

41070 (tkreuzer)
[TCPIP]
fix a pointer to ULONG cast

41500 (tkreuzer)
[NDIS]
Pass ULONG* to MiniQueryInformation for the number of written bytes instead of ULONG_PTR*

41502 (tkreuzer)
[WDMAUD]
Make DeviceIndex a ULONG_PTR

44339 (sserapion)
[NDIS]
Fix ndis build.

svn path=/trunk/; revision=46424

9 years ago[ACPI]
Cameron Gutman [Thu, 25 Mar 2010 03:40:41 +0000 (03:40 +0000)]
[ACPI]
- Implement a DispatchCreateClose handler

svn path=/trunk/; revision=46423

9 years agoMerge from amd64-branch:
Timo Kreuzer [Thu, 25 Mar 2010 03:24:44 +0000 (03:24 +0000)]
Merge from amd64-branch:

34803 (sserapion)
Fix more warnings.
Convert pciidex to use spec file.

34864 (tkreuzer) // checkme vielleicht schon gemerged?
[NDIS]
fix some ULONG to pointer casts

34870 (tkreuzer)
[TCPIP]
- fix some pointer to ULONG casts

34874 (tkreuzer)
class2: fix ULONG to pointer cast

34877 (tkreuzer)
- fix LARGE_INTEGER to pointer cast

35781 (tkreuzer)
[NDIS]
define some fastcall functions to the normal functions on amd64

36011 (tkreuzer)
[NDIS]
Fix a ULONG to pointer cast.

36012 (tkreuzer)
[SCSIPORT]
more ulong <-> pointer fixes

svn path=/trunk/; revision=46422

9 years agoMerge from amd64-branch:
Timo Kreuzer [Thu, 25 Mar 2010 01:59:02 +0000 (01:59 +0000)]
Merge from amd64-branch:

44036 (sserapion)
Seems that windows cares about manifests and a mismatched processor architecture is not good. Fix amd64 paint in windows.

44772 (sserapion)
Fix warning cast to 'unsigned int' loses precision.

svn path=/trunk/; revision=46419

9 years agoMerge from amd64-branch:
Timo Kreuzer [Thu, 25 Mar 2010 01:06:20 +0000 (01:06 +0000)]
Merge from amd64-branch:

36898 (sserapion)
- Fix 64bit advapi32 build.

35655 (sserapion)
Misc WIN64 fixes.
Implement InitializeCriticalSectionEx

43836 (sserapion)
Fix avicap32 build.

44510 (tkreuzer)
[IPHLPAPI]
Don't redefine _WIN32_WINNT to 0x500. When using the NDK we need at least 0x503 when compiling for 64 bit (XP64 is 502)

39335 (tkreuzer)
[IPHLPAPI]
Fix prototype of RtlAllocateHeap

38092 (sserapion)
[RPCRT4]
Fix 64bit-warnings.

44499 (sserapion)
[SYSSETUP]
Eliminate warning.

38100 (sserapion)
[ADVAPI32]
ULONG -> ULONG_PTR

svn path=/trunk/; revision=46418

9 years ago[ACPI]
Cameron Gutman [Thu, 25 Mar 2010 00:35:36 +0000 (00:35 +0000)]
[ACPI]
- Don't attempt to parse output arguments if none were returned

svn path=/trunk/; revision=46417

9 years ago[ACPI]
Cameron Gutman [Thu, 25 Mar 2010 00:23:41 +0000 (00:23 +0000)]
[ACPI]
 * Add support for ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_SIGNATURE and ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_SIGNATURE
 * Cmbatt is able to set the battery trip point now

svn path=/trunk/; revision=46416

9 years ago[MSVCRT]
Timo Kreuzer [Thu, 25 Mar 2010 00:04:00 +0000 (00:04 +0000)]
[MSVCRT]
Enable exports for _gmtime64, _localtime64, _time64

svn path=/trunk/; revision=46415

9 years ago- Fix for gdibatch, does not help Acrobat reader 7.
James Tabor [Wed, 24 Mar 2010 23:35:23 +0000 (23:35 +0000)]
- Fix for gdibatch, does not help Acrobat reader 7.

svn path=/trunk/; revision=46414

9 years ago[ACPI]
Cameron Gutman [Wed, 24 Mar 2010 23:13:51 +0000 (23:13 +0000)]
[ACPI]
 - Fix a warning
 - Implement some IOCTL_ACPI_EVAL_METHOD handling (no input parameters are supported yet but it should be enough for what cmbatt needs it to do)

svn path=/trunk/; revision=46413

9 years ago[BEEPMIDI]
Timo Kreuzer [Wed, 24 Mar 2010 23:12:31 +0000 (23:12 +0000)]
[BEEPMIDI]
Fix 64bit compilation

svn path=/trunk/; revision=46412

9 years ago[DDK]
Amine Khaldi [Wed, 24 Mar 2010 23:04:11 +0000 (23:04 +0000)]
[DDK]
- Bring in the signedness warning fix by aicom.

svn path=/branches/header-work/; revision=46411

9 years ago[NCI]
Timo Kreuzer [Wed, 24 Mar 2010 23:03:33 +0000 (23:03 +0000)]
[NCI]
- Fix 64bit stubs
[RSYM64]
- fix linux compilation

svn path=/trunk/; revision=46410

9 years ago[DDK]
Amine Khaldi [Wed, 24 Mar 2010 22:56:18 +0000 (22:56 +0000)]
[DDK]
- Move cfg.h and cfgmgr32.h to PSDK, introduce pragma once, apply consistent formatting, add missing definitions and improve several existing ones.
[UNIATA]
- DDKAPI -> NTAPI.

svn path=/branches/header-work/; revision=46409

9 years ago[DDK]
Cameron Gutman [Wed, 24 Mar 2010 22:56:16 +0000 (22:56 +0000)]
[DDK]
 - Fix a signedness warning

svn path=/trunk/; revision=46408

9 years ago[ACLEDIT]
Timo Kreuzer [Wed, 24 Mar 2010 22:56:12 +0000 (22:56 +0000)]
[ACLEDIT]
remove $Id fields

svn path=/trunk/; revision=46407

9 years ago[NTIFS]
Timo Kreuzer [Wed, 24 Mar 2010 20:19:04 +0000 (20:19 +0000)]
[NTIFS]
- KeReleaseQueuedSpinLock
[XDK]
- reorder some #if's
- fix Mm64BitPhysicalAddress

svn path=/branches/header-work/; revision=46401

9 years ago[KSPROXY]
Johannes Anderwald [Wed, 24 Mar 2010 20:05:43 +0000 (20:05 +0000)]
[KSPROXY]
- Load ksproxy plugins for input / output pins

svn path=/trunk/; revision=46400

9 years ago[KSPROXY]
Johannes Anderwald [Wed, 24 Mar 2010 17:30:43 +0000 (17:30 +0000)]
[KSPROXY]
- Silent traces

svn path=/trunk/; revision=46399

9 years ago[BDAPLGIN]
Johannes Anderwald [Wed, 24 Mar 2010 16:04:44 +0000 (16:04 +0000)]
[BDAPLGIN]
- Fix compilation with msvc
- Implement IBDA_PinControl::RegistrationContext
- Register filter with IBDA_NetworkProvider when it is an input pin
- IBDA_PinControl is now working

svn path=/trunk/; revision=46398

9 years ago[KSPROXY]
Johannes Anderwald [Wed, 24 Mar 2010 14:03:40 +0000 (14:03 +0000)]
[KSPROXY]
- Add support for IKsClockForward interface which is an alias for IKsObject
- CKsClockForwarder is now functional

svn path=/trunk/; revision=46397

9 years ago[KSPROXY]
Johannes Anderwald [Wed, 24 Mar 2010 13:12:34 +0000 (13:12 +0000)]
[KSPROXY]
- Check in IMemAllocator::GetBuffer if the allocator is commited
- Silence debug prints in IMediaSample
- Implement IBaseFilter::Stop
- Fix race conditions in IBaseFilter::Run, IBaseFilter::Run, IBaseFilter::Stop
- Check for invalid argument in IBaseFilter::Stop
- Call InitializeIOThread when pin state is set to acquired
- Grab current filter handle by obtaining IKsObject interface of the parent filter. Required as the filter handle might be closed by using IAMDeviceRemoval interface
- CLSID_Filter is now fully functional (Windows XP SP3)

svn path=/trunk/; revision=46396

9 years ago[CMBATT]
Christoph von Wittich [Wed, 24 Mar 2010 11:10:24 +0000 (11:10 +0000)]
[CMBATT]
fix build

svn path=/trunk/; revision=46395

9 years ago[XDK]
Timo Kreuzer [Wed, 24 Mar 2010 05:20:22 +0000 (05:20 +0000)]
[XDK]
- Add some amd64 related Mm variables
- Fix some _WIN2K_COMPAT_SLIST_USAGE definitions
- Add non-x86 spinlock functions

svn path=/branches/header-work/; revision=46392

9 years ago[NDK]
Timo Kreuzer [Wed, 24 Mar 2010 03:21:51 +0000 (03:21 +0000)]
[NDK]
- Move RtlFillMemoryUlong into user mode only area
[XDK]
- Add KeFlushIoBuffers for amd64

svn path=/branches/header-work/; revision=46389

9 years ago[XDK]
Timo Kreuzer [Wed, 24 Mar 2010 02:20:51 +0000 (02:20 +0000)]
[XDK]
- Add amd64 KeAcquireSpinLock
- move KeGetCurrentIrql prototype to x86 specific file

svn path=/branches/header-work/; revision=46386

9 years ago[XDK]
Timo Kreuzer [Wed, 24 Mar 2010 01:39:36 +0000 (01:39 +0000)]
[XDK]
- Fix and update some amd64 definitions

svn path=/branches/header-work/; revision=46385

9 years ago[CMBATT]: Implement _UID and _BTP ACPI method calls.
Sir Richard [Wed, 24 Mar 2010 00:33:50 +0000 (00:33 +0000)]
[CMBATT]: Implement _UID and _BTP ACPI method calls.

svn path=/trunk/; revision=46383

9 years ago[CMBATT]: Implement ACPI _STA and _PSR method calls.
Sir Richard [Wed, 24 Mar 2010 00:24:24 +0000 (00:24 +0000)]
[CMBATT]: Implement ACPI _STA and _PSR method calls.

svn path=/trunk/; revision=46381

9 years ago[CMBATT]: Implement ACPI package extraction routines, and CmBattSendDownStreamIrp...
Sir Richard [Tue, 23 Mar 2010 23:33:58 +0000 (23:33 +0000)]
[CMBATT]: Implement ACPI package extraction routines, and CmBattSendDownStreamIrp to send ACPI IOCTLs.

svn path=/trunk/; revision=46374

9 years ago[DDK]: There should not be a DDK-specific ntstatus.h. This is a PSDK header file...
Sir Richard [Tue, 23 Mar 2010 23:21:29 +0000 (23:21 +0000)]
[DDK]: There should not be a DDK-specific ntstatus.h. This is a PSDK header file ("api") in WDK lingo. Overwrite the current outdated PSDK ntstatus.h (which was actually getting used even by drivers due to build system intelligence, so the ddk ntstatus.h was being ignored) with the new DDK ntstatus.h.

svn path=/trunk/; revision=46373

9 years ago[CMBATT]: Implement PnP handling. Only the ACPI-facing interface needs to be written...
Sir Richard [Tue, 23 Mar 2010 22:18:04 +0000 (22:18 +0000)]
[CMBATT]: Implement PnP handling. Only the ACPI-facing interface needs to be written now.

svn path=/trunk/; revision=46371

9 years ago[NTOSKRNL]
Eric Kohl [Tue, 23 Mar 2010 21:53:19 +0000 (21:53 +0000)]
[NTOSKRNL]
Fail if you query a primary token for its impersonation level.

svn path=/trunk/; revision=46370

9 years ago[XDK] Move more stuff from ntddk.template.h into appropriate headers
Timo Kreuzer [Tue, 23 Mar 2010 21:04:48 +0000 (21:04 +0000)]
[XDK] Move more stuff from ntddk.template.h into appropriate headers

svn path=/branches/header-work/; revision=46365

9 years ago[XDK]
Timo Kreuzer [Tue, 23 Mar 2010 20:18:51 +0000 (20:18 +0000)]
[XDK]
- add x86/ke.h(mm.h and amd64/mm.h
- cleanup ntddk.template.h, moving stuff into approproate headers

svn path=/branches/header-work/; revision=46364

9 years ago[XDK]
Timo Kreuzer [Tue, 23 Mar 2010 19:24:29 +0000 (19:24 +0000)]
[XDK]
- cleanup wdm.template.h, move to appropriate headers
- move ntddk stuff after wdm stuff in extypes.h
[NTDDK/WDM]
- Regenerate headers

svn path=/branches/header-work/; revision=46363

9 years ago- Move atsmedia.h to PSDK, introduce pragma once and remove the comments block and...
Amine Khaldi [Tue, 23 Mar 2010 18:38:46 +0000 (18:38 +0000)]
- Move atsmedia.h to PSDK, introduce pragma once and remove the comments block and the header guard.
- NTDDK -> NTAPI
- DDKCDECLAPI -> __cdecl
- Update wdm.h to reflect the recent XDK changes
- Improve bdasup.h, apply a consistent formatting, introduce pragma once and add the missing BDA_TOPOLOGY_JOINT and KSM_PIN_PAIR definitions

svn path=/branches/header-work/; revision=46362

9 years ago[WDM] Disable some warnings on MSVC
Timo Kreuzer [Tue, 23 Mar 2010 18:34:15 +0000 (18:34 +0000)]
[WDM] Disable some warnings on MSVC

svn path=/branches/header-work/; revision=46361

9 years ago[XDK]
Timo Kreuzer [Tue, 23 Mar 2010 17:09:17 +0000 (17:09 +0000)]
[XDK]
Improve BYTES_TO_PAGES macro

svn path=/branches/header-work/; revision=46360

9 years ago[NTIFS]
Timo Kreuzer [Tue, 23 Mar 2010 16:58:28 +0000 (16:58 +0000)]
[NTIFS]
- Don't check for non existing NTDDI_NT4 (MS typo)
[XDK]
- Fix PGPE_CONNECT_VECTOR2
- Don't check for non existing NTDDI_WIN2003 (MS typo)

svn path=/branches/header-work/; revision=46359

9 years ago[XDK]
Timo Kreuzer [Tue, 23 Mar 2010 16:42:06 +0000 (16:42 +0000)]
[XDK]
- Reorder iotypes, putting wdm stuff before ntddk stuff (dependencies)
- Update wdm.h and ntddk.h
- cleanup ntdef.h, use C-style comments

svn path=/branches/header-work/; revision=46358

9 years agoDDKAPI -> NTAPI
Timo Kreuzer [Tue, 23 Mar 2010 16:38:10 +0000 (16:38 +0000)]
DDKAPI -> NTAPI

svn path=/branches/header-work/; revision=46357

9 years ago[ACPI]
Cameron Gutman [Tue, 23 Mar 2010 03:05:57 +0000 (03:05 +0000)]
[ACPI]
 - Add stubs for ACPI_INTERFACE_STANDARD and write all of the glue code for IRP_MN_QUERY_INTERFACE

svn path=/trunk/; revision=46353

9 years ago[DDK]
Cameron Gutman [Tue, 23 Mar 2010 02:59:50 +0000 (02:59 +0000)]
[DDK]
 - Fix a typo

svn path=/trunk/; revision=46352

9 years ago[Win32k|User32]
James Tabor [Tue, 23 Mar 2010 02:42:11 +0000 (02:42 +0000)]
[Win32k|User32]
- Start Menu and Item structure migration.

svn path=/trunk/; revision=46351

9 years ago[BATTC]
Cameron Gutman [Tue, 23 Mar 2010 02:02:13 +0000 (02:02 +0000)]
[BATTC]
 - Remove the incorrect stub from BatteryClassSystemControl

svn path=/trunk/; revision=46350

9 years ago- Hack fix for gdibatch, please retest Acrobat reader 7.
James Tabor [Tue, 23 Mar 2010 01:34:30 +0000 (01:34 +0000)]
- Hack fix for gdibatch, please retest Acrobat reader 7.

svn path=/trunk/; revision=46349

9 years ago[XDK]
Amine Khaldi [Tue, 23 Mar 2010 00:27:32 +0000 (00:27 +0000)]
[XDK]
- Add the missing definitions needed to autogenerate ntddk.h
- Add ntddk.template.h as a template for autogenerating ntddk.h
- Adjust generate.bat to generate ntddk.h too.
[DDK]
- Introduce the autogenerated ntddk.h into DDK.

svn path=/branches/header-work/; revision=46348

9 years ago[NTOSKRNL]
Eric Kohl [Tue, 23 Mar 2010 00:16:14 +0000 (00:16 +0000)]
[NTOSKRNL]
NtAccessCheck:
- Fix returned status if the token is not an impersonation token.
- Add a check for the token impersonation level.

svn path=/trunk/; revision=46347

9 years ago[KSPROXY]
Johannes Anderwald [Mon, 22 Mar 2010 21:40:29 +0000 (21:40 +0000)]
[KSPROXY]
- HACK: Return the oldest used sample when the allocator runs out of samples. Fixes playback as the render does not seem to release the media samples
- Start implementing IKsClockForwarder interface
- Fix a few bugs in KsOpenDefaultDevice
- Implement IMediaSample::GetMediaType
- Always use the CKsAllocator interface for allocating samples

svn path=/trunk/; revision=46346

9 years ago[RICHED20_WINETEST]
Christoph von Wittich [Mon, 22 Mar 2010 20:50:32 +0000 (20:50 +0000)]
[RICHED20_WINETEST]
sync riched20_winetest to wine 1.1.41

svn path=/trunk/; revision=46345

9 years agoUpdate rapps database to most recent Versions of all apps.
Daniel Reimer [Mon, 22 Mar 2010 19:41:28 +0000 (19:41 +0000)]
Update rapps database to most recent Versions of all apps.

svn path=/trunk/; revision=46344

9 years ago[OLEDLG]
Christoph von Wittich [Mon, 22 Mar 2010 16:02:32 +0000 (16:02 +0000)]
[OLEDLG]
reduce diff to wine

svn path=/trunk/; revision=46343

9 years ago- [USER32] reduce diff to wine
James Tabor [Mon, 22 Mar 2010 15:23:37 +0000 (15:23 +0000)]
- [USER32] reduce diff to wine

svn path=/trunk/; revision=46342

9 years agoFix debug prints.
Dmitry Gorbachev [Mon, 22 Mar 2010 14:22:46 +0000 (14:22 +0000)]
Fix debug prints.

svn path=/trunk/; revision=46341

9 years ago[DDK]
Amine Khaldi [Mon, 22 Mar 2010 12:54:34 +0000 (12:54 +0000)]
[DDK]
- Remove some duplicated definitions.

svn path=/branches/header-work/; revision=46340

9 years ago[KSPROXY]
Johannes Anderwald [Mon, 22 Mar 2010 05:03:50 +0000 (05:03 +0000)]
[KSPROXY]
- Implement IKsAllocator interface
- Implement IMediaSample interface
- Implement querying the output pin for IMemInputPin and determine allocator properties. Currently the allocation strategy is limited to 16 Buffers with a size of 2048 * 188 (MPEG2 TS Payload size). Needs more work to determine a reasonable value
- Implement overriding allocator if properties are not matching
- Implement IPin::BeginFlush, IPin::EndFlush, IPin::EndOfStream, IPin::NewSegment for the OutputPin
- Implement a I/O thread which queues the media sample to the kernel pin via IKsInterfaceHandler and then transmitts it to the connected input pin via IMemInputPin interface.
- Implement setting pin state via a friend function, in order to synchronize the starting / stopping of the I/O thread
- Fix a bug in IAMFilterMiscFlags::GetMiscFlags function
- ksproxy (CLSID_Proxy) is now able to connect to MPEG-2 splitter and deliver samples. Needs more investigation why the render filter is not releasing the samples back to allocator, which causes the I/O thread to hang. WIP

svn path=/trunk/; revision=46339

9 years ago[CMBATT]: CmBattIoctl: Add handling for the direct-access undocumented IOCTLs. Some...
Sir Richard [Mon, 22 Mar 2010 04:12:02 +0000 (04:12 +0000)]
[CMBATT]: CmBattIoctl: Add handling for the direct-access undocumented IOCTLs. Some PnP glue remains, as well as the ACPI routines, and the driver is done.

svn path=/trunk/; revision=46338

9 years ago[CMBATT]: Implement CmBattPowerDispatch for power requests.
Sir Richard [Mon, 22 Mar 2010 02:18:28 +0000 (02:18 +0000)]
[CMBATT]: Implement CmBattPowerDispatch for power requests.

svn path=/trunk/; revision=46337

9 years ago[CMBATT]: Implement CmBattSystemControl to parse WMI requests.
Sir Richard [Mon, 22 Mar 2010 02:11:16 +0000 (02:11 +0000)]
[CMBATT]: Implement CmBattSystemControl to parse WMI requests.

svn path=/trunk/; revision=46336

9 years ago[CMBATT]: Fix typo in CmBattPowerCallBack caught by aicom.
Sir Richard [Mon, 22 Mar 2010 01:57:11 +0000 (01:57 +0000)]
[CMBATT]: Fix typo in CmBattPowerCallBack caught by aicom.

svn path=/trunk/; revision=46335

9 years ago[CMBATT]: CmBattIoctl: Batteries are very hot-pluggable, so we need to do all the...
Sir Richard [Mon, 22 Mar 2010 01:56:20 +0000 (01:56 +0000)]
[CMBATT]: CmBattIoctl: Batteries are very hot-pluggable, so we need to do all the work under our remove lock. Add the logic for it.
[CMBATT]: CmBattIoctl: If the request was for the AC adapter, pass it down to ACPI.

svn path=/trunk/; revision=46334

9 years ago[CMBATT]: Implement CmBattGetAcpiInterfaces and CmBattIoCompletion to get the ACPI...
Sir Richard [Mon, 22 Mar 2010 01:47:40 +0000 (01:47 +0000)]
[CMBATT]: Implement CmBattGetAcpiInterfaces and CmBattIoCompletion to get the ACPI interface.
[CMBATT]: Implement CmBattWmiRegistration and CmBattWmiDeRegistration to initialize the WMILIB and register with the I/O WMI routines.
[DDK]: Add missing IoWMIRegistrationControl flags.

svn path=/trunk/; revision=46333

9 years ago[CMBATT]
Cameron Gutman [Mon, 22 Mar 2010 01:41:17 +0000 (01:41 +0000)]
[CMBATT]
 - Implement CmBattIoctl

svn path=/trunk/; revision=46332

9 years ago[CMBATT]
Cameron Gutman [Mon, 22 Mar 2010 01:25:48 +0000 (01:25 +0000)]
[CMBATT]
 - Replace magic numbers with IRP_MJ_* constants

svn path=/trunk/; revision=46331

9 years ago[CMBATT]: Implement PnP side: CmBattDestroyFdo, CmBattRemoveDevice, CmBattCreateFdo...
Sir Richard [Mon, 22 Mar 2010 01:14:50 +0000 (01:14 +0000)]
[CMBATT]: Implement PnP side: CmBattDestroyFdo, CmBattRemoveDevice, CmBattCreateFdo, CmBattAddBattery, CmBattAddAcAdapter, CmBattAddDevice.
[DDK]: Add ACPI_INTERFACE_STANDARD.

svn path=/trunk/; revision=46330

9 years ago[PSDK]
Amine Khaldi [Mon, 22 Mar 2010 01:00:05 +0000 (01:00 +0000)]
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.

svn path=/branches/header-work/; revision=46329

9 years ago[RICHED20]
Aleksey Bragin [Sun, 21 Mar 2010 22:44:26 +0000 (22:44 +0000)]
[RICHED20]
- Sync riched20 with Wine-1.1.41.

svn path=/trunk/; revision=46328

9 years ago[WINE]
Aleksey Bragin [Sun, 21 Mar 2010 22:27:26 +0000 (22:27 +0000)]
[WINE]
- Move and update assembler functions definition macros from port.h (added by Steven around revision 7000) to config.h as it is now in Wine.
- Update related __ASM macros.

svn path=/trunk/; revision=46327

9 years ago[DDK]: Fix build, sorry.
Sir Richard [Sun, 21 Mar 2010 22:09:29 +0000 (22:09 +0000)]
[DDK]: Fix build, sorry.

svn path=/trunk/; revision=46326

9 years ago[DBGHELP]
Christoph von Wittich [Sun, 21 Mar 2010 21:08:48 +0000 (21:08 +0000)]
[DBGHELP]
sync dbghelp with wine 1.1.41

svn path=/trunk/; revision=46325

9 years ago[CMBATT]: Implement CmBattPowerCallback and CmBattWakeDpc to handle S0 entry/exit...
Sir Richard [Sun, 21 Mar 2010 21:07:01 +0000 (21:07 +0000)]
[CMBATT]: Implement CmBattPowerCallback and CmBattWakeDpc to handle S0 entry/exit transitions which determine if we delay ACPI battery notifications to avoid wake, and the queuing of a DPC to handle processing the delayed ARs when we return to S0.

svn path=/trunk/; revision=46324

9 years ago[VERSION]
Christoph von Wittich [Sun, 21 Mar 2010 21:02:06 +0000 (21:02 +0000)]
[VERSION]
sync version with wine 1.1.41

svn path=/trunk/; revision=46323

9 years ago[CMBATT]; Implement CmBattSetStatusNotify and CmBattDisableStatusNotify for setting...
Sir Richard [Sun, 21 Mar 2010 20:38:43 +0000 (20:38 +0000)]
[CMBATT]; Implement CmBattSetStatusNotify and CmBattDisableStatusNotify for setting/clearing the current trip point (at the Windows layer). Actual ACPI work in CmBattSetTripPpoint not done.

svn path=/trunk/; revision=46321

9 years ago[USP10]
Christoph von Wittich [Sun, 21 Mar 2010 20:26:32 +0000 (20:26 +0000)]
[USP10]
sync usp10 with wine 1.1.41

svn path=/trunk/; revision=46320

9 years ago[HLINK]
Christoph von Wittich [Sun, 21 Mar 2010 19:28:13 +0000 (19:28 +0000)]
[HLINK]
sync hlink with wine 1.1.41

svn path=/trunk/; revision=46319

9 years ago[PSDK]
Christoph von Wittich [Sun, 21 Mar 2010 19:23:25 +0000 (19:23 +0000)]
[PSDK]
sync wincodec.idl with wine 1.1.41

svn path=/trunk/; revision=46318

9 years ago[GDIPLUS]
Christoph von Wittich [Sun, 21 Mar 2010 19:20:42 +0000 (19:20 +0000)]
[GDIPLUS]
sync gdiplus with wine 1.1.41

svn path=/trunk/; revision=46317

9 years ago[FUSION]
Christoph von Wittich [Sun, 21 Mar 2010 19:19:12 +0000 (19:19 +0000)]
[FUSION]
sync fusion with wine 1.1.41

svn path=/trunk/; revision=46316

9 years ago[AVIFIL32]
Christoph von Wittich [Sun, 21 Mar 2010 19:17:10 +0000 (19:17 +0000)]
[AVIFIL32]
sync avifil32 with wine 1.1.41

svn path=/trunk/; revision=46315

9 years ago[WINDOWSCODECS]
Christoph von Wittich [Sun, 21 Mar 2010 19:14:16 +0000 (19:14 +0000)]
[WINDOWSCODECS]
sync windowscodecs with wine 1.1.41

svn path=/trunk/; revision=46313

9 years ago[QEDIT]
Christoph von Wittich [Sun, 21 Mar 2010 19:07:07 +0000 (19:07 +0000)]
[QEDIT]
sync qedit with wine 1.1.41

svn path=/trunk/; revision=46312

9 years ago[QUARTZ]
Christoph von Wittich [Sun, 21 Mar 2010 19:02:37 +0000 (19:02 +0000)]
[QUARTZ]
sync quartz with wine 1.1.41

svn path=/trunk/; revision=46311