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
eb676fff
Commit
eb676fff
authored
Oct 13, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Oct 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscoree: Add stub implementations of CorBindToRuntimeHost and GetCORVersion.
parent
b2f21fa0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
2 deletions
+34
-2
mscoree.spec
dlls/mscoree/mscoree.spec
+2
-2
mscoree_main.c
dlls/mscoree/mscoree_main.c
+32
-0
No files found.
dlls/mscoree/mscoree.spec
View file @
eb676fff
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
@ stub CorBindToRuntimeByPath
@ stub CorBindToRuntimeByPath
@ stub CorBindToRuntimeByPathEx
@ stub CorBindToRuntimeByPathEx
@ stub CorBindToRuntimeEx
@ stub CorBindToRuntimeEx
@ st
ub CorBindToRuntimeHost
@ st
dcall CorBindToRuntimeHost(wstr wstr wstr ptr long ptr ptr ptr)
@ stub CorDllMainWorker
@ stub CorDllMainWorker
@ stub CorExitProcess
@ stub CorExitProcess
@ stub CorGetSvc
@ stub CorGetSvc
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
@ stub GetCORRequiredVersion
@ stub GetCORRequiredVersion
@ stub GetCORRootDirectory
@ stub GetCORRootDirectory
@ stub GetCORSystemDirectory
@ stub GetCORSystemDirectory
@ st
ub GetCORVersion
@ st
dcall GetCORVersion(wstr long ptr)
@ stub GetCompileInfo
@ stub GetCompileInfo
@ stub GetFileVersion
@ stub GetFileVersion
@ stub GetHashFromAssemblyFile
@ stub GetHashFromAssemblyFile
...
...
dlls/mscoree/mscoree_main.c
View file @
eb676fff
...
@@ -28,6 +28,18 @@
...
@@ -28,6 +28,18 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
mscoree
);
WINE_DEFAULT_DEBUG_CHANNEL
(
mscoree
);
HRESULT
WINAPI
CorBindToRuntimeHost
(
LPCWSTR
pwszVersion
,
LPCWSTR
pwszBuildFlavor
,
LPCWSTR
pwszHostConfigFile
,
VOID
*
pReserved
,
DWORD
startupFlags
,
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
)
{
FIXME
(
"(%s, %s, %s, %p, %d, %p, %p, %p): stub!
\n
"
,
debugstr_w
(
pwszVersion
),
debugstr_w
(
pwszBuildFlavor
),
debugstr_w
(
pwszHostConfigFile
),
pReserved
,
startupFlags
,
rclsid
,
riid
,
ppv
);
return
E_FAIL
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
{
TRACE
(
"(%p, %d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"(%p, %d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
@@ -83,3 +95,23 @@ DWORD _CorValidateImage(LPCVOID* imageBase, LPCWSTR imageName)
...
@@ -83,3 +95,23 @@ DWORD _CorValidateImage(LPCVOID* imageBase, LPCWSTR imageName)
TRACE
(
"(%p, %s): stub
\n
"
,
imageBase
,
debugstr_w
(
imageName
));
TRACE
(
"(%p, %s): stub
\n
"
,
imageBase
,
debugstr_w
(
imageName
));
return
E_FAIL
;
return
E_FAIL
;
}
}
HRESULT
WINAPI
GetCORVersion
(
LPWSTR
pbuffer
,
DWORD
cchBuffer
,
DWORD
*
dwLength
)
{
static
const
WCHAR
version
[]
=
{
'1'
,
'.'
,
'1'
,
'.'
,
'4'
,
'3'
,
'2'
,
'2'
,
0
};
FIXME
(
"(%p, %d, %p): semi-stub!
\n
"
,
pbuffer
,
cchBuffer
,
dwLength
);
if
(
!
dwLength
)
return
E_POINTER
;
*
dwLength
=
lstrlenW
(
version
);
if
(
cchBuffer
<
*
dwLength
)
return
ERROR_INSUFFICIENT_BUFFER
;
if
(
pbuffer
)
lstrcpyW
(
pbuffer
,
version
);
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