- Stubpliment UOI_FLAGS flag in NtUserGetObjectInformation

* Fixes 32 tests in user32_apitest GetUserObjectInformation

svn path=/trunk/; revision=72515
This commit is contained in:
Dmitry Chapyshev 2016-08-30 21:45:39 +00:00
parent 8c89d519a9
commit 622507d06f

View file

@ -722,7 +722,21 @@ NtUserGetObjectInformation(
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;