50 lines
1.4 KiB
C
50 lines
1.4 KiB
C
![]() |
/*
|
||
|
* USER Input processing
|
||
|
*
|
||
|
* Copyright 1993 Bob Amstadt
|
||
|
* Copyright 1996 Albrecht Kleine
|
||
|
* Copyright 1997 David Faure
|
||
|
* Copyright 1998 Morten Welinder
|
||
|
* Copyright 1998 Ulrich Weigand
|
||
|
*
|
||
|
* This library is free software; you can redistribute it and/or
|
||
|
* modify it under the terms of the GNU Lesser General Public
|
||
|
* License as published by the Free Software Foundation; either
|
||
|
* version 2.1 of the License, or (at your option) any later version.
|
||
|
*
|
||
|
* This library is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
* Lesser General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Lesser General Public
|
||
|
* License along with this library; if not, write to the Free Software
|
||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||
|
*/
|
||
|
|
||
|
#if 0
|
||
|
#pragma makedep unix
|
||
|
#endif
|
||
|
|
||
|
#include "win32u_private.h"
|
||
|
#include "wine/server.h"
|
||
|
|
||
|
|
||
|
/**********************************************************************
|
||
|
* NtUserAttachThreadInput (win32u.@)
|
||
|
*/
|
||
|
BOOL WINAPI NtUserAttachThreadInput( DWORD from, DWORD to, BOOL attach )
|
||
|
{
|
||
|
BOOL ret;
|
||
|
|
||
|
SERVER_START_REQ( attach_thread_input )
|
||
|
{
|
||
|
req->tid_from = from;
|
||
|
req->tid_to = to;
|
||
|
req->attach = attach;
|
||
|
ret = !wine_server_call_err( req );
|
||
|
}
|
||
|
SERVER_END_REQ;
|
||
|
return ret;
|
||
|
}
|