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
402b8f0d
Commit
402b8f0d
authored
Aug 04, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscoree: Add cor.h and mscoree.idl and fix some semi-stub prototypes.
parent
b86570d1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
80 additions
and
4 deletions
+80
-4
.gitignore
.gitignore
+1
-0
mscoree_main.c
dlls/mscoree/mscoree_main.c
+7
-4
Makefile.in
include/Makefile.in
+2
-0
cor.h
include/cor.h
+43
-0
mscoree.idl
include/mscoree.idl
+27
-0
No files found.
.gitignore
View file @
402b8f0d
...
...
@@ -725,6 +725,7 @@ include/mediaobj.h
include/mimeinfo.h
include/mlang.h
include/mmstream.h
include/mscoree.h
include/mshtmhst.h
include/mshtml.h
include/msinkaut.h
...
...
dlls/mscoree/mscoree_main.c
View file @
402b8f0d
...
...
@@ -27,6 +27,9 @@
#include "winreg.h"
#include "ole2.h"
#include "cor.h"
#include "mscoree.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mscoree
);
...
...
@@ -123,7 +126,7 @@ static LPWSTR get_mono_exe(void)
return
ret
;
}
int
WINAPI
_CorExeMain
(
void
)
__int32
WINAPI
_CorExeMain
(
void
)
{
STARTUPINFOW
si
;
PROCESS_INFORMATION
pi
;
...
...
@@ -168,7 +171,7 @@ int WINAPI _CorExeMain(void)
return
(
int
)
exit_code
;
}
int
WINAPI
_CorExeMain2
(
PBYTE
ptrMemory
,
DWORD
cntMemory
,
LPCWSTR
imageName
,
LPCWSTR
loaderName
,
LPC
WSTR
cmdLine
)
__int32
WINAPI
_CorExeMain2
(
PBYTE
ptrMemory
,
DWORD
cntMemory
,
LPWSTR
imageName
,
LPWSTR
loaderName
,
LP
WSTR
cmdLine
)
{
TRACE
(
"(%p, %u, %s, %s, %s)
\n
"
,
ptrMemory
,
cntMemory
,
debugstr_w
(
imageName
),
debugstr_w
(
loaderName
),
debugstr_w
(
cmdLine
));
FIXME
(
"Directly running .NET applications not supported.
\n
"
);
...
...
@@ -181,12 +184,12 @@ void WINAPI CorExitProcess(int exitCode)
ExitProcess
(
exitCode
);
}
void
WINAPI
_CorImageUnloading
(
LPCVOID
*
imageBase
)
VOID
WINAPI
_CorImageUnloading
(
PVOID
imageBase
)
{
TRACE
(
"(%p): stub
\n
"
,
imageBase
);
}
DWORD
WINAPI
_CorValidateImage
(
LPC
VOID
*
imageBase
,
LPCWSTR
imageName
)
HRESULT
WINAPI
_CorValidateImage
(
P
VOID
*
imageBase
,
LPCWSTR
imageName
)
{
TRACE
(
"(%p, %s): stub
\n
"
,
imageBase
,
debugstr_w
(
imageName
));
return
E_FAIL
;
...
...
include/Makefile.in
View file @
402b8f0d
...
...
@@ -28,6 +28,7 @@ IDL_H_SRCS = \
mimeinfo.idl
\
mlang.idl
\
mmstream.idl
\
mscoree.idl
\
mshtmhst.idl
\
mshtml.idl
\
msinkaut.idl
\
...
...
@@ -85,6 +86,7 @@ SRCDIR_INCLUDES = \
commctrl.h
\
commdlg.h
\
compobj.h
\
cor.h
\
cpl.h
\
custcntl.h
\
cvconst.h
\
...
...
include/cor.h
0 → 100644
View file @
402b8f0d
/*
* Copyright (C) 2007 Francois Gouget
*
* 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 __WINE_COR_H
#define __WINE_COR_H
#include "ole2.h"
/* FIXME: #include "specstrings.h" */
/* FIXME: #include "corerror.h" */
/* FIXME: #include "corhdr.h" */
#ifdef __cplusplus
extern
"C"
{
#endif
BOOL
WINAPI
_CorDllMain
(
HINSTANCE
,
DWORD
,
LPVOID
);
__int32
WINAPI
_CorExeMain
(
void
);
__int32
WINAPI
_CorExeMain2
(
PBYTE
,
DWORD
,
LPWSTR
,
LPWSTR
,
LPWSTR
);
VOID
WINAPI
_CorImageUnloading
(
PVOID
);
HRESULT
WINAPI
_CorValidateImage
(
PVOID
*
,
LPCWSTR
);
HRESULT
WINAPI
CoInitializeCor
(
DWORD
);
void
WINAPI
CoUninitializeCor
(
void
);
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_COR_H */
include/mscoree.idl
0 → 100644
View file @
402b8f0d
/*
*
Copyright
(
C
)
2007
Francois
Gouget
*
*
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
*/
cpp_quote
(
"/* FIXME: #include <gcghost.h> */"
)
cpp_quote
(
"/* FIXME: #include <ivalidator.h> */"
)
cpp_quote
(
"HRESULT WINAPI CorBindToRuntimeHost(LPCWSTR,LPCWSTR,LPCWSTR,VOID*,DWORD,REFCLSID,REFIID,LPVOID*);"
)
cpp_quote
(
"void WINAPI CorExitProcess(int);"
)
cpp_quote
(
"HRESULT WINAPI GetCORSystemDirectory(LPWSTR,DWORD,DWORD*);"
)
cpp_quote
(
"HRESULT WINAPI GetCORVersion(LPWSTR,DWORD,DWORD*);"
)
cpp_quote
(
"HRESULT WINAPI GetRequestedRuntimeInfo(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPWSTR,DWORD,DWORD*,LPWSTR,DWORD,DWORD*);"
)
cpp_quote
(
"HRESULT WINAPI LoadLibraryShim(LPCWSTR,LPCWSTR,LPVOID,HMODULE*);"
)
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