Commit graph

41884 commits

Author SHA1 Message Date
Timo Kreuzer 6fdf4de02b Fix build (1/x)
svn path=/branches/ros-amd64-bringup/; revision=46384
2010-03-24 00:59:16 +00:00
Sir Richard e3bb4c900f [CMBATT]: Implement _UID and _BTP ACPI method calls.
svn path=/trunk/; revision=46383
2010-03-24 00:33:50 +00:00
Timo Kreuzer 0908342a7b Add back acpi
svn path=/branches/ros-amd64-bringup/; revision=46382
2010-03-24 00:33:22 +00:00
Sir Richard 3890d249d5 [CMBATT]: Implement ACPI _STA and _PSR method calls.
svn path=/trunk/; revision=46381
2010-03-24 00:24:24 +00:00
Timo Kreuzer 9df4519b79 Merge trunk HEAD (r46369)
(part 6/6)

svn path=/branches/ros-amd64-bringup/; revision=46380
2010-03-24 00:03:54 +00:00
Timo Kreuzer af2f84a5ea Merge trunk HEAD (r46369)
(part 5/x)

svn path=/branches/ros-amd64-bringup/; revision=46379
2010-03-24 00:00:51 +00:00
Timo Kreuzer 9ae0c01261 Merge trunk HEAD (r46369)
(part 4/x)

svn path=/branches/ros-amd64-bringup/; revision=46378
2010-03-23 23:59:58 +00:00
Timo Kreuzer d99dcece8a Merge trunk HEAD (r46369)
(part 3/x)

svn path=/branches/ros-amd64-bringup/; revision=46377
2010-03-23 23:57:55 +00:00
Timo Kreuzer cdd97bbca7 Merge trunk HEAD (r46369)
(part 2/x)

svn path=/branches/ros-amd64-bringup/; revision=46376
2010-03-23 23:56:31 +00:00
Timo Kreuzer a86904e856 Merge trunk HEAD (r46369)
(part 1/x)

