include: Add processthreadsapi.h file.

Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Brendan Shanks 2021-12-03 16:28:57 -08:00 committed by Alexandre Julliard
parent 4ca8d676fb
commit d4cfb0c30c
3 changed files with 35 additions and 0 deletions

View File

@ -592,6 +592,7 @@ SOURCES = \
poppack.h \
powrprof.h \
prntvpt.h \
processthreadsapi.h \
profinfo.h \
proofofpossessioncookieinfo.idl \
propidl.idl \

View File

@ -0,0 +1,33 @@
/*
* Copyright 2021 Brendan Shanks for CodeWeavers
*
* 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
*/
#ifndef _PROCESSTHREADSAPI_H
#define _PROCESSTHREADSAPI_H
#ifdef __cplusplus
extern "C" {
#endif
WINBASEAPI HRESULT WINAPI GetThreadDescription(HANDLE,PWSTR *);
WINBASEAPI HRESULT WINAPI SetThreadDescription(HANDLE,PCWSTR);
#ifdef __cplusplus
}
#endif
#endif /* _PROCESSTHREADSAPI_H */

View File

@ -40,6 +40,7 @@ extern "C" {
#endif
#include <libloaderapi.h>
#include <processthreadsapi.h>
#include <synchapi.h>
#include <threadpoolapiset.h>