Author: jimtabor
Date: Sat Jan 17 00:31:19 2015
New Revision: 66044
URL: http://svn.reactos.org/svn/reactos?rev=66044&view=rev
Log:
[User32]
- Alt-Tab Use windows logo icon as default. Patch from CORE-7864 #resolve
Modified:
trunk/reactos/win32ss/user/user32/controls/appswitch.c
Modified: trunk/reactos/win32ss/user/user32/controls/appswitch.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/contro…
==============================================================================
--- trunk/reactos/win32ss/user/user32/controls/appswitch.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/controls/appswitch.c [iso-8859-1] Sat Jan 17 00:31:19 2015
@@ -121,8 +121,13 @@
hIcon = (HICON)SendMessageW(window, WM_GETICON, ICON_SMALL2, 0);
if (!hIcon)
{
- // If all fails, give up and continue with the next window
- return TRUE;
+ // using windows logo icon as default
+ hIcon = gpsi->hIconWindows;
+ if (!hIcon)
+ {
+ //if all attempts to get icon fails go to the next window
+ return TRUE;
+ }
}
}
}
Author: hpoussin
Date: Wed Jan 14 20:48:06 2015
New Revision: 66037
URL: http://svn.reactos.org/svn/reactos?rev=66037&view=rev
Log:
[NTOS:EX] Implement NtSystemDebugControl
Modified:
trunk/reactos/ntoskrnl/ex/dbgctrl.c
Modified: trunk/reactos/ntoskrnl/ex/dbgctrl.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/dbgctrl.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/dbgctrl.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/dbgctrl.c [iso-8859-1] Wed Jan 14 20:48:06 2015
@@ -60,6 +60,47 @@
ULONG OutputBufferLength,
PULONG ReturnLength)
{
- /* FIXME: TODO */
- return STATUS_SUCCESS;
+ switch (ControlCode)
+ {
+ case SysDbgQueryModuleInformation:
+ case SysDbgQueryTraceInformation:
+ case SysDbgSetTracepoint:
+ case SysDbgSetSpecialCall:
+ case SysDbgClearSpecialCalls:
+ case SysDbgQuerySpecialCalls:
+ case SysDbgQueryVersion:
+ case SysDbgReadVirtual:
+ case SysDbgWriteVirtual:
+ case SysDbgReadPhysical:
+ case SysDbgWritePhysical:
+ case SysDbgReadControlSpace:
+ case SysDbgWriteControlSpace:
+ case SysDbgReadIoSpace:
+ case SysDbgWriteIoSpace:
+ case SysDbgReadMsr:
+ case SysDbgWriteMsr:
+ case SysDbgReadBusData:
+ case SysDbgWriteBusData:
+ case SysDbgCheckLowMemory:
+ case SysDbgGetTriageDump:
+ return STATUS_NOT_IMPLEMENTED;
+ case SysDbgBreakPoint:
+ case SysDbgEnableKernelDebugger:
+ case SysDbgDisableKernelDebugger:
+ case SysDbgGetAutoKdEnable:
+ case SysDbgSetAutoKdEnable:
+ case SysDbgGetPrintBufferSize:
+ case SysDbgSetPrintBufferSize:
+ case SysDbgGetKdUmExceptionEnable:
+ case SysDbgSetKdUmExceptionEnable:
+ case SysDbgGetKdBlockEnable:
+ case SysDbgSetKdBlockEnable:
+ return KdSystemDebugControl(
+ ControlCode,
+ InputBuffer, InputBufferLength,
+ OutputBuffer, OutputBufferLength,
+ ReturnLength, KeGetPreviousMode());
+ default:
+ return STATUS_INVALID_INFO_CLASS;
+ }
}