ReactOS  0.4.15-dev-449-g64abd9f
ntstubs.c File Reference
#include <win32k.h>
Include dependency graph for ntstubs.c:

Go to the source code of this file.

Functions

 DBG_DEFAULT_CHANNEL (UserMisc)
 
DWORD APIENTRY NtUserAssociateInputContext (DWORD dwUnknown1, DWORD dwUnknown2, DWORD dwUnknown3)
 
BOOL APIENTRY NtUserBitBltSysBmp (HDC hdc, INT nXDest, INT nYDest, INT nWidth, INT nHeight, INT nXSrc, INT nYSrc, DWORD dwRop)
 
DWORD APIENTRY NtUserBuildHimcList (DWORD dwUnknown1, DWORD dwUnknown2, DWORD dwUnknown3, DWORD dwUnknown4)
 
DWORD APIENTRY NtUserDragObject (HWND hwnd1, HWND hwnd2, UINT u1, DWORD dw1, HCURSOR hc1)
 
BOOL APIENTRY NtUserDrawAnimatedRects (HWND hwnd, INT idAni, RECT *lprcFrom, RECT *lprcTo)
 
DWORD APIENTRY NtUserEvent (DWORD Unknown0)
 
BOOL APIENTRY NtUserGetAltTabInfo (HWND hwnd, INT iItem, PALTTABINFO pati, LPWSTR pszItemText, UINT cchItemText, BOOL Ansi)
 
NTSTATUS APIENTRY NtUserInitializeClientPfnArrays (PPFNCLIENT pfnClientA, PPFNCLIENT pfnClientW, PPFNCLIENTWORKER pfnClientWorker, HINSTANCE hmodUser)
 
DWORD APIENTRY NtUserInitTask (DWORD Unknown0, DWORD Unknown1, DWORD Unknown2, DWORD Unknown3, DWORD Unknown4, DWORD Unknown5, DWORD Unknown6, DWORD Unknown7, DWORD Unknown8, DWORD Unknown9, DWORD Unknown10, DWORD Unknown11)
 
DWORD APIENTRY NtUserMNDragLeave (VOID)
 
DWORD APIENTRY NtUserMNDragOver (DWORD Unknown0, DWORD Unknown1)
 
DWORD APIENTRY NtUserModifyUserStartupInfoFlags (DWORD Unknown0, DWORD Unknown1)
 
DWORD APIENTRY NtUserQueryUserCounters (DWORD Unknown0, DWORD Unknown1, DWORD Unknown2, DWORD Unknown3, DWORD Unknown4)
 
DWORD APIENTRY NtUserRegisterTasklist (DWORD Unknown0)
 
DWORD APIENTRY NtUserSetConsoleReserveKeys (DWORD Unknown0, DWORD Unknown1)
 
DWORD APIENTRY NtUserSetDbgTag (DWORD Unknown0, DWORD Unknown1)
 
DWORD APIENTRY NtUserSetDbgTagCount (DWORD Unknown0)
 
DWORD APIENTRY NtUserSetRipFlags (DWORD Unknown0)
 
DWORD APIENTRY NtUserDbgWin32HeapFail (DWORD Unknown0, DWORD Unknown1)
 
DWORD APIENTRY NtUserDbgWin32HeapStat (DWORD Unknown0, DWORD Unknown1)
 
BOOL APIENTRY NtUserSetSysColors (int cElements, IN CONST INT *lpaElements, IN CONST COLORREF *lpaRgbValues, FLONG Flags)
 
DWORD APIENTRY NtUserUpdateInputContext (DWORD Unknown0, DWORD Unknown1, DWORD Unknown2)
 
DWORD APIENTRY NtUserUpdateInstance (DWORD Unknown0, DWORD Unknown1, DWORD Unknown2)
 
BOOL APIENTRY NtUserUserHandleGrantAccess (IN HANDLE hUserHandle, IN HANDLE hJob, IN BOOL bGrant)
 
DWORD APIENTRY NtUserWaitForMsgAndEvent (DWORD Unknown0)
 
DWORD APIENTRY NtUserWin32PoolAllocationStats (DWORD Unknown0, DWORD Unknown1, DWORD Unknown2, DWORD Unknown3, DWORD Unknown4, DWORD Unknown5)
 
DWORD APIENTRY NtUserYieldTask (VOID)
 
DWORD APIENTRY NtUserCreateInputContext (DWORD dwUnknown1)
 
DWORD APIENTRY NtUserDestroyInputContext (DWORD dwUnknown1)
 
DWORD APIENTRY NtUserGetRawInputBuffer (PRAWINPUT pData, PUINT pcbSize, UINT cbSizeHeader)
 
DWORD APIENTRY NtUserGetRawInputData (HRAWINPUT hRawInput, UINT uiCommand, LPVOID pData, PUINT pcbSize, UINT cbSizeHeader)
 
DWORD APIENTRY NtUserGetRawInputDeviceInfo (HANDLE hDevice, UINT uiCommand, LPVOID pData, PUINT pcbSize)
 
DWORD APIENTRY NtUserGetRawInputDeviceList (PRAWINPUTDEVICELIST pRawInputDeviceList, PUINT puiNumDevices, UINT cbSize)
 
DWORD APIENTRY NtUserGetRegisteredRawInputDevices (PRAWINPUTDEVICE pRawInputDevices, PUINT puiNumDevices, UINT cbSize)
 
DWORD APIENTRY NtUserHardErrorControl (DWORD dwUnknown1, DWORD dwUnknown2, DWORD dwUnknown3)
 
BOOL NTAPI NtUserNotifyProcessCreate (HANDLE NewProcessId, HANDLE ParentThreadId, ULONG dwUnknown, ULONG CreateFlags)
 
NTSTATUS APIENTRY NtUserProcessConnect (IN HANDLE ProcessHandle, OUT PUSERCONNECT pUserConnect, IN ULONG Size)
 
NTSTATUS APIENTRY NtUserQueryInformationThread (IN HANDLE ThreadHandle, IN USERTHREADINFOCLASS ThreadInformationClass, OUT PVOID ThreadInformation, IN ULONG ThreadInformationLength)
 
DWORD APIENTRY NtUserQueryInputContext (DWORD dwUnknown1, DWORD dwUnknown2)
 
