mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
- Silence some debug messages
- Modify base address of iphlpapi so it doesn't get relocated - Implemented SetTaskmanWindow and SetProgmanWindow svn path=/trunk/; revision=16913
This commit is contained in:
parent
a5bc0e6462
commit
2f532c71f4
4 changed files with 26 additions and 17 deletions
|
@ -61,8 +61,8 @@
|
||||||
<property name="BASEADDRESS_IMAGEHLP" value="0x76c90000" />
|
<property name="BASEADDRESS_IMAGEHLP" value="0x76c90000" />
|
||||||
<property name="BASEADDRESS_FMIFS" value="0x76df0000" />
|
<property name="BASEADDRESS_FMIFS" value="0x76df0000" />
|
||||||
<property name="BASEADDRESS_SHELL32" value="0x77260000" />
|
<property name="BASEADDRESS_SHELL32" value="0x77260000" />
|
||||||
<property name="BASEADDRESS_IPHLPAPI" value="0x77300000" />
|
<property name="BASEADDRESS_IPHLPAPI" value="0x77400000" />
|
||||||
<property name="BASEADDRESS_MMDRV" value="0x77500000" />
|
<property name="BASEADDRESS_MMDRV" value="0x77530000" />
|
||||||
<property name="BASEADDRESS_CRTDLL" value="0x77630000" />
|
<property name="BASEADDRESS_CRTDLL" value="0x77630000" />
|
||||||
<property name="BASEADDRESS_CFGMGR32" value="0x77700000" />
|
<property name="BASEADDRESS_CFGMGR32" value="0x77700000" />
|
||||||
<property name="BASEADDRESS_MSAFD" value="0x777a0000" />
|
<property name="BASEADDRESS_MSAFD" value="0x777a0000" />
|
||||||
|
|
|
@ -1467,25 +1467,23 @@ GetFocus(VOID)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
HWND
|
HWND
|
||||||
STDCALL
|
STDCALL
|
||||||
SetTaskmanWindow(HWND x)
|
SetTaskmanWindow(HWND hWnd)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
return NtUserCallHwndOpt(hWnd, HWNDOPT_ROUTINE_SETTASKMANWINDOW);
|
||||||
return FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
HWND
|
HWND
|
||||||
STDCALL
|
STDCALL
|
||||||
SetProgmanWindow(HWND x)
|
SetProgmanWindow(HWND hWnd)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
return NtUserCallHwndOpt(hWnd, HWNDOPT_ROUTINE_SETTASKMANWINDOW);
|
||||||
return FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -226,7 +226,7 @@ CSR_API(CsrAllocConsole)
|
||||||
PCSRSS_CONSOLE Console;
|
PCSRSS_CONSOLE Console;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
DPRINT1("CsrAllocConsole\n");
|
DPRINT("CsrAllocConsole\n");
|
||||||
|
|
||||||
Request->Header.MessageSize = sizeof(CSR_API_MESSAGE);
|
Request->Header.MessageSize = sizeof(CSR_API_MESSAGE);
|
||||||
Request->Header.DataSize = sizeof(CSR_API_MESSAGE) - LPC_MESSAGE_BASE_SIZE;
|
Request->Header.DataSize = sizeof(CSR_API_MESSAGE) - LPC_MESSAGE_BASE_SIZE;
|
||||||
|
@ -250,7 +250,7 @@ CSR_API(CsrAllocConsole)
|
||||||
/* If we don't need a console, then get out of here */
|
/* If we don't need a console, then get out of here */
|
||||||
if (!Request->Data.AllocConsoleRequest.ConsoleNeeded)
|
if (!Request->Data.AllocConsoleRequest.ConsoleNeeded)
|
||||||
{
|
{
|
||||||
DPRINT1("No console needed\n");
|
DPRINT("No console needed\n");
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -336,7 +336,7 @@ CSR_API(CsrAllocConsole)
|
||||||
|
|
||||||
/* Set the Ctrl Dispatcher */
|
/* Set the Ctrl Dispatcher */
|
||||||
ProcessData->CtrlDispatcher = Request->Data.AllocConsoleRequest.CtrlDispatcher;
|
ProcessData->CtrlDispatcher = Request->Data.AllocConsoleRequest.CtrlDispatcher;
|
||||||
DPRINT1("CSRSS:CtrlDispatcher address: %x\n", ProcessData->CtrlDispatcher);
|
DPRINT("CSRSS:CtrlDispatcher address: %x\n", ProcessData->CtrlDispatcher);
|
||||||
|
|
||||||
/* Insert into the list */
|
/* Insert into the list */
|
||||||
InsertHeadList(&ProcessData->Console->ProcessList, &ProcessData->ProcessEntry);
|
InsertHeadList(&ProcessData->Console->ProcessList, &ProcessData->ProcessEntry);
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
#include <w32k.h>
|
#include <w32k.h>
|
||||||
|
|
||||||
#define DEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
/* registered Logon process */
|
/* registered Logon process */
|
||||||
|
@ -716,6 +716,9 @@ NtUserCallHwndLock(
|
||||||
return Ret;
|
return Ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
HWND
|
HWND
|
||||||
STDCALL
|
STDCALL
|
||||||
NtUserCallHwndOpt(
|
NtUserCallHwndOpt(
|
||||||
|
@ -725,15 +728,23 @@ NtUserCallHwndOpt(
|
||||||
switch (Routine)
|
switch (Routine)
|
||||||
{
|
{
|
||||||
case HWNDOPT_ROUTINE_SETPROGMANWINDOW:
|
case HWNDOPT_ROUTINE_SETPROGMANWINDOW:
|
||||||
/* FIXME */
|
/*
|
||||||
|
* FIXME
|
||||||
|
* Nothing too hard...validate the hWnd and save it in the Desktop Info
|
||||||
|
*/
|
||||||
|
DPRINT1("HWNDOPT_ROUTINE_SETPROGMANWINDOW UNIMPLEMENTED\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case HWNDOPT_ROUTINE_SETTASKMANWINDOW:
|
case HWNDOPT_ROUTINE_SETTASKMANWINDOW:
|
||||||
/* FIXME */
|
/*
|
||||||
|
* FIXME
|
||||||
|
* Nothing too hard...validate the hWnd and save it in the Desktop Info
|
||||||
|
*/
|
||||||
|
DPRINT1("HWNDOPT_ROUTINE_SETTASKMANWINDOW UNIMPLEMENTED\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return Param;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue