ntdll / kernel32: #57

Dmitry Timoshkov dmitry at baikal.ru
Sun Jun 26 22:09:18 CDT 2005


"Eric Pouech" <pouech-eric at wanadoo.fr> wrote:

> --- dlls/ntdll/thread.c 21 Jun 2005 09:57:53 -0000 1.31
> +++ dlls/ntdll/thread.c 26 Jun 2005 08:41:07 -0000
> @@ -593,6 +641,19 @@
>      case ThreadTimes:
>      case ThreadPriority:
>      case ThreadBasePriority:
> +        {
> +            const DWORD *pprio = data;
> +            if (length != sizeof(DWORD)) return STATUS_INVALID_PARAMETER;
> +            SERVER_START_REQ( set_thread_info )
> +            {
> +                req->handle   = handle;
> +                req->priority = *pprio;
> +                req->mask     = SET_THREAD_INFO_PRIORITY;
> +                status = wine_server_call( req );
> +            }
> +            SERVER_END_REQ;
> +            return status;
> +        }

ThreadTimes case should be moved to the stubbed cases below.

-- 
Dmitry.




More information about the wine-devel mailing list