BOOL APIENTRY NtUserRealInternalGetMessage (LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax, UINT wRemoveMsg, BOOL bGMSG)
 
BOOL APIENTRY NtUserRealWaitMessageEx (DWORD dwWakeMask, UINT uTimeout)
 
BOOL APIENTRY NtUserRegisterRawInputDevices (IN PCRAWINPUTDEVICE pRawInputDevices, IN UINT uiNumDevices, IN UINT cbSize)
 
DWORD APIENTRY NtUserResolveDesktopForWOW (DWORD Unknown0)
 
DWORD APIENTRY NtUserSetInformationProcess (DWORD dwUnknown1, DWORD dwUnknown2, DWORD dwUnknown3, DWORD dwUnknown4)
 
HDESK FASTCALL IntGetDesktopObjectHandle (PDESKTOP DesktopObject)
 
NTSTATUS APIENTRY NtUserSetInformationThread (IN HANDLE ThreadHandle, IN USERTHREADINFOCLASS ThreadInformationClass, IN PVOID ThreadInformation, IN ULONG ThreadInformationLength)
 
DWORD APIENTRY NtUserSetThreadLayoutHandles (DWORD dwUnknown1, DWORD dwUnknown2)
 
BOOL APIENTRY NtUserSoundSentry (VOID)
 
DWORD APIENTRY NtUserTestForInteractiveUser (DWORD dwUnknown1)
 
DWORD APIENTRY NtUserRemoteConnect (DWORD dwUnknown1, DWORD dwUnknown2, DWORD dwUnknown3)
 
DWORD APIENTRY NtUserRemoteRedrawRectangle (DWORD dwUnknown1, DWORD dwUnknown2, DWORD dwUnknown3, DWORD dwUnknown4)
 
DWORD APIENTRY NtUserRemoteRedrawScreen (VOID)
 
DWORD APIENTRY NtUserRemoteStopScreenUpdates (VOID)
 
DWORD APIENTRY NtUserCtxDisplayIOCtl (DWORD dwUnknown1, DWORD dwUnknown2, DWORD dwUnknown3)
 
BOOL APIENTRY NtUserLockWindowUpdate (HWND hWnd)
 
DWORD APIENTRY NtUserQuerySendMessage (DWORD Unknown0)
 
BOOL APIENTRY NtUserAddClipboardFormatListener (HWND hwnd)
 
BOOL APIENTRY NtUserRemoveClipboardFormatListener (HWND hwnd)
 
BOOL APIENTRY NtUserGetUpdatedClipboardFormats (PUINT lpuiFormats, UINT cFormats, PUINT pcFormatsOut)
 
BOOL APIENTRY NtGdiMakeObjectXferable (_In_ HANDLE hHandle, _In_ DWORD dwProcessId)
 
DWORD APIENTRY NtDxEngGetRedirectionBitmap (DWORD Unknown0)
 

Function Documentation

◆ DBG_DEFAULT_CHANNEL()

DBG_DEFAULT_CHANNEL ( UserMisc  )

◆ IntGetDesktopObjectHandle()

HDESK FASTCALL IntGetDesktopObjectHandle ( PDESKTOP  DesktopObject)

Definition at line 1235 of file desktop.c.

1236 {
1237  NTSTATUS Status;
1238  HDESK hDesk;
1239 
1240  ASSERT(DesktopObject);
1241 
1243  DesktopObject,
1245  NULL,
1246  (PHANDLE)&hDesk))
1247  {
1248  Status = ObOpenObjectByPointer(DesktopObject,
1249  0,
1250  NULL,
1251  0,
1253  UserMode,
1254  (PHANDLE)&hDesk);
1255  if (!NT_SUCCESS(Status))
1256  {
1257  /* Unable to create a handle */
1258  ERR("Unable to create a desktop handle\n");
1259  return NULL;
1260  }
1261  }
1262  else
1263  {
1264  TRACE("Got handle: 0x%p\n", hDesk);
1265  }
1266 
1267  return hDesk;
1268 }
BOOLEAN NTAPI ObFindHandleForObject(IN PEPROCESS Process, IN PVOID Object, IN POBJECT_TYPE ObjectType, IN POBJECT_HANDLE_INFORMATION HandleInformation, OUT PHANDLE Handle)
Definition: obhandle.c:2853
LONG NTSTATUS
Definition: precomp.h:26
POBJECT_TYPE ExDesktopObjectType
Definition: win32k.c:26
NTSTATUS NTAPI ObOpenObjectByPointer(IN PVOID Object, IN ULONG HandleAttributes, IN PACCESS_STATE PassedAccessState, IN ACCESS_MASK DesiredAccess, IN POBJECT_TYPE ObjectType, IN KPROCESSOR_MODE AccessMode, OUT PHANDLE Handle)
Definition: obhandle.c:2739
#define PsGetCurrentProcess
Definition: psfuncs.h:17
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:454
Status
Definition: gdiplustypes.h:24
#define ERR(fmt,...)
Definition: debug.h:110

Referenced by NtUserGetThreadDesktop(), and NtUserSetInformationThread().

◆ NtDxEngGetRedirectionBitmap()

DWORD APIENTRY NtDxEngGetRedirectionBitmap ( DWORD  Unknown0)

Definition at line 1001 of file ntstubs.c.

1003 {
1004  STUB;
1005  return 0;
1006 }
#define STUB
Definition: kernel32.h:27

◆ NtGdiMakeObjectXferable()

BOOL APIENTRY NtGdiMakeObjectXferable ( _In_ HANDLE  hHandle,
_In_ DWORD  dwProcessId 
)

Definition at line 991 of file ntstubs.c.

994 {
995  STUB;
996  return 0;
997 }
#define STUB
Definition: kernel32.h:27

◆ NtUserAddClipboardFormatListener()

BOOL APIENTRY NtUserAddClipboardFormatListener ( HWND  hwnd)

Definition at line 962 of file ntstubs.c.

965 {
966  STUB;
967  return FALSE;
968 }
#define STUB
Definition: kernel32.h:27

◆ NtUserAssociateInputContext()

DWORD APIENTRY NtUserAssociateInputContext ( DWORD  dwUnknown1,
DWORD  dwUnknown2,
DWORD  dwUnknown3 
)

