Hervé Poussineau
60ef511bb8
DEVICE_RELATIONS->Count is ULONG
...
svn path=/trunk/; revision=35535
2008-08-22 19:08:25 +00:00
Hervé Poussineau
44fdf97ae2
Calling IoSynchronousInvalidateDeviceRelations with type TargetDeviceRelation returns success.
...
Spotted by Alex
svn path=/trunk/; revision=35534
2008-08-22 19:06:25 +00:00
Hervé Poussineau
70f34a3756
Move most of the code of IoSynchronousInvalidateDeviceRelations to IopEnumerateDevice, and use it when possible
...
Fix IoSynchronousInvalidateDeviceRelations prototype
svn path=/trunk/; revision=35533
2008-08-22 19:00:31 +00:00
Hervé Poussineau
bf702f35f2
Clean up code by removing now useless parts
...
Replace 3rd arg of IopActionInitChildServices by a global variable (removes a pointer cast)
IopStartDevice: no need to get top of stack, IopInitiatePnpIrp does it for us
svn path=/trunk/; revision=35532
2008-08-22 17:47:13 +00:00
Stefan Ginsberg
b129412701
- Replace more magic values with symbolic constants
...
- Fix a peculiar header duplication
svn path=/trunk/; revision=35531
2008-08-22 14:55:20 +00:00
Jeffrey Morlan
8b52a8e50a
- Extract the line-reading code in ProcessInput to a separate function (ReadLine) that the parser can call. Now line continuations (using ^ at the end of a line) and multi-line parenthesized blocks work.
...
- ReadBatchLine: Don't strip the trailing \n, the parser needs it. Remove handling of :labels and @quiet commands, now done by the parser.
- ReadCommand: Add a \n to the line. Move PrintPrompt call out, since the prompt shouldn't be printed for additional lines read in a command beyond the first.
svn path=/trunk/; revision=35530
2008-08-22 14:37:11 +00:00
Stefan Ginsberg
16ab5c9a07
- Add EFLAGS_IOPL to asm.h and make use of it in assembly
...
- Fix a potential 64-bit warning in handle.c
- Comment fixes
svn path=/trunk/; revision=35529
2008-08-22 14:29:01 +00:00
Art Yerkes
f1fe2984b3
Commit bugboy's patch from bug 2392, and remove DeviceDesc, which isn't needed
...
anymore.
svn path=/trunk/; revision=35523
2008-08-22 05:58:56 +00:00
Stefan Ginsberg
7e8e8407d0
- Fix kernel mode debug output broken in 35520
...
- Patch by Alex
svn path=/trunk/; revision=35522
2008-08-22 00:39:26 +00:00
Stefan Ginsberg
81af67a6fe
- Use correct bug code when crashing due to closing a protected handle
...
- Add INVALID_KERNEL_HANDLE bug code
svn path=/trunk/; revision=35521
2008-08-22 00:26:52 +00:00
Stefan Ginsberg
b9a32878e1
- Patch by Alex Ionescu: Fix a typo, and code cleanup
...
svn path=/trunk/; revision=35520
2008-08-21 22:41:17 +00:00
Stefan Ginsberg
ea3057f862
- Change ASSERT to C_ASSERT
...
svn path=/trunk/; revision=35519
2008-08-21 21:25:16 +00:00
Aleksey Bragin
83029d2dd8
- "When releasing the gmutex my awesome code was removing the woken flag" (c) Alex Ionescu.
...
svn path=/trunk/; revision=35516
2008-08-21 21:07:52 +00:00
Jeffrey Morlan
4cdc27c1a2
- Begin writing a real parser for cmd. &, &&, ||, and () are implemented. The parenthesized blocks aren't too useful yet as the parser can't read additional lines; doing this will require some restructuring in cmd.c.
...
- Remove ^-removing hacks in echo and set.
svn path=/trunk/; revision=35514
2008-08-21 20:18:35 +00:00
Jeffrey Morlan
07912f2b23
- Implement X>&Y redirections. Hold redirections in a linked list structure, because order matters (>x 2>&1 is not the same as 2>&1 >x). Allow redirection of any handle number from 0 to 9.
...
- Allow quotes around the redirection file name.
- Batch: Fix buffer overflow bug (incorrect size for bc->BatchFilePath)
svn path=/trunk/; revision=35508
2008-08-21 15:33:59 +00:00
Aleksey Bragin
4af7567008
- Add missing MmCallDllInitialize prototype.
...
- Make IopOpenRegistryKeyEx NTAPI.
- Patch by Alex Ionescu.
svn path=/trunk/; revision=35503
2008-08-21 11:04:50 +00:00
Aleksey Bragin
d1213e5977
- Fix definition of BOOT_DRIVER_LIST_ENTRY (Information provided by Alex Ionescu).
...
svn path=/trunk/; revision=35502
2008-08-21 10:58:53 +00:00
Art Yerkes
36b8b4a111
Merge aicom-network-fixes up to 35486
...
svn path=/trunk/; revision=35499
2008-08-21 03:38:49 +00:00
Gregor Brunmar
4d54d71f8f
Added some more parameter error checking to D3D9::CreateDevice()
...
svn path=/trunk/; revision=35498
2008-08-21 03:19:02 +00:00
Gregor Brunmar
52aa41d8e0
* Removed unused header file
...
* Fixed signed/unsigned comparison warning
svn path=/trunk/; revision=35497
2008-08-21 02:34:28 +00:00
Jeffrey Morlan
ed0615e6ac
Always set the console's event on any keypress, even in line input mode.
...
svn path=/trunk/; revision=35489
2008-08-20 20:55:39 +00:00
Jeffrey Morlan
fca286cbda
Fix infinite loop during generic table lookups. Patch by Alex Ionescu
...
svn path=/trunk/; revision=35487
2008-08-20 19:15:00 +00:00
Johannes Anderwald
46ba64139f
- Implement SHParseDisplayName by Paul paulvgenderen at gmail.com
...
svn path=/trunk/; revision=35482
2008-08-20 17:29:18 +00:00
Johannes Anderwald
e577021a2b
- Do not pass SHGDN_INFOLDER flag
...
- Implement IPersistFolder2 for control panel shell folder
- Replace _InsertMenuItem with unicode
- Pass the pidl of shellfolder and selected drive to SH_ShowDriveProperties to construct a valid IDataObject which is passed to drive PropertySheet handlers
- Release HPSX array only if it was constructed
- Optimize AddShellPropSheetExCallback for file property dialog
- Pass the pidl of the parent shell folder and selected item to SH_ShowPropertiesDialog and construct a IDataObject from it
- Check for success for created IDataObject and HPSX array
- Add a lot of buffer checks for the OpenNew shell extension
- Pass the full filename of the item from Admin Tools shellfolder when IShellFolder_GetDisplayNameOf is called with SHGDN_FORPARSING
- Implement initializing the AdminTools folder
- Implement IShellFolder_SetNameOf for the desktop shell folder to support renaming desktop items and sub folders
- Implement ISFHelper interface for desktop shell folder to support deleting with backspace key and fixes the new item shell service for items and directories
- Implement hiding (deleting) shell extensions from desktop
- Display a messagebox if shell extensions should be really deleted
- Fix the IShellFolder_GetAttributesOf for the Mycomputer shell folder
- Implement changing drive name with rename verb using IShellFolder_SetNameOf (MyComputer)
- Implement Initializing the MyComputer shell folder properly
- Fix Shellfolder attributes for MyDocuments shell folder
- Fix Shellfolder attributes for Netplaces shell folder
- Implement Initializing the Netplaces shell folder properly
- Remove the 'properties' and 'open' verb from recycle bin shell folder, these verbs are statically generated
- Directories cannot have the link attribute
- Implement IShellExtInit interface for the new item shell service
- Implement the default context menu based on the existing item context menu and background context menu and delete old implementation
- Implement copy&paste of files and directories
- Implement creating links to files
- Check if a dynamic shell extension has already been loaded
- Free static / dynamic shell extensions on release
svn path=/trunk/; revision=35476
2008-08-20 13:47:47 +00:00
Johannes Anderwald
6d22ab5923
* The CLSID of a PropertySheet handler can either be present as subkey or as a default value.
...
* Fixes WinRar file property sheet handler and etc...
svn path=/trunk/; revision=35465
2008-08-19 22:40:05 +00:00
Daniel Reimer
9080c0c2e7
Last remnants of Bug 3649. Hopefully...
...
svn path=/trunk/; revision=35464
2008-08-19 21:45:56 +00:00
Stefan Ginsberg
b736cabdae
- Remove dead code
...
svn path=/trunk/; revision=35462
2008-08-19 21:09:58 +00:00
Daniel Reimer
f2573fe760
Bug 3661: Bulgarian Update by CCTAHEB
...
Bug 3668: Shell32 Update by Javier Remacha
svn path=/trunk/; revision=35456
2008-08-19 17:00:40 +00:00
Daniel Reimer
2af4b1e5ca
Bug 3631 Translate file/patch by Lars Martin Hambro (shell32 was outdated)
...
Bug 3659 shell32 pl-PL update by Maciej Bialas
Bug 3664 Italian resources update by Paolo Devoti
Bug 3665 Some translations
svn path=/trunk/; revision=35455
2008-08-19 16:32:35 +00:00
Gregor Brunmar
9df926c8e0
* Removed d3d9's dependency on the missing strsafe library
...
* Replaced .def file with a .spec file
svn path=/trunk/; revision=35452
2008-08-19 15:42:23 +00:00
Johannes Anderwald
19ce17e295
* Restore file with SHFileOperation
...
svn path=/trunk/; revision=35451
2008-08-19 13:14:25 +00:00
Johannes Anderwald
f1a1cc745a
* Create a IDataObject when cidl == 0 (click on TreeView)
...
* Handle directories in ISFHelper_fnCopyItems
* Should make copying directories work
svn path=/trunk/; revision=35450
2008-08-19 13:03:16 +00:00
Art Yerkes
1d8b6343f6
Fix a leak when doing an immediate reply to a small packet (could be PSH|ACK
...
with < 50 bytes, ACK|FIN, RST or similar).
svn path=/trunk/; revision=35449
2008-08-19 12:39:46 +00:00
Johannes Anderwald
524d084d4d
- Read class name from Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID when available. Custom names like renamed MyComputer or MyDocuments are stored here
...
svn path=/trunk/; revision=35448
2008-08-19 08:34:42 +00:00
Art Yerkes
7d8e94151c
Merge aicom-network-fixes up to 35446.
...
I (arty) modified the new printing in msafd to be conditional, so as not to
be accused of causing unnecessary spew.
svn path=/trunk/; revision=35447
2008-08-19 06:06:43 +00:00
Johannes Anderwald
eaee8097aa
- rewrite ISFHelper_CopyItems to actually copy the items when requested
...
- should fix copy&paste of files in explorer (Directories are not yet supported)
svn path=/trunk/; revision=35440
2008-08-19 00:04:53 +00:00
Johannes Anderwald
2546d4ddc6
- add 3 resource strings
...
svn path=/trunk/; revision=35437
2008-08-18 22:24:45 +00:00
Stefan Ginsberg
290c90788a
- Fix freeldr build
...
svn path=/trunk/; revision=35435
2008-08-18 17:38:38 +00:00
Stefan Ginsberg
eccf1ea8b5
- Remove broken IoReportTargetDeviceChange implementation on Alex's request
...
svn path=/trunk/; revision=35434
2008-08-18 17:07:09 +00:00
Stefan Ginsberg
f7972be7d1
- Replace the remaining X86_EFLAGS* with EFLAGS_*
...
- Add missing EFLAGS_* to NDK
svn path=/trunk/; revision=35433
2008-08-18 17:05:31 +00:00
Eric Kohl
e6bc2154e3
Implement the "Add users to a group" function.
...
svn path=/trunk/; revision=35432
2008-08-18 14:08:22 +00:00
Stefan Ginsberg
f4d87f01ff
- Missed a STDCALL -> NTAPI
...
svn path=/trunk/; revision=35430
2008-08-18 13:35:52 +00:00
Stefan Ginsberg
183d54b377
- Fix a typo (and build)
...
svn path=/trunk/; revision=35429
2008-08-18 13:33:40 +00:00
Stefan Ginsberg
d94c54c3a7
- Implement IoReportTargetDeviceChange as a wrapper around the unimplemented IoReportTargetDeviceChangeAsynchronous
...
svn path=/trunk/; revision=35428
2008-08-18 13:31:33 +00:00
Stefan Ginsberg
e3f8231305
- Cleanup and reformat parts of pnpmgr (no code change)
...
svn path=/trunk/; revision=35427
2008-08-18 13:30:17 +00:00
Stefan Ginsberg
5f26c6070c
- STDCALL -> NTAPI
...
svn path=/trunk/; revision=35425
2008-08-18 09:50:38 +00:00
Stefan Ginsberg
b7375f0b9d
- Don't export PoSetDeviceBusy, it should be a macro in a DDK header
...
- Clean up Po* stubs
svn path=/trunk/; revision=35424
2008-08-18 09:49:28 +00:00
Stefan Ginsberg
bd8aae9daf
- Add KdInitSystem to kd64.h
...
svn path=/trunk/; revision=35423
2008-08-18 07:47:44 +00:00
Stefan Ginsberg
7a7c6e2c98
- Remove 3 deprecated macros
...
- Use X86_EFLAGS_ID instead of cpu.c specific EFLAGS_ID
svn path=/trunk/; revision=35422
2008-08-18 07:42:12 +00:00
Stefan Ginsberg
42114cdc69
- Remove empty header
...
svn path=/trunk/; revision=35421
2008-08-18 07:37:25 +00:00