Commit graph

41515 commits

Author SHA1 Message Date
Cameron Gutman c289730700 [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
2010-03-24 23:13:51 +00:00
Timo Kreuzer 91796fd6b5 [BEEPMIDI]
Fix 64bit compilation

svn path=/trunk/; revision=46412
2010-03-24 23:12:31 +00:00
Timo Kreuzer bdc2ba7816 [NCI]
- Fix 64bit stubs
[RSYM64]
- fix linux compilation

svn path=/trunk/; revision=46410
2010-03-24 23:03:33 +00:00
Cameron Gutman 63dd61cc3d [DDK]
- Fix a signedness warning

svn path=/trunk/; revision=46408
2010-03-24 22:56:16 +00:00
Timo Kreuzer 670842fb2d [ACLEDIT]
remove $Id fields

svn path=/trunk/; revision=46407
2010-03-24 22:56:12 +00:00
Johannes Anderwald 79f7266fc6 [KSPROXY]
- Load ksproxy plugins for input / output pins

svn path=/trunk/; revision=46400
2010-03-24 20:05:43 +00:00
Johannes Anderwald 015687d53a [KSPROXY]
- Silent traces

svn path=/trunk/; revision=46399
2010-03-24 17:30:43 +00:00
Johannes Anderwald 4dffda6162 [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
2010-03-24 16:04:44 +00:00
Johannes Anderwald 7feccc0f73 [KSPROXY]
- Add support for IKsClockForward interface which is an alias for IKsObject
- CKsClockForwarder is now functional

svn path=/trunk/; revision=46397
2010-03-24 14:03:40 +00:00
Johannes Anderwald 6dc21eed48 [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
2010-03-24 13:12:34 +00:00
Christoph von Wittich c58da0629e [CMBATT]
fix build

svn path=/trunk/; revision=46395
2010-03-24 11:10:24 +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
Sir Richard 3890d249d5 [CMBATT]: Implement ACPI _STA and _PSR method calls.
svn path=/trunk/; revision=46381
2010-03-24 00:24:24 +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
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
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
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
Sir Richard d90af61d6f [CMBATT]: Implement PnP side: CmBattDestroyFdo, CmBattRemoveDevice, CmBattCreateFdo, CmBattAddBattery, CmBattAddAcAdapter, CmBattAddDevice.
[DDK]: Add ACPI_INTERFACE_STANDARD.

svn path=/trunk/; revision=46330
2010-03-22 01:14:50 +00:00
Aleksey Bragin 79a14dac68 [RICHED20]
- Sync riched20 with Wine-1.1.41.

svn path=/trunk/; revision=46328
2010-03-21 22:44:26 +00:00
Aleksey Bragin 11604ef89b [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
2010-03-21 22:27:26 +00:00
Sir Richard 9657b28db9 [DDK]: Fix build, sorry.
svn path=/trunk/; revision=46326
2010-03-21 22:09:29 +00:00
Christoph von Wittich 2bdad0ba67 [DBGHELP]
sync dbghelp with wine 1.1.41

svn path=/trunk/; revision=46325
2010-03-21 21:08:48 +00:00
Sir Richard 3e76f1bac8 [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
2010-03-21 21:07:01 +00:00
Christoph von Wittich 37d10b143e [VERSION]
sync version with wine 1.1.41

svn path=/trunk/; revision=46323
2010-03-21 21:02:06 +00:00
Sir Richard 1c53a1fd45 [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
2010-03-21 20:38:43 +00:00
Christoph von Wittich c379601527 [USP10]
sync usp10 with wine 1.1.41

svn path=/trunk/; revision=46320
2010-03-21 20:26:32 +00:00
Christoph von Wittich 465e002842 [HLINK]
sync hlink with wine 1.1.41

svn path=/trunk/; revision=46319
2010-03-21 19:28:13 +00:00
Christoph von Wittich 57d67500da [PSDK]
sync wincodec.idl with wine 1.1.41

svn path=/trunk/; revision=46318
2010-03-21 19:23:25 +00:00
Christoph von Wittich 518193eb0a [GDIPLUS]
sync gdiplus with wine 1.1.41

svn path=/trunk/; revision=46317
2010-03-21 19:20:42 +00:00