Definition at line 14 of file ntstubs.c.

18 {
19  STUB
20  return 0;
21 }
#define STUB
Definition: kernel32.h:27

◆ NtUserBitBltSysBmp()

BOOL APIENTRY NtUserBitBltSysBmp ( HDC  hdc,
INT  nXDest,
INT  nYDest,
INT  nWidth,
INT  nHeight,
INT  nXSrc,
INT  nYSrc,
DWORD  dwRop 
)

Definition at line 28 of file ntstubs.c.

37 {
38  BOOL Ret = FALSE;
40 
41  Ret = NtGdiBitBlt( hdc,
42  nXDest,
43  nYDest,
44  nWidth,
45  nHeight,
46  hSystemBM,
47  nXSrc,
48  nYSrc,
49  dwRop,
50  0,
51  0);
52 
53  UserLeave();
54  return Ret;
55 }
unsigned int BOOL
Definition: ntddk_ex.h:94
__kernel_entry W32KAPI BOOL APIENTRY NtGdiBitBlt(_In_ HDC hdcDst, _In_ INT x, _In_ INT y, _In_ INT cx, _In_ INT cy, _In_opt_ HDC hdcSrc, _In_ INT xSrc, _In_ INT ySrc, _In_ DWORD rop4, _In_ DWORD crBackColor, _In_ FLONG fl)
VOID FASTCALL UserEnterExclusive(VOID)
Definition: ntuser.c:247
HDC hSystemBM
Definition: stockobj.c:52
HDC hdc
Definition: main.c:9
VOID FASTCALL UserLeave(VOID)
Definition: ntuser.c:255

◆ NtUserBuildHimcList()

DWORD APIENTRY NtUserBuildHimcList ( DWORD  dwUnknown1,
DWORD  dwUnknown2,
DWORD  dwUnknown3,
DWORD  dwUnknown4 
)

Definition at line 59 of file ntstubs.c.

64 {
65  STUB;
66  return 0;
67 }
#define STUB
Definition: kernel32.h:27

◆ NtUserCreateInputContext()

DWORD APIENTRY NtUserCreateInputContext ( DWORD  dwUnknown1)

Definition at line 428 of file ntstubs.c.

430 {
431  STUB;
432  return 0;
433 }
#define STUB
Definition: kernel32.h:27

◆ NtUserCtxDisplayIOCtl()

DWORD APIENTRY NtUserCtxDisplayIOCtl ( DWORD  dwUnknown1,
DWORD  dwUnknown2,
DWORD  dwUnknown3 
)

Definition at line 935 of file ntstubs.c.

939 {
940  STUB;
941  return 0;
942 }
#define STUB
Definition: kernel32.h:27

◆ NtUserDbgWin32HeapFail()

DWORD APIENTRY NtUserDbgWin32HeapFail ( DWORD  Unknown0,
DWORD  Unknown1 
)

Definition at line 289 of file ntstubs.c.

292 {
293  STUB
294 
295  return 0;
296 }
#define STUB
Definition: kernel32.h:27

◆ NtUserDbgWin32HeapStat()

DWORD APIENTRY NtUserDbgWin32HeapStat ( DWORD  Unknown0,
DWORD  Unknown1 
)

Definition at line 300 of file ntstubs.c.

303 {
304  STUB
305 
306  return 0;
307 }
#define STUB
Definition: kernel32.h:27

◆ NtUserDestroyInputContext()

DWORD APIENTRY NtUserDestroyInputContext ( DWORD  dwUnknown1)

Definition at line 437 of file ntstubs.c.

439 {
440  STUB;
441  return 0;
442 }
#define STUB
Definition: kernel32.h:27

◆ NtUserDragObject()

DWORD APIENTRY NtUserDragObject ( HWND  hwnd1,
HWND  hwnd2,
UINT  u1,
DWORD  dw1,
HCURSOR  hc1 
)

Definition at line 71 of file ntstubs.c.

78 {
79  STUB
80 
81  return 0;
82 }
#define STUB
Definition: kernel32.h:27

Referenced by DragObject().

◆ NtUserDrawAnimatedRects()

BOOL APIENTRY NtUserDrawAnimatedRects ( HWND  hwnd,
INT  idAni,
RECT lprcFrom,
RECT lprcTo 
)

Definition at line 86 of file ntstubs.c.

91 {
92  STUB
93 
94  return 0;
95 }
#define STUB
Definition: kernel32.h:27

Referenced by DrawAnimatedRects().

◆ NtUserEvent()

DWORD APIENTRY NtUserEvent ( DWORD  Unknown0)

Definition at line 99 of file ntstubs.c.

101 {
102  STUB
103 
104  return 0;
105 }
#define STUB
Definition: kernel32.h:27

◆ NtUserGetAltTabInfo()

BOOL APIENTRY NtUserGetAltTabInfo ( HWND  hwnd,
INT  iItem,
PALTTABINFO  pati,
LPWSTR  pszItemText,
UINT  cchItemText,
BOOL  Ansi 
)

Definition at line 109 of file ntstubs.c.

116 {
117  STUB
118 
119  return 0;
120 }
#define STUB
Definition: kernel32.h:27

Referenced by GetAltTabInfoA(), and GetAltTabInfoW().

◆ NtUserGetRawInputBuffer()

DWORD APIENTRY NtUserGetRawInputBuffer ( PRAWINPUT  pData,
PUINT  pcbSize,
UINT  cbSizeHeader 
)

Definition at line 446 of file ntstubs.c.

450 {
451  STUB;
452  return 0;
453 }
#define STUB
Definition: kernel32.h:27

◆ NtUserGetRawInputData()

DWORD APIENTRY NtUserGetRawInputData ( HRAWINPUT  hRawInput,
UINT  uiCommand,
LPVOID  pData,
PUINT  pcbSize,
UINT  cbSizeHeader 
)

Definition at line 457 of file ntstubs.c.

463 {
464  STUB;
465  return 0;
466 }
#define STUB
Definition: kernel32.h:27

◆ NtUserGetRawInputDeviceInfo()

DWORD APIENTRY NtUserGetRawInputDeviceInfo ( HANDLE  hDevice,
UINT  uiCommand,
LPVOID  pData,
PUINT  pcbSize 
)