svn path=/branches/ros-amd64-bringup/; revision=46375
2010-03-23 23:45:57 +00:00
Sir Richard 5bf71f83d8 [CMBATT]: Implement ACPI package extraction routines, and CmBattSendDownStreamIrp to send ACPI IOCTLs.
svn path=/trunk/; revision=46374
2010-03-23 23:33:58 +00:00
Sir Richard d94632570f [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
2010-03-23 23:21:29 +00:00
Sir Richard 1e516d2aa8 [CMBATT]: Implement PnP handling. Only the ACPI-facing interface needs to be written now.
svn path=/trunk/; revision=46371
2010-03-23 22:18:04 +00:00
Eric Kohl d9e2cd3c53 [NTOSKRNL]
Fail if you query a primary token for its impersonation level.

svn path=/trunk/; revision=46370
2010-03-23 21:53:19 +00:00
Timo Kreuzer 15e28917ea fix a typo
svn path=/branches/ros-amd64-bringup/; revision=46369
2010-03-23 21:38:52 +00:00
Timo Kreuzer f56486bc20 [wingdi]
GetFontUnicodeRanges is _WIN32_WINNT >= 0x0500

svn path=/branches/ros-amd64-bringup/; revision=46368
2010-03-23 21:38:25 +00:00
Timo Kreuzer 4cc2109701 Fix a typo
svn path=/branches/ros-amd64-bringup/; revision=46367
2010-03-23 21:32:01 +00:00
Timo Kreuzer 6716492137 Fix some MSC intrinsics
svn path=/branches/ros-amd64-bringup/; revision=46366
2010-03-23 21:31:39 +00:00
Timo Kreuzer 1be8cd9ee4 [XDK] Move more stuff from ntddk.template.h into appropriate headers
svn path=/branches/header-work/; revision=46365
2010-03-23 21:04:48 +00:00
Timo Kreuzer 83fc2214b9 [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
2010-03-23 20:18:51 +00:00
Timo Kreuzer 0ce290c185 [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
2010-03-23 19:24:29 +00:00
Amine Khaldi 52281dc572 - 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
2010-03-23 18:38:46 +00:00
Timo Kreuzer 47b1e82248 [WDM] Disable some warnings on MSVC
svn path=/branches/header-work/; revision=46361
2010-03-23 18:34:15 +00:00
Timo Kreuzer 6f88dd3240 [XDK]
Improve BYTES_TO_PAGES macro

svn path=/branches/header-work/; revision=46360
2010-03-23 17:09:17 +00:00
Timo Kreuzer 6fae56fbbb [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
2010-03-23 16:58:28 +00:00
Timo Kreuzer 5bfe925b10 [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
2010-03-23 16:42:06 +00:00
Timo Kreuzer f36be5691c DDKAPI -> NTAPI
svn path=/branches/header-work/; revision=46357
2010-03-23 16:38:10 +00:00
Cameron Gutman fc1acf8469 [ACPI]
- Add stubs for ACPI_INTERFACE_STANDARD and write all of the glue code for IRP_MN_QUERY_INTERFACE

svn path=/trunk/; revision=46353
2010-03-23 03:05:57 +00:00
Cameron Gutman b52502476e [DDK]
- Fix a typo

svn path=/trunk/; revision=46352
2010-03-23 02:59:50 +00:00
James Tabor a2ea38d3cc [Win32k|User32]
- Start Menu and Item structure migration.

svn path=/trunk/; revision=46351
2010-03-23 02:42:11 +00:00
Cameron Gutman d4aa71ff39 [BATTC]
- Remove the incorrect stub from BatteryClassSystemControl

svn path=/trunk/; revision=46350
2010-03-23 02:02:13 +00:00
James Tabor 440c35e960 - Hack fix for gdibatch, please retest Acrobat reader 7.
svn path=/trunk/; revision=46349
2010-03-23 01:34:30 +00:00
Amine Khaldi 9219be6631 [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
2010-03-23 00:27:32 +00:00
Eric Kohl 0a82f829ed [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
2010-03-23 00:16:14 +00:00
Johannes Anderwald 89cff88aa2 [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
2010-03-22 21:40:29 +00:00
Christoph von Wittich f93825c2b2 [RICHED20_WINETEST]
sync riched20_winetest to wine 1.1.41

svn path=/trunk/; revision=46345
2010-03-22 20:50:32 +00:00
Daniel Reimer fba0e60d98 Update rapps database to most recent Versions of all apps.
svn path=/trunk/; revision=46344
2010-03-22 19:41:28 +00:00
Christoph von Wittich bddd636721 [OLEDLG]
reduce diff to wine

svn path=/trunk/; revision=46343
2010-03-22 16:02:32 +00:00
James Tabor c571d594bd - [USER32] reduce diff to wine
svn path=/trunk/; revision=46342
2010-03-22 15:23:37 +00:00
Dmitry Gorbachev 5f337ddbcf Fix debug prints.
svn path=/trunk/; revision=46341
2010-03-22 14:22:46 +00:00
Amine Khaldi 378b31381a [DDK]
- Remove some duplicated definitions.

svn path=/branches/header-work/; revision=46340
2010-03-22 12:54:34 +00:00
Johannes Anderwald 15a94d994c [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
2010-03-22 05:03:50 +00:00
Sir Richard db734f6736 [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
2010-03-22 04:12:02 +00:00
Sir Richard 9cb5d1c622 [CMBATT]: Implement CmBattPowerDispatch for power requests.
svn path=/trunk/; revision=46337
2010-03-22 02:18:28 +00:00
Sir Richard 4d0856dffe [CMBATT]: Implement CmBattSystemControl to parse WMI requests.
svn path=/trunk/; revision=46336
2010-03-22 02:11:16 +00:00
Sir Richard 2e83cf2b10 [CMBATT]: Fix typo in CmBattPowerCallBack caught by aicom.
svn path=/trunk/; revision=46335
2010-03-22 01:57:11 +00:00
Sir Richard 6bd098b58b [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
2010-03-22 01:56:20 +00:00
Sir Richard 01e54afe0a [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
2010-03-22 01:47:40 +00:00
Cameron Gutman 2edf3c4c34 [CMBATT]
- Implement CmBattIoctl

svn path=/trunk/; revision=46332
2010-03-22 01:41:17 +00:00
Cameron Gutman a1d37edf49 [CMBATT]
- Replace magic numbers with IRP_MJ_* constants

svn path=/trunk/; revision=46331
2010-03-22 01:25:48 +00:00