Fix bugs in new printf implementation: use buffer size in _snprintf and check for the right failure return value of streamout_char.
svn path=/trunk/; revision=50251
- Add NpfsDirectoryControl routine in order to enumerate pipes.
- Use NpfsGetFcb and NpfsGetCcb to retrieve the FCB or CCB and use SEH to protect these routines.
svn path=/trunk/; revision=50250
- Remove all hardware related routines from fdo.c as they are now in hardware.c
- Replace ExecuteControlRequest with new SubmitControlTransfer.
- For internal control requests (originating from ehci driver) use an event to signal request completion.
- When submitting non internal control request save the Irp in the software part of the QueueHead.
For these requests check for errors and complete the Irp with the appropriate URB Status when the QueueHead is complete.
- Misc code cleanup and dead code removal.
- UsbEhci now works as before and should be ready for some forward progress.
svn path=/trunk/; revision=50249
- Start creeping in more Left to Right support, readying up for the next wine User32 controls port and test sync. Code is based on wine, credit them for any breakages. 8^P Our positions are off by 103 x 122 in some test cases, anyone having an idea please chime in.
svn path=/trunk/; revision=50247
- Start using XP- and Vista-compatible pipe names for the RPC endpoint. Kick out the ROS-specific \pipe\umpnpmgr one.
- Use only the Vista pipe name for now, using the XP one makes device installation fail..
- Use the correct PNP interface UUID
[SETUPAPI]
- Bind to the PNP service using the Vista-compatible pipe.
svn path=/trunk/; revision=50242
- Remove all hardware related structs from usbehci.h as they are now in hardware.h.
- Add debugging routines for usb descriptors, queue heads and transfer descriptors.
- This will break building usbehci, but not a problem as it is not included in the default build. Will be fixed with later commit.
svn path=/trunk/; revision=50231
- Implement creating and deleting Queue Heads and Transfer Descriptors from common buffer.
- Implement linking/unlinking QueueHeads to create a linked list for Asynchronous Schedule traversal.
- Implement BuildSetupPacketFromURB for creating a setup packet from a URB.
- Implement SubmitControlTransfer.
svn path=/trunk/; revision=50230
- Add hack to mark desktop window as a desktop window and notes for creating a desktop with tips in win32k. Move user position code from window to winpos.
svn path=/trunk/; revision=50229
- Reorganization code to put hardware related structures and routines in own source files.
- Modify ResetPort to correctly reset the port instead of the controller.
- Implement allocating chunks of memory from the Common Buffer for use with the rest of source code.
svn path=/trunk/; revision=50223
- Fix most of the user32 wine win test_mdi tests. Leaving 6 failures dealing with rect size. Start A2U and U2A support.
svn path=/trunk/; revision=50221
- Greatly simplify and fix the incorrect and overcomplicated if condition in IoIsOperationSynchronous(), based on MSDN description. Bug spotted, fix tested by Pierre.
svn path=/trunk/; revision=50210
- Substantially improve FatiCreate routine, to handle previously unhandled cases, fix wrong code structure in some places, add a stub for further implementation of a new file creation branch.
- Hackskip setting delay-on-close for a file for now (with a debug print reminder!)
svn path=/trunk/; revision=50164
- ScsiPortDeviceControl: Slight improvement to buffer length validation. Return failure status on a handful of failure cases. Prevents buffer overruns in user code.
svn path=/trunk/; revision=50158
Use memcpy with sizeof instead of strncpy with strlen to make sure the destination string will be zero terminated.
CID 1649
svn path=/trunk/; revision=50155
Make definitions of ExpChangeRundown, ExpChangePushlock and ExpSetRundown 64 bit safe (have one portable definition and use it accordingly)
svn path=/trunk/; revision=50152