Definition at line 470 of file ntstubs.c.

476 {
477  STUB;
478  return 0;
479 }
#define STUB
Definition: kernel32.h:27

◆ NtUserGetRawInputDeviceList()

DWORD APIENTRY NtUserGetRawInputDeviceList ( PRAWINPUTDEVICELIST  pRawInputDeviceList,
PUINT  puiNumDevices,
UINT  cbSize 
)

Definition at line 483 of file ntstubs.c.

487 {
488  STUB;
489  return 0;
490 }
#define STUB
Definition: kernel32.h:27

◆ NtUserGetRegisteredRawInputDevices()

DWORD APIENTRY NtUserGetRegisteredRawInputDevices ( PRAWINPUTDEVICE  pRawInputDevices,
PUINT  puiNumDevices,
UINT  cbSize 
)

Definition at line 494 of file ntstubs.c.

498 {
499  STUB;
500  return 0;
501 }
#define STUB
Definition: kernel32.h:27

◆ NtUserGetUpdatedClipboardFormats()

BOOL APIENTRY NtUserGetUpdatedClipboardFormats ( PUINT  lpuiFormats,
UINT  cFormats,
PUINT  pcFormatsOut 
)

Definition at line 978 of file ntstubs.c.

983 {
984  STUB;
985  return FALSE;
986 }
#define STUB
Definition: kernel32.h:27

◆ NtUserHardErrorControl()

DWORD APIENTRY NtUserHardErrorControl ( DWORD  dwUnknown1,
DWORD  dwUnknown2,
DWORD  dwUnknown3 
)

Definition at line 505 of file ntstubs.c.

509 {
510  STUB;
511  return 0;
512 }
#define STUB
Definition: kernel32.h:27

◆ NtUserInitializeClientPfnArrays()

NTSTATUS APIENTRY NtUserInitializeClientPfnArrays ( PPFNCLIENT  pfnClientA,
PPFNCLIENT  pfnClientW,
PPFNCLIENTWORKER  pfnClientWorker,
HINSTANCE  hmodUser 
)

Definition at line 124 of file ntstubs.c.

129 {
131  TRACE("Enter NtUserInitializeClientPfnArrays User32 0x%p\n", hmodUser);
132 
133  if (ClientPfnInit) return Status;
134 
136 
137  _SEH2_TRY
138  {
139  ProbeForRead( pfnClientA, sizeof(PFNCLIENT), 1);
140  ProbeForRead( pfnClientW, sizeof(PFNCLIENT), 1);
145 
149 
150  hModClient = hmodUser;
152  }
154  {
156  }
157  _SEH2_END
158 
159  if (!NT_SUCCESS(Status))
160  {
161  ERR("Failed reading Client Pfns from user space.\n");
163  }
164 
165  UserLeave();
166  return Status;
167 }
#define TRUE
Definition: types.h:120
NTSYSAPI VOID NTAPI RtlCopyMemory(VOID UNALIGNED *Destination, CONST VOID UNALIGNED *Source, ULONG Length)
LONG NTSTATUS
Definition: precomp.h:26
PSERVERINFO gpsi
Definition: main.c:27
BOOL ClientPfnInit
Definition: ntuser.c:26
_SEH2_TRY
Definition: create.c:4226
PFNCLIENT apfnClientW
Definition: ntuser.h:1010
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
VOID FASTCALL UserEnterExclusive(VOID)
Definition: ntuser.c:247
#define TRACE(s)
Definition: solgame.cpp:4
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
PFNCLIENT apfnClientA
Definition: ntuser.h:1009
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
Definition: exintrin.c:102
WNDPROC aStoCidPfn[FNID_NUMSERVERPROC]
Definition: ntuser.h:1007
VOID FASTCALL SetLastNtError(NTSTATUS Status)
Definition: error.c:36
static PFNCLIENT pfnClientA
Definition: regcontrol.c:15
Status
Definition: gdiplustypes.h:24
#define ERR(fmt,...)
Definition: debug.h:110
VOID FASTCALL UserLeave(VOID)
Definition: ntuser.c:255
_SEH2_END
Definition: create.c:4400
static PFNCLIENTWORKER pfnClientWorker
Definition: regcontrol.c:17
static PFNCLIENT pfnClientW
Definition: regcontrol.c:16
HINSTANCE hModClient
Definition: ntuser.c:25
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
PFNCLIENTWORKER apfnClientWorker
Definition: ntuser.h:1011
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:12
return STATUS_SUCCESS
Definition: btrfs.c:3014

Referenced by RegisterClientPFN().

◆ NtUserInitTask()

DWORD APIENTRY NtUserInitTask ( DWORD  Unknown0,
DWORD  Unknown1,
DWORD  Unknown2,
DWORD  Unknown3,
DWORD  Unknown4,
DWORD  Unknown5,
DWORD  Unknown6,
DWORD  Unknown7,
DWORD  Unknown8,
DWORD  Unknown9,
DWORD  Unknown10,
DWORD  Unknown11 
)

Definition at line 171 of file ntstubs.c.

184 {
185  STUB
186 
187  return 0;
188 }
#define STUB
Definition: kernel32.h:27

◆ NtUserLockWindowUpdate()

BOOL APIENTRY NtUserLockWindowUpdate ( HWND  hWnd)

Definition at line 948 of file ntstubs.c.

949 {
950  STUB;
951  return FALSE;
952 }
#define STUB
Definition: kernel32.h:27

Referenced by LockWindowUpdate().

◆ NtUserMNDragLeave()

DWORD APIENTRY NtUserMNDragLeave ( VOID  )

Definition at line 192 of file ntstubs.c.

193 {
194  STUB
195 
196  return 0;
197 }
#define STUB
Definition: kernel32.h:27

◆ NtUserMNDragOver()

DWORD APIENTRY NtUserMNDragOver ( DWORD  Unknown0,
DWORD  Unknown1 
)

Definition at line 201 of file ntstubs.c.

204 {
205  STUB
206 
207  return 0;
208 }
#define STUB
Definition: kernel32.h:27

◆ NtUserModifyUserStartupInfoFlags()

DWORD APIENTRY NtUserModifyUserStartupInfoFlags ( DWORD  Unknown0,
DWORD  Unknown1 
)

