include: Add corecrt_wprocess.h header.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-03-09 17:53:23 +01:00 committed by Alexandre Julliard
parent da7d60bf97
commit ce62c3c8c9
4 changed files with 40 additions and 42 deletions

View File

@ -428,6 +428,7 @@ SOURCES = \
msvcrt/corecrt_stdio_config.h \
msvcrt/corecrt_wctype.h \
msvcrt/corecrt_wio.h \
msvcrt/corecrt_wprocess.h \
msvcrt/corecrt_wstdio.h \
msvcrt/corecrt_wstdlib.h \
msvcrt/corecrt_wstring.h \

View File

@ -0,0 +1,37 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the Wine project.
*/
#ifndef _WPROCESS_DEFINED
#define _WPROCESS_DEFINED
#include <corecrt.h>
#ifdef __cplusplus
extern "C" {
#endif
intptr_t WINAPIV _wexecl(const wchar_t*,const wchar_t*,...);
intptr_t WINAPIV _wexecle(const wchar_t*,const wchar_t*,...);
intptr_t WINAPIV _wexeclp(const wchar_t*,const wchar_t*,...);
intptr_t WINAPIV _wexeclpe(const wchar_t*,const wchar_t*,...);
intptr_t __cdecl _wexecv(const wchar_t*,const wchar_t* const *);
intptr_t __cdecl _wexecve(const wchar_t*,const wchar_t* const *,const wchar_t* const *);
intptr_t __cdecl _wexecvp(const wchar_t*,const wchar_t* const *);
intptr_t __cdecl _wexecvpe(const wchar_t*,const wchar_t* const *,const wchar_t* const *);
intptr_t WINAPIV _wspawnl(int,const wchar_t*,const wchar_t*,...);
intptr_t WINAPIV _wspawnle(int,const wchar_t*,const wchar_t*,...);
intptr_t WINAPIV _wspawnlp(int,const wchar_t*,const wchar_t*,...);
intptr_t WINAPIV _wspawnlpe(int,const wchar_t*,const wchar_t*,...);
intptr_t __cdecl _wspawnv(int,const wchar_t*,const wchar_t* const *);
intptr_t __cdecl _wspawnve(int,const wchar_t*,const wchar_t* const *,const wchar_t* const *);
intptr_t __cdecl _wspawnvp(int,const wchar_t*,const wchar_t* const *);
intptr_t __cdecl _wspawnvpe(int,const wchar_t*,const wchar_t* const *,const wchar_t* const *);
int __cdecl _wsystem(const wchar_t*);
#ifdef __cplusplus
}
#endif
#endif /* _WPROCESS_DEFINED */

View File

@ -9,6 +9,7 @@
#define __WINE_PROCESS_H
#include <corecrt_startup.h>
#include <corecrt_wprocess.h>
/* Process creation flags */
#define _P_WAIT 0
@ -57,27 +58,6 @@ void __cdecl abort(void) DECLSPEC_NORETURN;
void __cdecl exit(int) DECLSPEC_NORETURN;
int __cdecl system(const char*);
#ifndef _WPROCESS_DEFINED
#define _WPROCESS_DEFINED
intptr_t WINAPIV _wexecl(const wchar_t*,const wchar_t*,...);
intptr_t WINAPIV _wexecle(const wchar_t*,const wchar_t*,...);
intptr_t WINAPIV _wexeclp(const wchar_t*,const wchar_t*,...);
intptr_t WINAPIV _wexeclpe(const wchar_t*,const wchar_t*,...);
intptr_t __cdecl _wexecv(const wchar_t*,const wchar_t* const *);
intptr_t __cdecl _wexecve(const wchar_t*,const wchar_t* const *,const wchar_t* const *);
intptr_t __cdecl _wexecvp(const wchar_t*,const wchar_t* const *);
intptr_t __cdecl _wexecvpe(const wchar_t*,const wchar_t* const *,const wchar_t* const *);
intptr_t WINAPIV _wspawnl(int,const wchar_t*,const wchar_t*,...);
intptr_t WINAPIV _wspawnle(int,const wchar_t*,const wchar_t*,...);
intptr_t WINAPIV _wspawnlp(int,const wchar_t*,const wchar_t*,...);
intptr_t WINAPIV _wspawnlpe(int,const wchar_t*,const wchar_t*,...);
intptr_t __cdecl _wspawnv(int,const wchar_t*,const wchar_t* const *);
intptr_t __cdecl _wspawnve(int,const wchar_t*,const wchar_t* const *,const wchar_t* const *);
intptr_t __cdecl _wspawnvp(int,const wchar_t*,const wchar_t* const *);
intptr_t __cdecl _wspawnvpe(int,const wchar_t*,const wchar_t* const *,const wchar_t* const *);
int __cdecl _wsystem(const wchar_t*);
#endif /* _WPROCESS_DEFINED */
#ifdef __cplusplus
}
#endif

View File

@ -10,6 +10,7 @@
#include <corecrt_wctype.h>
#include <corecrt_wio.h>
#include <corecrt_wprocess.h>
#include <corecrt_wstdio.h>
#include <corecrt_wstdlib.h>
#include <corecrt_wstring.h>
@ -41,27 +42,6 @@ int __cdecl _wrmdir(const wchar_t*);
wchar_t* __cdecl _wsetlocale(int,const wchar_t*);
#endif /* _WLOCALE_DEFINED */
#ifndef _WPROCESS_DEFINED
#define _WPROCESS_DEFINED
int WINAPIV _wexecl(const wchar_t*,const wchar_t*,...);
int WINAPIV _wexecle(const wchar_t*,const wchar_t*,...);
int WINAPIV _wexeclp(const wchar_t*,const wchar_t*,...);
int WINAPIV _wexeclpe(const wchar_t*,const wchar_t*,...);
int __cdecl _wexecv(const wchar_t*,const wchar_t* const *);
int __cdecl _wexecve(const wchar_t*,const wchar_t* const *,const wchar_t* const *);
int __cdecl _wexecvp(const wchar_t*,const wchar_t* const *);
int __cdecl _wexecvpe(const wchar_t*,const wchar_t* const *,const wchar_t* const *);
int WINAPIV _wspawnl(int,const wchar_t*,const wchar_t*,...);
int WINAPIV _wspawnle(int,const wchar_t*,const wchar_t*,...);
int WINAPIV _wspawnlp(int,const wchar_t*,const wchar_t*,...);
int WINAPIV _wspawnlpe(int,const wchar_t*,const wchar_t*,...);
int __cdecl _wspawnv(int,const wchar_t*,const wchar_t* const *);
int __cdecl _wspawnve(int,const wchar_t*,const wchar_t* const *,const wchar_t* const *);
int __cdecl _wspawnvp(int,const wchar_t*,const wchar_t* const *);
int __cdecl _wspawnvpe(int,const wchar_t*,const wchar_t* const *,const wchar_t* const *);
int __cdecl _wsystem(const wchar_t*);
#endif /* _WPROCESS_DEFINED */
wchar_t __cdecl btowc(int);
size_t __cdecl mbrlen(const char *,size_t,mbstate_t*);
size_t __cdecl mbrtowc(wchar_t*,const char*,size_t,mbstate_t*);