Author: dchapyshev
Date: Tue Aug 30 21:45:39 2016
New Revision: 72515
URL:
http://svn.reactos.org/svn/reactos?rev=72515&view=rev
Log:
[WIN32K]
- Stubpliment UOI_FLAGS flag in NtUserGetObjectInformation
* Fixes 32 tests in user32_apitest GetUserObjectInformation
Modified:
trunk/reactos/win32ss/user/ntuser/winsta.c
Modified: trunk/reactos/win32ss/user/ntuser/winsta.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/winsta…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/winsta.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/winsta.c [iso-8859-1] Tue Aug 30 21:45:39 2016
@@ -722,7 +722,21 @@
switch (nIndex)
{
case UOI_FLAGS:
- Status = STATUS_NOT_IMPLEMENTED;
+ nDataSize = sizeof(USEROBJECTFLAGS);
+ if (nLength >= nDataSize)
+ {
+ PUSEROBJECTFLAGS ObjectFlags = pvInformation;
+
+ ObjectFlags->fInherit = 0;
+ ObjectFlags->fReserved = 0;
+ ObjectFlags->dwFlags = 0;
+
+ Status = STATUS_SUCCESS;
+ }
+ else
+ {
+ Status = STATUS_BUFFER_TOO_SMALL;
+ }
ERR("UOI_FLAGS unimplemented!\n");
break;