Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c15733de
Commit
c15733de
authored
Feb 27, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add corecrt_startup.h header.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
118ef112
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
2 deletions
+49
-2
data.c
dlls/msvcrt/tests/data.c
+0
-1
Makefile.in
include/Makefile.in
+1
-0
corecrt_startup.h
include/msvcrt/corecrt_startup.h
+47
-0
process.h
include/msvcrt/process.h
+1
-1
No files found.
dlls/msvcrt/tests/data.c
View file @
c15733de
...
...
@@ -32,7 +32,6 @@
#include <errno.h>
#include <direct.h>
void
__cdecl
__getmainargs
(
int
*
,
char
***
,
char
***
,
int
,
int
*
);
static
int
*
(
__cdecl
*
p___p___argc
)(
void
);
static
char
***
(
__cdecl
*
p___p___argv
)(
void
);
...
...
include/Makefile.in
View file @
c15733de
...
...
@@ -424,6 +424,7 @@ SOURCES = \
msvcrt/assert.h
\
msvcrt/conio.h
\
msvcrt/corecrt.h
\
msvcrt/corecrt_startup.h
\
msvcrt/corecrt_stdio_config.h
\
msvcrt/corecrt_wctype.h
\
msvcrt/corecrt_wio.h
\
...
...
include/msvcrt/corecrt_startup.h
0 → 100644
View file @
c15733de
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the Wine project.
*/
#ifndef _INC_CORECRT_STARTUP
#define _INC_CORECRT_STARTUP
#include <corecrt.h>
typedef
enum
_crt_argv_mode
{
_crt_argv_no_arguments
,
_crt_argv_unexpanded_arguments
,
_crt_argv_expanded_arguments
}
_crt_argv_mode
;
typedef
enum
_crt_app_type
{
_crt_unknown_app
,
_crt_console_app
,
_crt_gui_app
}
_crt_app_type
;
#ifdef __cplusplus
extern
"C"
{
#endif
#ifndef _UCRT
_ACRTIMP
void
__cdecl
__getmainargs
(
int
*
,
char
***
,
char
***
,
int
,
int
*
);
_ACRTIMP
void
__cdecl
__wgetmainargs
(
int
*
,
wchar_t
***
,
wchar_t
***
,
int
,
int
*
);
#define _set_app_type __set_app_type
#endif
/* _UCRT */
_ACRTIMP
errno_t
__cdecl
_configure_narrow_argv
(
_crt_argv_mode
);
_ACRTIMP
errno_t
__cdecl
_configure_wide_argv
(
_crt_argv_mode
);
_ACRTIMP
char
**
__cdecl
_get_initial_narrow_environment
(
void
);
_ACRTIMP
wchar_t
**
__cdecl
_get_initial_wide_environment
(
void
);
_ACRTIMP
int
__cdecl
_initialize_narrow_environment
(
void
);
_ACRTIMP
int
__cdecl
_initialize_wide_environment
(
void
);
_ACRTIMP
void
__cdecl
_set_app_type
(
_crt_app_type
);
#ifdef __cplusplus
}
#endif
#endif
/* _INC_CORECRT_STARTUP */
include/msvcrt/process.h
View file @
c15733de
...
...
@@ -8,7 +8,7 @@
#ifndef __WINE_PROCESS_H
#define __WINE_PROCESS_H
#include <corecrt.h>
#include <corecrt
_startup
.h>
/* Process creation flags */
#define _P_WAIT 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment