On 2015-02-07 16:26, hbelu...@svn.reactos.org wrote:
> @@ -792,24 +791,54 @@
>          case UserThreadInitiateShutdown:
>          {
>              ERR("Shutdown initiated\n");
> -            STUB;
> -            Status = STATUS_NOT_IMPLEMENTED;
> +
> +            if (ThreadInformationLength != sizeof(ULONG))
> +            {
> +                Status = STATUS_INFO_LENGTH_MISMATCH;
> +                break;
> +            }
> +
> +            Status = UserInitiateShutdown(Thread, (PULONG)ThreadInformation);
>              break;
>          }

This looks like contrary to the other cases, ThreadInformation is
neither probed, nor accessed inside SEH here?

_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to