2008-07-13 00:24:05 +00:00
|
|
|
/*
|
2001-06-04 14:39:43 +00:00
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS kernel
|
|
|
|
* PURPOSE: Native User stubs
|
|
|
|
* FILE: subsys/win32k/ntuser/stubs.c
|
|
|
|
* PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net)
|
|
|
|
* REVISION HISTORY:
|
|
|
|
* 04-06-2001 CSH Created
|
|
|
|
*/
|
2010-04-26 13:58:46 +00:00
|
|
|
#include <win32k.h>
|
2001-06-04 14:39:43 +00:00
|
|
|
|
|
|
|
#define NDEBUG
|
|
|
|
#include <debug.h>
|
|
|
|
|
2007-09-28 01:49:06 +00:00
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserAssociateInputContext(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
|
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserAttachThreadInput(
|
2008-07-08 05:11:40 +00:00
|
|
|
IN DWORD idAttach,
|
|
|
|
IN DWORD idAttachTo,
|
|
|
|
IN BOOL fAttach)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2009-10-10 04:40:36 +00:00
|
|
|
NTSTATUS Status;
|
|
|
|
PETHREAD Thread, ThreadTo;
|
|
|
|
PTHREADINFO pti, ptiTo;
|
|
|
|
BOOL Ret = FALSE;
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2009-10-10 04:40:36 +00:00
|
|
|
UserEnterExclusive();
|
|
|
|
Status = PsLookupThreadByThreadId((HANDLE)idAttach, &Thread);
|
|
|
|
if (!NT_SUCCESS(Status))
|
|
|
|
{
|
|
|
|
SetLastWin32Error(ERROR_INVALID_PARAMETER);
|
|
|
|
goto Exit;
|
|
|
|
}
|
|
|
|
Status = PsLookupThreadByThreadId((HANDLE)idAttachTo, &ThreadTo);
|
|
|
|
if (!NT_SUCCESS(Status))
|
|
|
|
{
|
|
|
|
SetLastWin32Error(ERROR_INVALID_PARAMETER);
|
|
|
|
ObDereferenceObject(Thread);
|
|
|
|
goto Exit;
|
|
|
|
}
|
|
|
|
|
|
|
|
pti = PsGetThreadWin32Thread(Thread);
|
|
|
|
ptiTo = PsGetThreadWin32Thread(ThreadTo);
|
|
|
|
ObDereferenceObject(Thread);
|
|
|
|
ObDereferenceObject(ThreadTo);
|
|
|
|
|
|
|
|
Ret = UserAttachThreadInput( pti, ptiTo, fAttach);
|
|
|
|
|
|
|
|
Exit:
|
|
|
|
UserLeave();
|
|
|
|
return Ret;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2008-05-29 15:32:05 +00:00
|
|
|
//
|
|
|
|
// Works like BitBlt, http://msdn.microsoft.com/en-us/library/ms532278(VS.85).aspx
|
|
|
|
//
|
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserBitBltSysBmp(
|
2008-05-29 15:32:05 +00:00
|
|
|
HDC hdc,
|
|
|
|
INT nXDest,
|
|
|
|
INT nYDest,
|
|
|
|
INT nWidth,
|
|
|
|
INT nHeight,
|
|
|
|
INT nXSrc,
|
|
|
|
INT nYSrc,
|
|
|
|
DWORD dwRop )
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2008-05-29 15:32:05 +00:00
|
|
|
BOOL Ret = FALSE;
|
|
|
|
UserEnterExclusive();
|
2008-05-30 15:18:51 +00:00
|
|
|
|
2008-05-29 15:32:05 +00:00
|
|
|
Ret = NtGdiBitBlt( hdc,
|
|
|
|
nXDest,
|
|
|
|
nYDest,
|
|
|
|
nWidth,
|
|
|
|
nHeight,
|
|
|
|
hSystemBM,
|
|
|
|
nXSrc,
|
|
|
|
nYSrc,
|
|
|
|
dwRop,
|
|
|
|
0,
|
|
|
|
0);
|
2008-05-30 15:18:51 +00:00
|
|
|
|
2008-05-29 15:32:05 +00:00
|
|
|
UserLeave();
|
|
|
|
return Ret;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2007-09-28 01:49:06 +00:00
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserBuildHimcList(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3,
|
|
|
|
DWORD dwUnknown4)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2001-06-04 14:39:43 +00:00
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserConvertMemHandle(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserCreateLocalMemHandle(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2,
|
|
|
|
DWORD Unknown3)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserDdeGetQualityOfService(
|
2008-07-08 05:11:40 +00:00
|
|
|
IN HWND hwndClient,
|
|
|
|
IN HWND hWndServer,
|
|
|
|
OUT PSECURITY_QUALITY_OF_SERVICE pqosPrev)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserDdeInitialize(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2,
|
|
|
|
DWORD Unknown3,
|
|
|
|
DWORD Unknown4)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserDdeSetQualityOfService(
|
2008-07-08 05:11:40 +00:00
|
|
|
IN HWND hwndClient,
|
|
|
|
IN PSECURITY_QUALITY_OF_SERVICE pqosNew,
|
|
|
|
OUT PSECURITY_QUALITY_OF_SERVICE pqosPrev)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserDragObject(
|
2005-09-07 21:25:42 +00:00
|
|
|
HWND hwnd1,
|
|
|
|
HWND hwnd2,
|
|
|
|
UINT u1,
|
|
|
|
DWORD dw1,
|
|
|
|
HCURSOR hc1
|
|
|
|
)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserDrawAnimatedRects(
|
2008-07-08 05:11:40 +00:00
|
|
|
HWND hwnd,
|
|
|
|
INT idAni,
|
|
|
|
RECT *lprcFrom,
|
|
|
|
RECT *lprcTo)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserEvent(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserExcludeUpdateRgn(
|
2008-07-08 05:11:40 +00:00
|
|
|
HDC hDC,
|
|
|
|
HWND hWnd)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserGetAltTabInfo(
|
2008-07-08 05:11:40 +00:00
|
|
|
HWND hwnd,
|
|
|
|
INT iItem,
|
|
|
|
PALTTABINFO pati,
|
2008-11-25 14:50:53 +00:00
|
|
|
LPWSTR pszItemText,
|
2008-07-08 05:11:40 +00:00
|
|
|
UINT cchItemText,
|
|
|
|
BOOL Ansi)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
HBRUSH
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserGetControlBrush(
|
2008-07-08 05:11:40 +00:00
|
|
|
HWND hwnd,
|
|
|
|
HDC hdc,
|
|
|
|
UINT ctlType)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2008-07-08 05:43:14 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Called from PaintRect, works almost like wine PaintRect16 but returns hBrush.
|
|
|
|
*/
|
|
|
|
HBRUSH
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserGetControlColor(
|
2008-07-08 05:43:14 +00:00
|
|
|
HWND hwndParent,
|
|
|
|
HWND hwnd,
|
|
|
|
HDC hdc,
|
|
|
|
UINT CtlMsg) // Wine PaintRect: WM_CTLCOLORMSGBOX + hbrush
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserGetImeHotKey(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2,
|
|
|
|
DWORD Unknown3)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-12 17:51:51 +00:00
|
|
|
NtUserGetMouseMovePointsEx(
|
2005-12-28 19:54:07 +00:00
|
|
|
UINT cbSize,
|
|
|
|
LPMOUSEMOVEPOINT lppt,
|
|
|
|
LPMOUSEMOVEPOINT lpptBuf,
|
|
|
|
int nBufPoints,
|
|
|
|
DWORD resolution)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2009-05-20 02:20:48 +00:00
|
|
|
UserEnterExclusive();
|
|
|
|
|
|
|
|
if ((cbSize != sizeof(MOUSEMOVEPOINT)) || (nBufPoints < 0) || (nBufPoints > 64))
|
2006-01-01 01:09:08 +00:00
|
|
|
{
|
2009-05-23 13:15:47 +00:00
|
|
|
UserLeave();
|
2009-05-20 02:20:48 +00:00
|
|
|
SetLastWin32Error(ERROR_INVALID_PARAMETER);
|
|
|
|
return -1;
|
2006-01-01 01:09:08 +00:00
|
|
|
}
|
2007-10-19 23:21:45 +00:00
|
|
|
|
2009-05-20 02:20:48 +00:00
|
|
|
_SEH2_TRY
|
2006-01-01 01:09:08 +00:00
|
|
|
{
|
2009-05-20 02:20:48 +00:00
|
|
|
ProbeForRead(lppt, cbSize, 1);
|
|
|
|
ProbeForWrite(lpptBuf, cbSize, 1);
|
2006-01-01 01:09:08 +00:00
|
|
|
}
|
2009-05-20 02:20:48 +00:00
|
|
|
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
2006-01-01 01:09:08 +00:00
|
|
|
{
|
2009-05-20 02:20:48 +00:00
|
|
|
SetLastNtError(_SEH2_GetExceptionCode());
|
|
|
|
SetLastWin32Error(ERROR_NOACCESS);
|
2006-01-01 01:09:08 +00:00
|
|
|
}
|
2009-05-20 02:20:48 +00:00
|
|
|
_SEH2_END;
|
2007-10-19 23:21:45 +00:00
|
|
|
|
2009-05-20 02:20:48 +00:00
|
|
|
/*
|
|
|
|
Call a subfunction of GetMouseMovePointsEx!
|
2006-01-01 01:09:08 +00:00
|
|
|
switch(resolution)
|
|
|
|
{
|
|
|
|
case GMMP_USE_DISPLAY_POINTS:
|
|
|
|
case GMMP_USE_HIGH_RESOLUTION_POINTS:
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
SetLastWin32Error(GMMP_ERR_POINT_NOT_FOUND);
|
|
|
|
return GMMP_ERR_POINT_NOT_FOUND;
|
|
|
|
}
|
2007-10-19 23:21:45 +00:00
|
|
|
*/
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2009-05-20 02:20:48 +00:00
|
|
|
UserLeave();
|
|
|
|
return -1;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserImpersonateDdeClientWindow(
|
2008-07-08 05:11:40 +00:00
|
|
|
HWND hWndClient,
|
|
|
|
HWND hWndServer)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2008-06-08 03:34:25 +00:00
|
|
|
NTSTATUS
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserInitializeClientPfnArrays(
|
2008-06-08 03:34:25 +00:00
|
|
|
PPFNCLIENT pfnClientA,
|
|
|
|
PPFNCLIENT pfnClientW,
|
|
|
|
PPFNCLIENTWORKER pfnClientWorker,
|
|
|
|
HINSTANCE hmodUser)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2009-07-13 03:37:00 +00:00
|
|
|
NTSTATUS Status = STATUS_SUCCESS;
|
|
|
|
DPRINT("Enter NtUserInitializeClientPfnArrays User32 0x%x\n",hmodUser);
|
2009-07-23 01:34:31 +00:00
|
|
|
|
|
|
|
if (ClientPfnInit) return Status;
|
|
|
|
|
2009-07-13 03:37:00 +00:00
|
|
|
UserEnterExclusive();
|
|
|
|
|
|
|
|
_SEH2_TRY
|
|
|
|
{
|
|
|
|
ProbeForRead( pfnClientA, sizeof(PFNCLIENT), 1);
|
|
|
|
ProbeForRead( pfnClientW, sizeof(PFNCLIENT), 1);
|
|
|
|
ProbeForRead( pfnClientWorker, sizeof(PFNCLIENTWORKER), 1);
|
|
|
|
RtlCopyMemory(&gpsi->apfnClientA, pfnClientA, sizeof(PFNCLIENT));
|
|
|
|
RtlCopyMemory(&gpsi->apfnClientW, pfnClientW, sizeof(PFNCLIENT));
|
|
|
|
RtlCopyMemory(&gpsi->apfnClientWorker, pfnClientWorker, sizeof(PFNCLIENTWORKER));
|
|
|
|
|
2009-09-07 04:55:00 +00:00
|
|
|
//// FIXME! HAX! Temporary until server side is finished.
|
|
|
|
//// Copy the client side procs for now.
|
|
|
|
RtlCopyMemory(&gpsi->aStoCidPfn, pfnClientW, sizeof(gpsi->aStoCidPfn));
|
|
|
|
|
2009-07-13 03:37:00 +00:00
|
|
|
hModClient = hmodUser;
|
2009-07-23 01:34:31 +00:00
|
|
|
ClientPfnInit = TRUE;
|
2009-07-13 03:37:00 +00:00
|
|
|
}
|
|
|
|
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
|
|
|
{
|
|
|
|
Status =_SEH2_GetExceptionCode();
|
|
|
|
}
|
|
|
|
_SEH2_END
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2009-07-13 03:37:00 +00:00
|
|
|
if (!NT_SUCCESS(Status))
|
|
|
|
{
|
|
|
|
DPRINT1("Failed reading Client Pfns from user space.\n");
|
|
|
|
SetLastNtError(Status);
|
|
|
|
}
|
|
|
|
|
|
|
|
UserLeave();
|
|
|
|
return Status;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserInitTask(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2,
|
|
|
|
DWORD Unknown3,
|
|
|
|
DWORD Unknown4,
|
|
|
|
DWORD Unknown5,
|
|
|
|
DWORD Unknown6,
|
|
|
|
DWORD Unknown7,
|
|
|
|
DWORD Unknown8,
|
|
|
|
DWORD Unknown9,
|
2008-01-26 12:55:46 +00:00
|
|
|
DWORD Unknown10,
|
|
|
|
DWORD Unknown11)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserLockWorkStation(VOID)
|
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserMNDragLeave(VOID)
|
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserMNDragOver(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserModifyUserStartupInfoFlags(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-12 17:51:51 +00:00
|
|
|
NtUserNotifyIMEStatus(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-12 17:51:51 +00:00
|
|
|
NtUserQueryUserCounters(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2,
|
|
|
|
DWORD Unknown3,
|
|
|
|
DWORD Unknown4)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-12 17:51:51 +00:00
|
|
|
NtUserRegisterTasklist(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2001-06-12 17:51:51 +00:00
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-12 17:51:51 +00:00
|
|
|
NtUserSetConsoleReserveKeys(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-12 17:51:51 +00:00
|
|
|
NtUserSetDbgTag(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-12 17:51:51 +00:00
|
|
|
NtUserSetImeHotKey(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2,
|
|
|
|
DWORD Unknown3,
|
|
|
|
DWORD Unknown4)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-12 17:51:51 +00:00
|
|
|
NtUserSetRipFlags(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2008-06-10 21:57:16 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-12 17:51:51 +00:00
|
|
|
NtUserSetSysColors(
|
2008-06-10 21:57:16 +00:00
|
|
|
int cElements,
|
2008-06-11 04:45:42 +00:00
|
|
|
IN CONST INT *lpaElements,
|
|
|
|
IN CONST COLORREF *lpaRgbValues,
|
2008-06-17 02:42:40 +00:00
|
|
|
FLONG Flags)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2008-06-10 21:57:16 +00:00
|
|
|
DWORD Ret = FALSE;
|
|
|
|
NTSTATUS Status = STATUS_SUCCESS;
|
|
|
|
UserEnterExclusive();
|
2008-11-30 19:28:11 +00:00
|
|
|
_SEH2_TRY
|
2008-06-10 21:57:16 +00:00
|
|
|
{
|
|
|
|
ProbeForRead(lpaElements,
|
|
|
|
sizeof(INT),
|
|
|
|
1);
|
|
|
|
ProbeForRead(lpaRgbValues,
|
|
|
|
sizeof(INT),
|
|
|
|
1);
|
2008-07-03 06:29:30 +00:00
|
|
|
// Developers: We are thread locked and calling gdi.
|
2008-06-11 04:45:42 +00:00
|
|
|
Ret = IntSetSysColors(cElements, (INT*)lpaElements, (COLORREF*)lpaRgbValues);
|
2008-06-10 21:57:16 +00:00
|
|
|
}
|
2008-11-30 19:28:11 +00:00
|
|
|
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
2008-06-10 21:57:16 +00:00
|
|
|
{
|
2008-11-30 19:28:11 +00:00
|
|
|
Status = _SEH2_GetExceptionCode();
|
2008-06-10 21:57:16 +00:00
|
|
|
}
|
2008-11-30 19:28:11 +00:00
|
|
|
_SEH2_END;
|
2008-06-10 21:57:16 +00:00
|
|
|
if (!NT_SUCCESS(Status))
|
|
|
|
{
|
|
|
|
SetLastNtError(Status);
|
|
|
|
Ret = FALSE;
|
|
|
|
}
|
2008-07-03 06:29:30 +00:00
|
|
|
if (Ret)
|
|
|
|
{
|
|
|
|
UserPostMessage(HWND_BROADCAST, WM_SYSCOLORCHANGE, 0, 0);
|
|
|
|
}
|
2008-06-10 21:57:16 +00:00
|
|
|
UserLeave();
|
|
|
|
return Ret;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-12 17:51:51 +00:00
|
|
|
NtUserSetThreadState(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserTrackMouseEvent(
|
2008-07-08 05:11:40 +00:00
|
|
|
LPTRACKMOUSEEVENT lpEventTrack)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2007-02-11 13:05:50 +00:00
|
|
|
|
2001-06-04 14:39:43 +00:00
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserUpdateInputContext(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserUpdateInstance(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserUserHandleGrantAccess(
|
2008-07-08 05:11:40 +00:00
|
|
|
IN HANDLE hUserHandle,
|
|
|
|
IN HANDLE hJob,
|
|
|
|
IN BOOL bGrant)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserWaitForMsgAndEvent(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserWin32PoolAllocationStats(
|
2005-09-07 21:25:42 +00:00
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2,
|
|
|
|
DWORD Unknown3,
|
|
|
|
DWORD Unknown4,
|
|
|
|
DWORD Unknown5)
|
2001-06-04 14:39:43 +00:00
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2001-06-04 14:39:43 +00:00
|
|
|
NtUserYieldTask(VOID)
|
|
|
|
{
|
2005-09-07 21:25:42 +00:00
|
|
|
UNIMPLEMENTED
|
2001-06-04 14:39:43 +00:00
|
|
|
|
2005-09-07 21:25:42 +00:00
|
|
|
return 0;
|
2001-06-04 14:39:43 +00:00
|
|
|
}
|
|
|
|
|
2007-09-28 01:49:06 +00:00
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserCheckImeHotKey(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserConsoleControl(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserCreateInputContext(
|
|
|
|
DWORD dwUnknown1)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserDestroyInputContext(
|
|
|
|
DWORD dwUnknown1)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserDisableThreadIme(
|
|
|
|
DWORD dwUnknown1)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserGetAppImeLevel(
|
|
|
|
DWORD dwUnknown1)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserGetAtomName(
|
2008-07-08 07:38:28 +00:00
|
|
|
ATOM nAtom,
|
|
|
|
LPWSTR lpBuffer)
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserGetImeInfoEx(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserGetRawInputBuffer(
|
2008-07-08 05:11:40 +00:00
|
|
|
PRAWINPUT pData,
|
|
|
|
PUINT pcbSize,
|
|
|
|
UINT cbSizeHeader)
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserGetRawInputData(
|
2008-07-08 05:11:40 +00:00
|
|
|
HRAWINPUT hRawInput,
|
|
|
|
UINT uiCommand,
|
|
|
|
LPVOID pData,
|
|
|
|
PUINT pcbSize,
|
|
|
|
UINT cbSizeHeader)
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserGetRawInputDeviceInfo(
|
2008-07-08 05:11:40 +00:00
|
|
|
HANDLE hDevice,
|
|
|
|
UINT uiCommand,
|
|
|
|
LPVOID pData,
|
|
|
|
PUINT pcbSize
|
|
|
|
)
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserGetRawInputDeviceList(
|
2008-07-08 05:11:40 +00:00
|
|
|
PRAWINPUTDEVICELIST pRawInputDeviceList,
|
|
|
|
PUINT puiNumDevices,
|
|
|
|
UINT cbSize)
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserGetRegisteredRawInputDevices(
|
2008-07-08 05:11:40 +00:00
|
|
|
PRAWINPUTDEVICE pRawInputDevices,
|
|
|
|
PUINT puiNumDevices,
|
|
|
|
UINT cbSize)
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserHardErrorControl(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserMinMaximize(
|
2008-07-08 07:38:28 +00:00
|
|
|
HWND hWnd,
|
|
|
|
UINT cmd, // Wine SW_ commands
|
|
|
|
BOOL Hide)
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserNotifyProcessCreate(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3,
|
|
|
|
DWORD dwUnknown4)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2008-10-20 23:42:53 +00:00
|
|
|
NTSTATUS
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserProcessConnect(
|
2008-10-20 23:42:53 +00:00
|
|
|
HANDLE Process,
|
|
|
|
PUSERCONNECT pUserConnect,
|
|
|
|
DWORD Size)
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
2009-03-31 22:02:29 +00:00
|
|
|
NTSTATUS Status = STATUS_SUCCESS;
|
|
|
|
DPRINT("NtUserProcessConnect\n");
|
|
|
|
if (pUserConnect && ( Size == sizeof(USERCONNECT) ))
|
|
|
|
{
|
2009-07-31 18:21:24 +00:00
|
|
|
PPROCESSINFO W32Process;
|
2009-03-31 22:02:29 +00:00
|
|
|
UserEnterShared();
|
|
|
|
GetW32ThreadInfo();
|
2009-07-31 18:21:24 +00:00
|
|
|
W32Process = PsGetCurrentProcessWin32Process();
|
2009-03-31 22:02:29 +00:00
|
|
|
_SEH2_TRY
|
|
|
|
{
|
|
|
|
pUserConnect->siClient.psi = gpsi;
|
2009-05-23 00:57:51 +00:00
|
|
|
pUserConnect->siClient.aheList = gHandleTable;
|
|
|
|
pUserConnect->siClient.ulSharedDelta = (ULONG_PTR)W32Process->HeapMappings.KernelMapping -
|
|
|
|
(ULONG_PTR)W32Process->HeapMappings.UserMapping;
|
2009-03-31 22:02:29 +00:00
|
|
|
}
|
|
|
|
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
|
|
|
{
|
|
|
|
Status = _SEH2_GetExceptionCode();
|
|
|
|
}
|
|
|
|
_SEH2_END
|
|
|
|
if (!NT_SUCCESS(Status))
|
|
|
|
{
|
|
|
|
SetLastNtError(Status);
|
|
|
|
}
|
|
|
|
UserLeave();
|
|
|
|
return Status;
|
|
|
|
}
|
|
|
|
return STATUS_UNSUCCESSFUL;
|
2007-09-28 01:49:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserQueryInformationThread(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3,
|
|
|
|
DWORD dwUnknown4,
|
|
|
|
DWORD dwUnknown5)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserQueryInputContext(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserRealInternalGetMessage(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3,
|
|
|
|
DWORD dwUnknown4,
|
|
|
|
DWORD dwUnknown5,
|
|
|
|
DWORD dwUnknown6)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserRealWaitMessageEx(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2009-09-15 15:24:09 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserRegisterUserApiHook(
|
2009-09-15 15:24:09 +00:00
|
|
|
PUNICODE_STRING m_dllname1,
|
|
|
|
PUNICODE_STRING m_funname1,
|
|
|
|
DWORD dwUnknown3,
|
|
|
|
DWORD dwUnknown4)
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
2009-09-15 15:24:09 +00:00
|
|
|
UserEnterExclusive();
|
2007-09-28 01:49:06 +00:00
|
|
|
UNIMPLEMENTED;
|
2009-09-15 15:24:09 +00:00
|
|
|
UserLeave();
|
2007-09-28 01:49:06 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserRegisterRawInputDevices(
|
2008-07-08 05:11:40 +00:00
|
|
|
IN PCRAWINPUTDEVICE pRawInputDevices,
|
|
|
|
IN UINT uiNumDevices,
|
|
|
|
IN UINT cbSize)
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserResolveDesktop(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3,
|
|
|
|
DWORD dwUnknown4)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserSetAppImeLevel(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserSetImeInfoEx(
|
|
|
|
DWORD dwUnknown1)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserSetInformationProcess(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3,
|
|
|
|
DWORD dwUnknown4)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2010-03-09 09:26:46 +00:00
|
|
|
NTSTATUS
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2010-03-09 09:26:46 +00:00
|
|
|
NtUserSetInformationThread(IN HANDLE ThreadHandle,
|
|
|
|
IN USERTHREADINFOCLASS ThreadInformationClass,
|
|
|
|
IN PVOID ThreadInformation,
|
|
|
|
IN ULONG ThreadInformationLength)
|
|
|
|
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
2010-03-09 09:26:46 +00:00
|
|
|
if (ThreadInformationClass == UserThreadInitiateShutdown)
|
|
|
|
{
|
|
|
|
DPRINT1("Shutdown initiated\n");
|
|
|
|
}
|
|
|
|
else if (ThreadInformationClass == UserThreadEndShutdown)
|
|
|
|
{
|
|
|
|
DPRINT1("Shutdown ended\n");
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
return STATUS_SUCCESS;
|
2007-09-28 01:49:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserSetThreadLayoutHandles(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserSoundSentry(VOID)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserTestForInteractiveUser(
|
|
|
|
DWORD dwUnknown1)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* http://www.cyber-ta.org/releases/malware-analysis/public/SOURCES/b47155634ccb2c30630da7e3666d3d07/b47155634ccb2c30630da7e3666d3d07.trace.html#NtUserGetIconSize */
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserCalcMenuBar(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3,
|
|
|
|
DWORD dwUnknown4,
|
|
|
|
DWORD dwUnknown5)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserPaintMenuBar(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3,
|
|
|
|
DWORD dwUnknown4,
|
|
|
|
DWORD dwUnknown5,
|
|
|
|
DWORD dwUnknown6)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2009-09-15 15:24:09 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserUnregisterUserApiHook(VOID)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2008-07-08 05:11:40 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserGetLayeredWindowAttributes(
|
2008-07-08 05:11:40 +00:00
|
|
|
HWND hwnd,
|
|
|
|
COLORREF *pcrKey,
|
|
|
|
BYTE *pbAlpha,
|
|
|
|
DWORD *pdwFlags)
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2009-01-13 12:16:06 +00:00
|
|
|
BOOL
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserValidateTimerCallback(
|
2009-01-13 12:16:06 +00:00
|
|
|
HWND hWnd,
|
|
|
|
WPARAM wParam,
|
|
|
|
LPARAM lParam)
|
2007-09-28 01:49:06 +00:00
|
|
|
{
|
2009-01-13 12:16:06 +00:00
|
|
|
BOOL Ret = FALSE;
|
|
|
|
|
|
|
|
UserEnterShared();
|
|
|
|
|
2010-10-03 19:18:19 +00:00
|
|
|
Ret = ValidateTimerCallback(PsGetCurrentThreadWin32Thread(), lParam);
|
2009-01-13 12:16:06 +00:00
|
|
|
|
|
|
|
UserLeave();
|
|
|
|
return Ret;
|
2007-09-28 01:49:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserRemoteConnect(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserRemoteRedrawRectangle(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3,
|
|
|
|
DWORD dwUnknown4)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserRemoteRedrawScreen(VOID)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserRemoteStopScreenUpdates(VOID)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD
|
2008-11-29 22:48:58 +00:00
|
|
|
APIENTRY
|
2007-09-28 01:49:06 +00:00
|
|
|
NtUserCtxDisplayIOCtl(
|
|
|
|
DWORD dwUnknown1,
|
|
|
|
DWORD dwUnknown2,
|
|
|
|
DWORD dwUnknown3)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2010-11-24 14:52:23 +00:00
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
DWORD
|
|
|
|
APIENTRY
|
|
|
|
NtUserDrawMenuBarTemp(
|
|
|
|
HWND hWnd,
|
|
|
|
HDC hDC,
|
|
|
|
PRECT hRect,
|
|
|
|
HMENU hMenu,
|
|
|
|
HFONT hFont)
|
|
|
|
{
|
|
|
|
/* we'll use this function just for caching the menu bar */
|
|
|
|
UNIMPLEMENTED
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
DWORD APIENTRY
|
|
|
|
NtUserEndDeferWindowPosEx(DWORD Unknown0,
|
|
|
|
DWORD Unknown1)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* FillWindow: Called from User; Dialog, Edit and ListBox procs during a WM_ERASEBKGND.
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
BOOL APIENTRY
|
|
|
|
NtUserFillWindow(HWND hWndPaint,
|
|
|
|
HWND hWndPaint1,
|
|
|
|
HDC hDC,
|
|
|
|
HBRUSH hBrush)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
BOOL APIENTRY
|
|
|
|
NtUserFlashWindowEx(IN PFLASHWINFO pfwi)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
BOOL APIENTRY
|
|
|
|
NtUserLockWindowUpdate(HWND hWnd)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
DWORD APIENTRY
|
|
|
|
NtUserRealChildWindowFromPoint(DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
DWORD APIENTRY
|
|
|
|
NtUserSetImeOwnerWindow(DWORD Unknown0,
|
|
|
|
DWORD Unknown1)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
DWORD APIENTRY
|
|
|
|
NtUserSetInternalWindowPos(
|
|
|
|
HWND hwnd,
|
|
|
|
UINT showCmd,
|
|
|
|
LPRECT rect,
|
|
|
|
LPPOINT pt)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
BOOL APIENTRY
|
|
|
|
NtUserSetLayeredWindowAttributes(HWND hwnd,
|
|
|
|
COLORREF crKey,
|
|
|
|
BYTE bAlpha,
|
|
|
|
DWORD dwFlags)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
BOOL APIENTRY
|
|
|
|
NtUserSetLogonNotifyWindow(HWND hWnd)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
BOOL
|
|
|
|
APIENTRY
|
|
|
|
NtUserUpdateLayeredWindow(
|
|
|
|
HWND hwnd,
|
|
|
|
HDC hdcDst,
|
|
|
|
POINT *pptDst,
|
|
|
|
SIZE *psize,
|
|
|
|
HDC hdcSrc,
|
|
|
|
POINT *pptSrc,
|
|
|
|
COLORREF crKey,
|
|
|
|
BLENDFUNCTION *pblend,
|
|
|
|
DWORD dwFlags,
|
|
|
|
RECT *prcDirty)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
HWND APIENTRY
|
|
|
|
NtUserWindowFromPhysicalPoint(POINT Point)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
HDWP APIENTRY
|
|
|
|
NtUserDeferWindowPos(HDWP WinPosInfo,
|
|
|
|
HWND Wnd,
|
|
|
|
HWND WndInsertAfter,
|
|
|
|
int x,
|
|
|
|
int y,
|
|
|
|
int cx,
|
|
|
|
int cy,
|
|
|
|
UINT Flags)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* NtUserResolveDesktopForWOW
|
|
|
|
*
|
|
|
|
* Status
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
|
|
|
|
DWORD APIENTRY
|
|
|
|
NtUserResolveDesktopForWOW(DWORD Unknown0)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL
|
|
|
|
APIENTRY
|
|
|
|
NtUserDragDetect(
|
|
|
|
HWND hWnd,
|
|
|
|
POINT pt) // Just like the User call.
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
BOOL APIENTRY
|
|
|
|
NtUserEndMenu(VOID)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @implemented
|
|
|
|
*/
|
|
|
|
/* NOTE: unused function */
|
|
|
|
BOOL APIENTRY
|
|
|
|
NtUserTrackPopupMenuEx(
|
|
|
|
HMENU hMenu,
|
|
|
|
UINT fuFlags,
|
|
|
|
int x,
|
|
|
|
int y,
|
|
|
|
HWND hWnd,
|
|
|
|
LPTPMPARAMS lptpm)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
DWORD APIENTRY
|
|
|
|
NtUserQuerySendMessage(DWORD Unknown0)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
DWORD APIENTRY
|
|
|
|
NtUserAlterWindowStyle(DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* NtUserSetWindowStationUser
|
|
|
|
*
|
|
|
|
* Status
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
|
|
|
|
DWORD APIENTRY
|
|
|
|
NtUserSetWindowStationUser(
|
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2,
|
|
|
|
DWORD Unknown3)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL APIENTRY NtUserAddClipboardFormatListener(
|
|
|
|
HWND hwnd
|
|
|
|
)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL APIENTRY NtUserRemoveClipboardFormatListener(
|
|
|
|
HWND hwnd
|
|
|
|
)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL APIENTRY NtUserGetUpdatedClipboardFormats(
|
|
|
|
PUINT lpuiFormats,
|
|
|
|
UINT cFormats,
|
|
|
|
PUINT pcFormatsOut
|
|
|
|
)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
DWORD
|
|
|
|
APIENTRY
|
|
|
|
NtUserGetCursorFrameInfo(
|
|
|
|
DWORD Unknown0,
|
|
|
|
DWORD Unknown1,
|
|
|
|
DWORD Unknown2,
|
|
|
|
DWORD Unknown3)
|
|
|
|
{
|
|
|
|
UNIMPLEMENTED
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
BOOL
|
|
|
|
APIENTRY
|
|
|
|
NtUserSetSystemCursor(
|
|
|
|
HCURSOR hcur,
|
|
|
|
DWORD id)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
2007-09-28 01:49:06 +00:00
|
|
|
|
2001-06-04 14:39:43 +00:00
|
|
|
/* EOF */
|