Definition at line 212 of file ntstubs.c.

215 {
216  STUB
217 
218  return 0;
219 }
#define STUB
Definition: kernel32.h:27

◆ NtUserNotifyProcessCreate()

BOOL NTAPI NtUserNotifyProcessCreate ( HANDLE  NewProcessId,
HANDLE  ParentThreadId,
ULONG  dwUnknown,
ULONG  CreateFlags 
)

Definition at line 516 of file ntstubs.c.

521 {
522  // STUB;
523  TRACE("NtUserNotifyProcessCreate is UNIMPLEMENTED\n");
524  return FALSE;
525 }
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by CSR_SERVER_DLL_INIT().

◆ NtUserProcessConnect()

NTSTATUS APIENTRY NtUserProcessConnect ( IN HANDLE  ProcessHandle,
OUT PUSERCONNECT  pUserConnect,
IN ULONG  Size 
)

Definition at line 529 of file ntstubs.c.

533 {
536  PPROCESSINFO W32Process;
537 
538  TRACE("NtUserProcessConnect\n");
539 
540  if ( pUserConnect == NULL ||
541  Size != sizeof(*pUserConnect) )
542  {
543  return STATUS_UNSUCCESSFUL;
544  }
545 
546  /* Get the process object the user handle was referencing */
549  *PsProcessType,
550  UserMode,
551  (PVOID*)&Process,
552  NULL);
553  if (!NT_SUCCESS(Status)) return Status;
554 
555  UserEnterShared();
556 
557  /* Get Win32 process information */
558  W32Process = PsGetProcessWin32Process(Process);
559 
560  _SEH2_TRY
561  {
562  // FIXME: Check that pUserConnect->ulVersion == USER_VERSION;
563 
564  ProbeForWrite(pUserConnect, sizeof(*pUserConnect), sizeof(PVOID));
565  pUserConnect->siClient.psi = gpsi;
566  pUserConnect->siClient.aheList = gHandleTable;
567  pUserConnect->siClient.ulSharedDelta =
568  (ULONG_PTR)W32Process->HeapMappings.KernelMapping -
569  (ULONG_PTR)W32Process->HeapMappings.UserMapping;
570  }
572  {
574  }
575  _SEH2_END;
576 
577  if (!NT_SUCCESS(Status))
579 
580  UserLeave();
581 
582  /* Dereference the process object */
584 
585  return Status;
586 }
VOID FASTCALL UserEnterShared(VOID)
Definition: ntuser.c:241
PVOID NTAPI PsGetProcessWin32Process(PEPROCESS Process)
Definition: process.c:1193
LONG NTSTATUS
Definition: precomp.h:26
VOID NTAPI ObDereferenceObject(IN PVOID Object)
Definition: obref.c:375
PSERVERINFO gpsi
Definition: main.c:27
VOID NTAPI ProbeForWrite(IN PVOID Address, IN SIZE_T Length, IN ULONG Alignment)
Definition: exintrin.c:143
_SEH2_TRY
Definition: create.c:4226
uint32_t ULONG_PTR
Definition: typedefs.h:64
NTSTATUS NTAPI ObReferenceObjectByHandle(IN HANDLE Handle, IN ACCESS_MASK DesiredAccess, IN POBJECT_TYPE ObjectType, IN KPROCESSOR_MODE AccessMode, OUT PVOID *Object, OUT POBJECT_HANDLE_INFORMATION HandleInformation OPTIONAL)
Definition: obref.c:496
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:416
W32HEAP_USER_MAPPING HeapMappings
Definition: win32.h:282
#define TRACE(s)
Definition: solgame.cpp:4
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
VOID FASTCALL SetLastNtError(NTSTATUS Status)
Definition: error.c:36
Status
Definition: gdiplustypes.h:24
VOID FASTCALL UserLeave(VOID)
Definition: ntuser.c:255
_SEH2_END
Definition: create.c:4400
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
Definition: fsrtlfuncs.h:219
#define ULONG_PTR
Definition: config.h:101
#define PROCESS_VM_OPERATION
Definition: pstypes.h:152
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:12
_In_ HANDLE ProcessHandle
Definition: mmfuncs.h:403
PUSER_HANDLE_TABLE gHandleTable
Definition: object.c:13
POBJECT_TYPE PsProcessType
Definition: process.c:20

Referenced by ClientThreadSetupHelper(), Init(), START_TEST(), and UserClientConnect().

◆ NtUserQueryInformationThread()

NTSTATUS APIENTRY NtUserQueryInformationThread ( IN HANDLE  ThreadHandle,
IN USERTHREADINFOCLASS  ThreadInformationClass,
OUT PVOID  ThreadInformation,
IN ULONG  ThreadInformationLength 
)

Definition at line 590 of file ntstubs.c.

