Changes in preparation for CORE-9773
- Split DosLoadExecutable into DosLoadExecutable & DosLoadExecutableInternal, the latter one can be used for small programs embedded in ntvdm.exe (will be used for integrated command.com).
- Factorize common loading code in DosLoadExecutable(Internal); just before starting a program, set the CPU registers to the default values DOS use; see comments in the code for more details (some programs expect those values).
- Set a correct termination type (hiword in the returned ErrorLevel) when terminating programs (the value is different for TSRs and for regular programs).
CORE-9773 CORE-9729 CORE-9711 CORE-8247
svn path=/trunk/; revision=68746
May thou rest in peace!
(...or rather live on in MSPAINT_NEW's commit history)
[MSPAINT_NEW]
I hereby pronounce thee MSPAINT!
svn path=/trunk/; revision=68741
- CDesktopFolder: Create two interal fs folders that wiill eventually take care of all file support for the desktop folder.
- Implement some methods using the internal fs folders.
svn path=/trunk/; revision=68736
Add/Update Chinese (zh-CN) translation by Henry Tang Ih
CORE-9003 #resolve #comment Committed v7 Patch, as the author told me, this resolves this report. Thx once more for translating ROS to Chinese ^^
svn path=/trunk/; revision=68732
- Use SHELL32_GetGuidItemAttributes, SHELL32_GetFSItemAttributes, SHELL32_BindToGuidItem and SHELL32_GetDisplayNameOfGUIDItem in CControlPanelFolder, CDrivesFolder and CFSFolder instead of using functions that accept all sorts of pidl types.
svn path=/trunk/; revision=68730
- Split SHELL32_GetItemAttributes to SHELL32_GetGuidItemAttributes and SHELL32_GetFSItemAttributes.
- Add a couple helper functions that will reduce code duplication in folders with reg items: SHELL32_BindToGuidItem, SHELL32_GetDisplayNameOfGUIDItem
svn path=/trunk/; revision=68729
- CAdminToolsFolder: return proper attributes when no items are specified. (This is fine for reg folders but doesn't work for fs folders).
- CFontsFolder: fix GetAttributesOf as above. Fix Initialize method to return success. All shell folders should support this method.
- CNetFolder: Return the name of the folder when asked.
- CPrinterFolder: It doesn't have subfolders so it doesn't make sense to implement BindToObject.
svn path=/trunk/; revision=68728
Change console processes priority when the console gains or loses focus. FIXME: Win2k3 backtraces show that we should call NtUserSetInformationProcess(unimplemented in ROS) to set some win32 process foreground flags.
CORE-9911
svn path=/trunk/; revision=68716
- Don't use hardcoded structure types in sizeof's where possible.
- Fix the parameters of NtSetInformationProcess calls in CsrSetBackground/ForegroundPriority.
CORE-9911
svn path=/trunk/; revision=68715
- When we have few R/W IO port handlers, just register them directly instead of using a wrap-up function.
- Remove hardcoded bit flag values.
svn path=/trunk/; revision=68710
- Add some missing MouseResetCounters calls when enabling/disabling mouse reporting, and an ACKnowledge signal when we set mouse defaults.
- When we have few R/W IO port handlers, just register them directly instead of using a wrap-up function.
svn path=/trunk/; revision=68709
- When we have few R/W IO port handlers, just register them directly instead of using a wrap-up function.
- Start implementing the PS/2 keyboard command handler.
- Report scancodes only if the keyboard is enabled.
See r68415.
CORE-9920
svn path=/trunk/; revision=68708
Make sure to attach to the specified process before dereferencing ClientInfo, which is a user mode structure.
CORE-l0017 #resolve
svn path=/trunk/; revision=68702