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
8c34da22
Commit
8c34da22
authored
Dec 11, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscoree: Add a stub implementation for CorExitProcess and GetRequestedRuntimeInfo.
parent
50f4edae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
3 deletions
+20
-3
mscoree.spec
dlls/mscoree/mscoree.spec
+2
-2
mscoree_main.c
dlls/mscoree/mscoree_main.c
+18
-1
No files found.
dlls/mscoree/mscoree.spec
View file @
8c34da22
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
@ stub CorBindToRuntimeEx
@ stub CorBindToRuntimeEx
@ stdcall CorBindToRuntimeHost(wstr wstr wstr ptr long ptr ptr ptr)
@ stdcall CorBindToRuntimeHost(wstr wstr wstr ptr long ptr ptr ptr)
@ stub CorDllMainWorker
@ stub CorDllMainWorker
@ st
ub CorExitProcess
@ st
dcall CorExitProcess(long)
@ stub CorGetSvc
@ stub CorGetSvc
@ stub CorIsLatestSvc
@ stub CorIsLatestSvc
@ stub CorMarkThreadInThreadPool
@ stub CorMarkThreadInThreadPool
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
@ stub GetPrivateContextsPerfCounters
@ stub GetPrivateContextsPerfCounters
@ stub GetProcessExecutableHeap
@ stub GetProcessExecutableHeap
@ stub GetRealProcAddress
@ stub GetRealProcAddress
@ st
ub GetRequestedRuntimeInfo
@ st
dcall GetRequestedRuntimeInfo(wstr wstr wstr long long ptr long ptr ptr long ptr)
@ stub GetRequestedRuntimeVersion
@ stub GetRequestedRuntimeVersion
@ stub GetRequestedRuntimeVersionForCLSID
@ stub GetRequestedRuntimeVersionForCLSID
@ stub GetStartupFlags
@ stub GetStartupFlags
...
...
dlls/mscoree/mscoree_main.c
View file @
8c34da22
...
@@ -175,6 +175,12 @@ int WINAPI _CorExeMain2(PBYTE ptrMemory, DWORD cntMemory, LPCWSTR imageName, LPC
...
@@ -175,6 +175,12 @@ int WINAPI _CorExeMain2(PBYTE ptrMemory, DWORD cntMemory, LPCWSTR imageName, LPC
return
-
1
;
return
-
1
;
}
}
void
WINAPI
CorExitProcess
(
int
exitCode
)
{
FIXME
(
"(%x) stub
\n
"
,
exitCode
);
ExitProcess
(
exitCode
);
}
void
WINAPI
_CorImageUnloading
(
LPCVOID
*
imageBase
)
void
WINAPI
_CorImageUnloading
(
LPCVOID
*
imageBase
)
{
{
TRACE
(
"(%p): stub
\n
"
,
imageBase
);
TRACE
(
"(%p): stub
\n
"
,
imageBase
);
...
@@ -206,10 +212,21 @@ HRESULT WINAPI GetCORVersion(LPWSTR pbuffer, DWORD cchBuffer, DWORD *dwLength)
...
@@ -206,10 +212,21 @@ HRESULT WINAPI GetCORVersion(LPWSTR pbuffer, DWORD cchBuffer, DWORD *dwLength)
return
S_OK
;
return
S_OK
;
}
}
HRESULT
WINAPI
GetRequestedRuntimeInfo
(
LPCWSTR
pExe
,
LPCWSTR
pwszVersion
,
LPCWSTR
pConfigurationFile
,
DWORD
startupFlags
,
DWORD
runtimeInfoFlags
,
LPWSTR
pDirectory
,
DWORD
dwDirectory
,
DWORD
*
dwDirectoryLength
,
LPWSTR
pVersion
,
DWORD
cchBuffer
,
DWORD
*
dwlength
)
{
FIXME
(
"(%s, %s, %s, 0x%08x, 0x%08x, %p, 0x%08x, %p, %p, 0x%08x, %p) stub
\n
"
,
debugstr_w
(
pExe
),
debugstr_w
(
pwszVersion
),
debugstr_w
(
pConfigurationFile
),
startupFlags
,
runtimeInfoFlags
,
pDirectory
,
dwDirectory
,
dwDirectoryLength
,
pVersion
,
cchBuffer
,
dwlength
);
return
GetCORVersion
(
pVersion
,
cchBuffer
,
dwlength
);
}
HRESULT
WINAPI
LoadLibraryShim
(
LPCWSTR
szDllName
,
LPCWSTR
szVersion
,
LPVOID
pvReserved
,
HMODULE
*
phModDll
)
HRESULT
WINAPI
LoadLibraryShim
(
LPCWSTR
szDllName
,
LPCWSTR
szVersion
,
LPVOID
pvReserved
,
HMODULE
*
phModDll
)
{
{
*
phModDll
=
LoadLibraryW
(
szDllName
);
FIXME
(
"(%p %s, %p, %p, %p): semi-stub
\n
"
,
szDllName
,
debugstr_w
(
szDllName
),
szVersion
,
pvReserved
,
phModDll
);
FIXME
(
"(%p %s, %p, %p, %p): semi-stub
\n
"
,
szDllName
,
debugstr_w
(
szDllName
),
szVersion
,
pvReserved
,
phModDll
);
if
(
phModDll
)
*
phModDll
=
LoadLibraryW
(
szDllName
);
return
S_OK
;
return
S_OK
;
}
}
...
...
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