594 {
597 
598  /* Allow only CSRSS to perform this operation */
600  return STATUS_ACCESS_DENIED;
601 
603 
604  /* Get the Thread */
605  Status = ObReferenceObjectByHandle(ThreadHandle,
607  *PsThreadType,
608  UserMode,
609  (PVOID)&Thread,
610  NULL);
611  if (!NT_SUCCESS(Status)) goto Quit;
612 
613  switch (ThreadInformationClass)
614  {
615  default:
616  {
617  STUB;
619  break;
620  }
621  }
622 
624 
625 Quit:
626  UserLeave();
627  return Status;
628 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:225
PEPROCESS gpepCSRSS
Definition: csr.c:15
LONG NTSTATUS
Definition: precomp.h:26
VOID NTAPI ObDereferenceObject(IN PVOID Object)
Definition: obref.c:375
NTSTATUS NTAPI ObReferenceObjectByHandle(IN HANDLE Handle, IN ACCESS_MASK DesiredAccess, IN POBJECT_TYPE ObjectType, IN KPROCESSOR_MODE AccessMode, OUT PVOID *Object, OUT POBJECT_HANDLE_INFORMATION HandleInformation OPTIONAL)
Definition: obref.c:496
_In_ THREADINFOCLASS ThreadInformationClass
Definition: psfuncs.h:832
#define PsGetCurrentProcess
Definition: psfuncs.h:17
smooth NULL
Definition: ftsmooth.c:416
VOID FASTCALL UserEnterExclusive(VOID)
Definition: ntuser.c:247
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
Definition: fltkernel.h:2653
#define STATUS_ACCESS_DENIED
Definition: udferr_usr.h:145
POBJECT_TYPE PsThreadType
Definition: thread.c:20
Status
Definition: gdiplustypes.h:24
VOID FASTCALL UserLeave(VOID)
Definition: ntuser.c:255
#define STUB
Definition: kernel32.h:27
#define THREAD_QUERY_INFORMATION
Definition: pstypes.h:141
return STATUS_SUCCESS
Definition: btrfs.c:3014

◆ NtUserQueryInputContext()

DWORD APIENTRY NtUserQueryInputContext ( DWORD  dwUnknown1,
DWORD  dwUnknown2 
)

Definition at line 632 of file ntstubs.c.

635 {
636  STUB;
637  return 0;
638 }
#define STUB
Definition: kernel32.h:27

◆ NtUserQuerySendMessage()

DWORD APIENTRY NtUserQuerySendMessage ( DWORD  Unknown0)

Definition at line 955 of file ntstubs.c.

956 {
957  STUB;
958 
959  return 0;
960 }
#define STUB
Definition: kernel32.h:27

◆ NtUserQueryUserCounters()

DWORD APIENTRY NtUserQueryUserCounters ( DWORD  Unknown0,
DWORD  Unknown1,
DWORD  Unknown2,
DWORD  Unknown3,
DWORD  Unknown4 
)

Definition at line 223 of file ntstubs.c.

229 {
230  STUB
231 
232  return 0;
233 }
#define STUB
Definition: kernel32.h:27

◆ NtUserRealInternalGetMessage()

BOOL APIENTRY NtUserRealInternalGetMessage ( LPMSG  lpMsg,
HWND  hWnd,
UINT  wMsgFilterMin,
UINT  wMsgFilterMax,
UINT  wRemoveMsg,
BOOL  bGMSG 
)

Definition at line 642 of file ntstubs.c.

649 {
650  STUB;
651  return 0;
652 }
#define STUB
Definition: kernel32.h:27

Referenced by ResetMessagePumpHook().

◆ NtUserRealWaitMessageEx()

BOOL APIENTRY NtUserRealWaitMessageEx ( DWORD  dwWakeMask,
UINT  uTimeout 
)

Definition at line 656 of file ntstubs.c.

659 {
660  STUB;
661  return 0;
662 }
#define STUB
Definition: kernel32.h:27

Referenced by ResetMessagePumpHook().

◆ NtUserRegisterRawInputDevices()

BOOL APIENTRY NtUserRegisterRawInputDevices ( IN PCRAWINPUTDEVICE  pRawInputDevices,
IN UINT  uiNumDevices,
IN UINT  cbSize 
)

Definition at line 666 of file ntstubs.c.

670 {
671  STUB;
672  return 0;
673 }
#define STUB
Definition: kernel32.h:27

◆ NtUserRegisterTasklist()

DWORD APIENTRY NtUserRegisterTasklist ( DWORD  Unknown0)

Definition at line 237 of file ntstubs.c.

239 {
240  STUB
241 
242  return 0;
243 }
#define STUB
Definition: kernel32.h:27

Referenced by RegisterTasklist().

◆ NtUserRemoteConnect()

DWORD APIENTRY NtUserRemoteConnect ( DWORD  dwUnknown1,
DWORD  dwUnknown2,
DWORD  dwUnknown3 
)

Definition at line 896 of file ntstubs.c.

900 {
901  STUB;
902  return 0;
903 }
#define STUB
Definition: kernel32.h:27

◆ NtUserRemoteRedrawRectangle()

DWORD APIENTRY NtUserRemoteRedrawRectangle ( DWORD  dwUnknown1,
DWORD  dwUnknown2,
DWORD  dwUnknown3,
DWORD  dwUnknown4 
)

Definition at line 907 of file ntstubs.c.

912 {
913  STUB;
914  return 0;
915 }
#define STUB
Definition: kernel32.h:27

◆ NtUserRemoteRedrawScreen()

DWORD APIENTRY NtUserRemoteRedrawScreen ( VOID  )

Definition at line 919 of file ntstubs.c.

920 {
921  STUB;
922  return 0;
923 }
#define STUB
Definition: kernel32.h:27

◆ NtUserRemoteStopScreenUpdates()

DWORD APIENTRY NtUserRemoteStopScreenUpdates ( VOID  )

Definition at line 927 of file ntstubs.c.

928 {
929  STUB;
930  return 0;
931 }
#define STUB
Definition: kernel32.h:27

◆ NtUserRemoveClipboardFormatListener()

BOOL APIENTRY NtUserRemoveClipboardFormatListener ( HWND  hwnd)

Definition at line 970 of file ntstubs.c.

973 {
974  STUB;
975  return FALSE;
976 }
#define STUB
Definition: kernel32.h:27

◆ NtUserResolveDesktopForWOW()

DWORD APIENTRY NtUserResolveDesktopForWOW ( DWORD  Unknown0)

Definition at line 676 of file ntstubs.c.

677 {
678  STUB
679  return 0;
680 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetConsoleReserveKeys()

DWORD APIENTRY NtUserSetConsoleReserveKeys ( DWORD  Unknown0,
DWORD  Unknown1 
)

Definition at line 247 of file ntstubs.c.

250 {
251  STUB
252 
253  return 0;
254 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetDbgTag()

DWORD APIENTRY NtUserSetDbgTag ( DWORD  Unknown0,
DWORD  Unknown1 
)

Definition at line 258 of file ntstubs.c.

261 {
262  STUB;
263 
264  return 0;
265 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetDbgTagCount()

DWORD APIENTRY NtUserSetDbgTagCount ( DWORD  Unknown0)

Definition at line 269 of file ntstubs.c.

271 {
272  STUB;
273 
274  return 0;
275 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetInformationProcess()

DWORD APIENTRY NtUserSetInformationProcess ( DWORD  dwUnknown1,
DWORD  dwUnknown2,
DWORD  dwUnknown3,
DWORD  dwUnknown4 
)

Definition at line 684 of file ntstubs.c.

689 {
690  STUB;
691  return 0;
692 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetInformationThread()

NTSTATUS APIENTRY NtUserSetInformationThread ( IN HANDLE  ThreadHandle,
IN USERTHREADINFOCLASS  ThreadInformationClass,
IN PVOID  ThreadInformation,
IN ULONG  ThreadInformationLength 
)

Definition at line 699 of file ntstubs.c.

703 {
706 
707  /* Allow only CSRSS to perform this operation */
709  return STATUS_ACCESS_DENIED;
710 
712 
713  /* Get the Thread */
714  Status = ObReferenceObjectByHandle(ThreadHandle,
716  *PsThreadType,
717  UserMode,
718  (PVOID)&Thread,
719  NULL);
720  if (!NT_SUCCESS(Status)) goto Quit;
721 
722  switch (ThreadInformationClass)
723  {
725  {
726  ULONG CapturedFlags = 0;
727 
728  TRACE("Shutdown initiated\n");
729 
730  if (ThreadInformationLength != sizeof(ULONG))
731  {
733  break;
734  }
735 
736  /* Capture the caller value */
738  _SEH2_TRY
739  {
740  ProbeForWrite(ThreadInformation, sizeof(CapturedFlags), sizeof(PVOID));
741  CapturedFlags = *(PULONG)ThreadInformation;
742  }
744  {
746  _SEH2_YIELD(break);
747  }
748  _SEH2_END;
749 
750  Status = UserInitiateShutdown(Thread, &CapturedFlags);
751 
752  /* Return the modified value to the caller */
753  _SEH2_TRY
754  {
755  *(PULONG)ThreadInformation = CapturedFlags;
756  }
758  {
760  }
761  _SEH2_END;
762 
763  break;
764  }
765 
767  {
768  NTSTATUS ShutdownStatus;
769 
770  TRACE("Shutdown ended\n");
771 
772  if (ThreadInformationLength != sizeof(ShutdownStatus))
773  {
775  break;
776  }
777 
778  /* Capture the caller value */
780  _SEH2_TRY
781  {
782  ProbeForRead(ThreadInformation, sizeof(ShutdownStatus), sizeof(PVOID));
783  ShutdownStatus = *(NTSTATUS*)ThreadInformation;
784  }
786  {
788  _SEH2_YIELD(break);
789  }
790  _SEH2_END;
791 
792  Status = UserEndShutdown(Thread, ShutdownStatus);
793  break;
794  }
795 
797  {
798  HANDLE CsrPortHandle;
799 
800 
801  TRACE("Set CSR API Port for Win32k\n");
802  if (ThreadInformationLength != sizeof(CsrPortHandle))
803  {
805  break;
806  }
807 
808  /* Capture the caller value */
810  _SEH2_TRY
811  {
812  ProbeForRead(ThreadInformation, sizeof(CsrPortHandle), sizeof(PVOID));
813  CsrPortHandle = *(PHANDLE)ThreadInformation;
814  }
816  {
818  _SEH2_YIELD(break);
819  }
820  _SEH2_END;
821 
822  Status = InitCsrApiPort(CsrPortHandle);
823  break;
824  }
825 
827  {
828  HDESK hdesk;
829 
830  if (Thread != PsGetCurrentThread())
831  {
833  break;
834  }
835 
837  IntSetThreadDesktop(hdesk, FALSE);
838 
839  break;
840  }
842  {
843  if (Thread != PsGetCurrentThread())
844  {
846  break;
847  }
848 
850  break;
851  }
852  default:
853  {
854  STUB;
856  break;
857  }
858  }
859 
861 
862 Quit:
863  UserLeave();
864  return Status;
865 }
#define STATUS_INFO_LENGTH_MISMATCH
Definition: udferr_usr.h:133
#define PsGetCurrentThread()
Definition: env_spec_w32.h:81
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:225
PDESKTOP gpdeskInputDesktop
Definition: desktop.c:35
PEPROCESS gpepCSRSS
Definition: csr.c:15
#define THREAD_SET_INFORMATION
Definition: nt_native.h:1337
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS UserEndShutdown(IN PETHREAD Thread, IN NTSTATUS ShutdownStatus)
Definition: shutdown.c:290
VOID NTAPI ObDereferenceObject(IN PVOID Object)
Definition: obref.c:375
VOID NTAPI ProbeForWrite(IN PVOID Address, IN SIZE_T Length, IN ULONG Alignment)
Definition: exintrin.c:143
NTSTATUS InitCsrApiPort(IN HANDLE CsrPortHandle)
Definition: csr.c:38
_SEH2_TRY
Definition: create.c:4226
NTSTATUS NTAPI ObReferenceObjectByHandle(IN HANDLE Handle, IN ACCESS_MASK DesiredAccess, IN POBJECT_TYPE ObjectType, IN KPROCESSOR_MODE AccessMode, OUT PVOID *Object, OUT POBJECT_HANDLE_INFORMATION HandleInformation OPTIONAL)
Definition: obref.c:496
HDESK FASTCALL IntGetDesktopObjectHandle(PDESKTOP DesktopObject)
Definition: desktop.c:1235
_In_ THREADINFOCLASS ThreadInformationClass
Definition: psfuncs.h:832
#define PsGetCurrentProcess
Definition: psfuncs.h:17
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
smooth NULL
Definition: ftsmooth.c:416
VOID FASTCALL UserEnterExclusive(VOID)
Definition: ntuser.c:247
#define TRACE(s)
Definition: solgame.cpp:4
#define _SEH2_YIELD(STMT_)
Definition: pseh2_64.h:8
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
Definition: fltkernel.h:2653
#define STATUS_ACCESS_DENIED
Definition: udferr_usr.h:145
POBJECT_TYPE PsThreadType
Definition: thread.c:20
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
Definition: exintrin.c:102
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:454
Status
Definition: gdiplustypes.h:24
VOID FASTCALL UserLeave(VOID)
Definition: ntuser.c:255
_SEH2_END
Definition: create.c:4400
#define STUB
Definition: kernel32.h:27
_In_ THREADINFOCLASS _In_ ULONG ThreadInformationLength
Definition: psfuncs.h:835
BOOL IntSetThreadDesktop(IN HDESK hDesktop, IN BOOL FreeOnFailure)
Definition: desktop.c:3211
unsigned int * PULONG
Definition: retypes.h:1
NTSTATUS UserInitiateShutdown(IN PETHREAD Thread, IN OUT PULONG pFlags)
Definition: shutdown.c:166
unsigned int ULONG
Definition: retypes.h:1
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:12
return STATUS_SUCCESS
Definition: btrfs.c:3014

Referenced by CSR_API(), EndNowThreadProc(), UserClientConnect(), UserExitReactOS(), and UserServerHardError().

◆ NtUserSetRipFlags()

DWORD APIENTRY NtUserSetRipFlags ( DWORD  Unknown0)

Definition at line 279 of file ntstubs.c.

281 {
282  STUB;
283 
284  return 0;
285 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetSysColors()

BOOL APIENTRY NtUserSetSysColors ( int  cElements,
IN CONST INT lpaElements,
IN CONST COLORREF lpaRgbValues,
FLONG  Flags 
)

Definition at line 311 of file ntstubs.c.

316 {
317  DWORD Ret = TRUE;
318 
319  if (cElements == 0)
320  return TRUE;
321 
322  /* We need this check to prevent overflow later */
323  if ((ULONG)cElements >= 0x40000000)
324  {
326  return FALSE;
327  }
328 
330 
331  _SEH2_TRY
332  {
333  ProbeForRead(lpaElements, cElements * sizeof(INT), 1);
334  ProbeForRead(lpaRgbValues, cElements * sizeof(COLORREF), 1);
335 
336  IntSetSysColors(cElements, lpaElements, lpaRgbValues);
337  }
339  {
341  Ret = FALSE;
342  }
343  _SEH2_END;
344 
345  if (Ret)
346  {
348 
350  }
351 
352  UserLeave();
353  return Ret;
354 }
#define WM_SYSCOLORCHANGE
Definition: winuser.h:1608
#define TRUE
Definition: types.h:120
BOOL FASTCALL UserSendNotifyMessage(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
Definition: message.c:2037
int32_t INT
Definition: typedefs.h:57
_SEH2_TRY
Definition: create.c:4226
#define ERROR_NOACCESS
Definition: winerror.h:578
#define EXCEPTION_EXECUTE_HANDLER
Definition: excpt.h:85
VOID FASTCALL UserEnterExclusive(VOID)
Definition: ntuser.c:247
DWORD COLORREF
Definition: windef.h:300
unsigned long DWORD
Definition: ntddk_ex.h:95
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
Definition: exintrin.c:102
VOID APIENTRY UserRedrawDesktop(VOID)
Definition: desktop.c:1561
VOID FASTCALL SetLastNtError(NTSTATUS Status)
Definition: error.c:36
VOID FASTCALL UserLeave(VOID)
Definition: ntuser.c:255
_SEH2_END
Definition: create.c:4400
VOID FASTCALL IntSetSysColors(UINT nColors, CONST INT *Elements, CONST COLORREF *Colors)
Definition: stockobj.c:300
unsigned int ULONG
Definition: retypes.h:1
#define _SEH2_EXCEPT(...)
Definition: pseh2_64.h:6
#define _SEH2_GetExceptionCode()
Definition: pseh2_64.h:12
#define HWND_BROADCAST
Definition: winuser.h:1190
ENGAPI VOID APIENTRY EngSetLastError(_In_ ULONG iError)
Definition: error.c:27

Referenced by SetSysColors().

◆ NtUserSetThreadLayoutHandles()

DWORD APIENTRY NtUserSetThreadLayoutHandles ( DWORD  dwUnknown1,
DWORD  dwUnknown2 
)

Definition at line 869 of file ntstubs.c.

872 {
873  STUB;
874  return 0;
875 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSoundSentry()

BOOL APIENTRY NtUserSoundSentry ( VOID  )

Definition at line 879 of file ntstubs.c.

880 {
881  STUB;
882  return 0;
883 }
#define STUB
Definition: kernel32.h:27

◆ NtUserTestForInteractiveUser()

DWORD APIENTRY NtUserTestForInteractiveUser ( DWORD  dwUnknown1)

Definition at line 887 of file ntstubs.c.

889 {
890  STUB;
891  return 0;
892 }
#define STUB
Definition: kernel32.h:27

◆ NtUserUpdateInputContext()

DWORD APIENTRY NtUserUpdateInputContext ( DWORD  Unknown0,
DWORD  Unknown1,
DWORD  Unknown2 
)

Definition at line 358 of file ntstubs.c.

362 {
363  STUB
364 
365  return 0;
366 }
#define STUB
Definition: kernel32.h:27

◆ NtUserUpdateInstance()

DWORD APIENTRY NtUserUpdateInstance ( DWORD  Unknown0,
DWORD  Unknown1,
DWORD  Unknown2 
)

Definition at line 370 of file ntstubs.c.

374 {
375  STUB
376 
377  return 0;
378 }
#define STUB
Definition: kernel32.h:27

◆ NtUserUserHandleGrantAccess()

BOOL APIENTRY NtUserUserHandleGrantAccess ( IN HANDLE  hUserHandle,
IN HANDLE  hJob,
IN BOOL  bGrant 
)

Definition at line 382 of file ntstubs.c.

386 {
387  STUB
388 
389  return 0;
390 }
#define STUB
Definition: kernel32.h:27

◆ NtUserWaitForMsgAndEvent()

DWORD APIENTRY NtUserWaitForMsgAndEvent ( DWORD  Unknown0)

Definition at line 394 of file ntstubs.c.

396 {
397  STUB
398 
399  return 0;
400 }
#define STUB
Definition: kernel32.h:27

◆ NtUserWin32PoolAllocationStats()

DWORD APIENTRY NtUserWin32PoolAllocationStats ( DWORD  Unknown0,
DWORD  Unknown1,
DWORD  Unknown2,
DWORD  Unknown3,
DWORD  Unknown4,
DWORD  Unknown5 
)

Definition at line 404 of file ntstubs.c.

411 {
412  STUB
413 
414  return 0;
415 }
#define STUB
Definition: kernel32.h:27

◆ NtUserYieldTask()

DWORD APIENTRY NtUserYieldTask ( VOID  )

Definition at line 419 of file ntstubs.c.

420 {
421  STUB
422 
423  return 0;
424 }
#define STUB
Definition: kernel32.h:27