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
9a14c4a6
Commit
9a14c4a6
authored
Nov 28, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscoree: Remove DECLSPEC_HIDDEN usage.
parent
b70154a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
63 deletions
+63
-63
mscoree_private.h
dlls/mscoree/mscoree_private.h
+63
-63
No files found.
dlls/mscoree/mscoree_private.h
View file @
9a14c4a6
...
...
@@ -20,13 +20,13 @@
#ifndef __MSCOREE_PRIVATE__
#define __MSCOREE_PRIVATE__
extern
char
*
WtoA
(
LPCWSTR
wstr
)
DECLSPEC_HIDDEN
;
extern
char
*
WtoA
(
LPCWSTR
wstr
);
extern
HRESULT
CLRMetaHost_CreateInstance
(
REFIID
riid
,
void
**
ppobj
)
DECLSPEC_HIDDEN
;
extern
HRESULT
CLRMetaHostPolicy_CreateInstance
(
REFIID
riid
,
void
**
ppobj
)
DECLSPEC_HIDDEN
;
extern
HRESULT
CLRMetaHost_CreateInstance
(
REFIID
riid
,
void
**
ppobj
);
extern
HRESULT
CLRMetaHostPolicy_CreateInstance
(
REFIID
riid
,
void
**
ppobj
);
extern
HRESULT
WINAPI
CLRMetaHost_GetVersionFromFile
(
ICLRMetaHost
*
iface
,
LPCWSTR
pwzFilePath
,
LPWSTR
pwzBuffer
,
DWORD
*
pcchBuffer
)
DECLSPEC_HIDDEN
;
LPCWSTR
pwzFilePath
,
LPWSTR
pwzBuffer
,
DWORD
*
pcchBuffer
);
typedef
struct
_VTableFixup
{
DWORD
rva
;
...
...
@@ -38,12 +38,12 @@ typedef struct tagASSEMBLY ASSEMBLY;
typedef
BOOL
(
WINAPI
*
NativeEntryPointFunc
)(
HINSTANCE
,
DWORD
,
LPVOID
);
extern
HRESULT
assembly_create
(
ASSEMBLY
**
out
,
LPCWSTR
file
)
DECLSPEC_HIDDEN
;
extern
HRESULT
assembly_from_hmodule
(
ASSEMBLY
**
out
,
HMODULE
hmodule
)
DECLSPEC_HIDDEN
;
extern
HRESULT
assembly_release
(
ASSEMBLY
*
assembly
)
DECLSPEC_HIDDEN
;
extern
HRESULT
assembly_get_runtime_version
(
ASSEMBLY
*
assembly
,
LPSTR
*
version
)
DECLSPEC_HIDDEN
;
extern
HRESULT
assembly_get_vtable_fixups
(
ASSEMBLY
*
assembly
,
VTableFixup
**
fixups
,
DWORD
*
count
)
DECLSPEC_HIDDEN
;
extern
HRESULT
assembly_get_native_entrypoint
(
ASSEMBLY
*
assembly
,
NativeEntryPointFunc
*
func
)
DECLSPEC_HIDDEN
;
extern
HRESULT
assembly_create
(
ASSEMBLY
**
out
,
LPCWSTR
file
);
extern
HRESULT
assembly_from_hmodule
(
ASSEMBLY
**
out
,
HMODULE
hmodule
);
extern
HRESULT
assembly_release
(
ASSEMBLY
*
assembly
);
extern
HRESULT
assembly_get_runtime_version
(
ASSEMBLY
*
assembly
,
LPSTR
*
version
);
extern
HRESULT
assembly_get_vtable_fixups
(
ASSEMBLY
*
assembly
,
VTableFixup
**
fixups
,
DWORD
*
count
);
extern
HRESULT
assembly_get_native_entrypoint
(
ASSEMBLY
*
assembly
,
NativeEntryPointFunc
*
func
);
#define WINE_MONO_VERSION "8.1.0"
...
...
@@ -104,15 +104,15 @@ typedef struct CorDebug
extern
HRESULT
get_runtime_info
(
LPCWSTR
exefile
,
LPCWSTR
version
,
LPCWSTR
config_file
,
IStream
*
config_stream
,
DWORD
startup_flags
,
DWORD
runtimeinfo_flags
,
BOOL
legacy
,
ICLRRuntimeInfo
**
result
)
DECLSPEC_HIDDEN
;
ICLRRuntimeInfo
**
result
);
extern
BOOL
get_mono_path
(
LPWSTR
path
,
BOOL
skip_local
)
DECLSPEC_HIDDEN
;
extern
BOOL
get_mono_path
(
LPWSTR
path
,
BOOL
skip_local
);
extern
MonoDomain
*
get_root_domain
(
void
);
extern
HRESULT
ICLRRuntimeInfo_GetRuntimeHost
(
ICLRRuntimeInfo
*
iface
,
RuntimeHost
**
result
)
DECLSPEC_HIDDEN
;
extern
HRESULT
ICLRRuntimeInfo_GetRuntimeHost
(
ICLRRuntimeInfo
*
iface
,
RuntimeHost
**
result
);
extern
HRESULT
MetaDataDispenser_CreateInstance
(
IUnknown
**
ppUnk
)
DECLSPEC_HIDDEN
;
extern
HRESULT
MetaDataDispenser_CreateInstance
(
IUnknown
**
ppUnk
);
typedef
struct
parsed_config_file
{
...
...
@@ -128,11 +128,11 @@ typedef struct supported_runtime
extern
WCHAR
**
private_path
;
extern
HRESULT
parse_config_file
(
LPCWSTR
filename
,
parsed_config_file
*
result
)
DECLSPEC_HIDDEN
;
extern
HRESULT
parse_config_file
(
LPCWSTR
filename
,
parsed_config_file
*
result
);
extern
HRESULT
parse_config_stream
(
IStream
*
stream
,
parsed_config_file
*
result
)
DECLSPEC_HIDDEN
;
extern
HRESULT
parse_config_stream
(
IStream
*
stream
,
parsed_config_file
*
result
);
extern
void
free_parsed_config_file
(
parsed_config_file
*
file
)
DECLSPEC_HIDDEN
;
extern
void
free_parsed_config_file
(
parsed_config_file
*
file
);
typedef
enum
{
MONO_IMAGE_OK
,
...
...
@@ -166,66 +166,66 @@ typedef enum {
MONO_AOT_MODE_INTERP_ONLY
}
MonoAotMode
;
extern
BOOL
is_mono_started
DECLSPEC_HIDDEN
;
extern
MonoImage
*
(
CDECL
*
mono_assembly_get_image
)(
MonoAssembly
*
assembly
)
DECLSPEC_HIDDEN
;
extern
MonoAssembly
*
(
CDECL
*
mono_assembly_load_from
)(
MonoImage
*
image
,
const
char
*
fname
,
MonoImageOpenStatus
*
status
)
DECLSPEC_HIDDEN
;
extern
const
char
*
(
CDECL
*
mono_assembly_name_get_name
)(
MonoAssemblyName
*
aname
)
DECLSPEC_HIDDEN
;
extern
MonoAssembly
*
(
CDECL
*
mono_assembly_open
)(
const
char
*
filename
,
MonoImageOpenStatus
*
status
)
DECLSPEC_HIDDEN
;
extern
void
(
CDECL
*
mono_callspec_set_assembly
)(
MonoAssembly
*
assembly
)
DECLSPEC_HIDDEN
;
extern
MonoClass
*
(
CDECL
*
mono_class_from_mono_type
)(
MonoType
*
type
)
DECLSPEC_HIDDEN
;
extern
MonoClass
*
(
CDECL
*
mono_class_from_name
)(
MonoImage
*
image
,
const
char
*
name_space
,
const
char
*
name
)
DECLSPEC_HIDDEN
;
extern
MonoMethod
*
(
CDECL
*
mono_class_get_method_from_name
)(
MonoClass
*
klass
,
const
char
*
name
,
int
param_count
)
DECLSPEC_HIDDEN
;
extern
MonoDomain
*
(
CDECL
*
mono_domain_get
)(
void
)
DECLSPEC_HIDDEN
;
extern
MonoDomain
*
(
CDECL
*
mono_domain_get_by_id
)(
int
id
)
DECLSPEC_HIDDEN
;
extern
BOOL
(
CDECL
*
mono_domain_set
)(
MonoDomain
*
domain
,
BOOL
force
)
DECLSPEC_HIDDEN
;
extern
void
(
CDECL
*
mono_domain_set_config
)(
MonoDomain
*
domain
,
const
char
*
base_dir
,
const
char
*
config_file_name
)
DECLSPEC_HIDDEN
;
extern
MonoImage
*
(
CDECL
*
mono_get_corlib
)(
void
)
DECLSPEC_HIDDEN
;
extern
int
(
CDECL
*
mono_jit_exec
)(
MonoDomain
*
domain
,
MonoAssembly
*
assembly
,
int
argc
,
char
*
argv
[])
DECLSPEC_HIDDEN
;
extern
MonoDomain
*
(
CDECL
*
mono_jit_init_version
)(
const
char
*
domain_name
,
const
char
*
runtime_version
)
DECLSPEC_HIDDEN
;
extern
MonoImage
*
(
CDECL
*
mono_image_open_from_module_handle
)(
HMODULE
module_handle
,
char
*
fname
,
UINT
has_entry_point
,
MonoImageOpenStatus
*
status
)
DECLSPEC_HIDDEN
;
extern
void
*
(
CDECL
*
mono_marshal_get_vtfixup_ftnptr
)(
MonoImage
*
image
,
DWORD
token
,
WORD
type
)
DECLSPEC_HIDDEN
;
extern
MonoDomain
*
(
CDECL
*
mono_object_get_domain
)(
MonoObject
*
obj
)
DECLSPEC_HIDDEN
;
extern
MonoMethod
*
(
CDECL
*
mono_object_get_virtual_method
)(
MonoObject
*
obj
,
MonoMethod
*
method
)
DECLSPEC_HIDDEN
;
extern
MonoObject
*
(
CDECL
*
mono_object_new
)(
MonoDomain
*
domain
,
MonoClass
*
klass
)
DECLSPEC_HIDDEN
;
extern
void
*
(
CDECL
*
mono_object_unbox
)(
MonoObject
*
obj
)
DECLSPEC_HIDDEN
;
extern
MonoType
*
(
CDECL
*
mono_reflection_type_from_name
)(
char
*
name
,
MonoImage
*
image
)
DECLSPEC_HIDDEN
;
extern
MonoObject
*
(
CDECL
*
mono_runtime_invoke
)(
MonoMethod
*
method
,
void
*
obj
,
void
**
params
,
MonoObject
**
exc
)
DECLSPEC_HIDDEN
;
extern
void
(
CDECL
*
mono_runtime_object_init
)(
MonoObject
*
this_obj
)
DECLSPEC_HIDDEN
;
extern
void
(
CDECL
*
mono_runtime_quit
)(
void
)
DECLSPEC_HIDDEN
;
extern
MonoString
*
(
CDECL
*
mono_string_new
)(
MonoDomain
*
domain
,
const
char
*
str
)
DECLSPEC_HIDDEN
;
extern
MonoThread
*
(
CDECL
*
mono_thread_attach
)(
MonoDomain
*
domain
)
DECLSPEC_HIDDEN
;
extern
void
(
CDECL
*
mono_thread_manage
)(
void
)
DECLSPEC_HIDDEN
;
extern
void
(
CDECL
*
mono_trace_set_print_handler
)(
MonoPrintCallback
callback
)
DECLSPEC_HIDDEN
;
extern
void
(
CDECL
*
mono_trace_set_printerr_handler
)(
MonoPrintCallback
callback
)
DECLSPEC_HIDDEN
;
extern
BOOL
is_mono_started
;
extern
MonoImage
*
(
CDECL
*
mono_assembly_get_image
)(
MonoAssembly
*
assembly
);
extern
MonoAssembly
*
(
CDECL
*
mono_assembly_load_from
)(
MonoImage
*
image
,
const
char
*
fname
,
MonoImageOpenStatus
*
status
);
extern
const
char
*
(
CDECL
*
mono_assembly_name_get_name
)(
MonoAssemblyName
*
aname
);
extern
MonoAssembly
*
(
CDECL
*
mono_assembly_open
)(
const
char
*
filename
,
MonoImageOpenStatus
*
status
);
extern
void
(
CDECL
*
mono_callspec_set_assembly
)(
MonoAssembly
*
assembly
);
extern
MonoClass
*
(
CDECL
*
mono_class_from_mono_type
)(
MonoType
*
type
);
extern
MonoClass
*
(
CDECL
*
mono_class_from_name
)(
MonoImage
*
image
,
const
char
*
name_space
,
const
char
*
name
);
extern
MonoMethod
*
(
CDECL
*
mono_class_get_method_from_name
)(
MonoClass
*
klass
,
const
char
*
name
,
int
param_count
);
extern
MonoDomain
*
(
CDECL
*
mono_domain_get
)(
void
);
extern
MonoDomain
*
(
CDECL
*
mono_domain_get_by_id
)(
int
id
);
extern
BOOL
(
CDECL
*
mono_domain_set
)(
MonoDomain
*
domain
,
BOOL
force
);
extern
void
(
CDECL
*
mono_domain_set_config
)(
MonoDomain
*
domain
,
const
char
*
base_dir
,
const
char
*
config_file_name
);
extern
MonoImage
*
(
CDECL
*
mono_get_corlib
)(
void
);
extern
int
(
CDECL
*
mono_jit_exec
)(
MonoDomain
*
domain
,
MonoAssembly
*
assembly
,
int
argc
,
char
*
argv
[]);
extern
MonoDomain
*
(
CDECL
*
mono_jit_init_version
)(
const
char
*
domain_name
,
const
char
*
runtime_version
);
extern
MonoImage
*
(
CDECL
*
mono_image_open_from_module_handle
)(
HMODULE
module_handle
,
char
*
fname
,
UINT
has_entry_point
,
MonoImageOpenStatus
*
status
);
extern
void
*
(
CDECL
*
mono_marshal_get_vtfixup_ftnptr
)(
MonoImage
*
image
,
DWORD
token
,
WORD
type
);
extern
MonoDomain
*
(
CDECL
*
mono_object_get_domain
)(
MonoObject
*
obj
);
extern
MonoMethod
*
(
CDECL
*
mono_object_get_virtual_method
)(
MonoObject
*
obj
,
MonoMethod
*
method
);
extern
MonoObject
*
(
CDECL
*
mono_object_new
)(
MonoDomain
*
domain
,
MonoClass
*
klass
);
extern
void
*
(
CDECL
*
mono_object_unbox
)(
MonoObject
*
obj
);
extern
MonoType
*
(
CDECL
*
mono_reflection_type_from_name
)(
char
*
name
,
MonoImage
*
image
);
extern
MonoObject
*
(
CDECL
*
mono_runtime_invoke
)(
MonoMethod
*
method
,
void
*
obj
,
void
**
params
,
MonoObject
**
exc
);
extern
void
(
CDECL
*
mono_runtime_object_init
)(
MonoObject
*
this_obj
);
extern
void
(
CDECL
*
mono_runtime_quit
)(
void
);
extern
MonoString
*
(
CDECL
*
mono_string_new
)(
MonoDomain
*
domain
,
const
char
*
str
);
extern
MonoThread
*
(
CDECL
*
mono_thread_attach
)(
MonoDomain
*
domain
);
extern
void
(
CDECL
*
mono_thread_manage
)(
void
);
extern
void
(
CDECL
*
mono_trace_set_print_handler
)(
MonoPrintCallback
callback
);
extern
void
(
CDECL
*
mono_trace_set_printerr_handler
)(
MonoPrintCallback
callback
);
/* loaded runtime interfaces */
extern
void
expect_no_runtimes
(
void
)
DECLSPEC_HIDDEN
;
extern
void
expect_no_runtimes
(
void
);
extern
HRESULT
RuntimeHost_Construct
(
CLRRuntimeInfo
*
runtime_version
,
RuntimeHost
**
result
)
DECLSPEC_HIDDEN
;
extern
HRESULT
RuntimeHost_Construct
(
CLRRuntimeInfo
*
runtime_version
,
RuntimeHost
**
result
);
extern
void
RuntimeHost_ExitProcess
(
RuntimeHost
*
This
,
INT
exitcode
)
DECLSPEC_HIDDEN
;
extern
void
RuntimeHost_ExitProcess
(
RuntimeHost
*
This
,
INT
exitcode
);
extern
HRESULT
RuntimeHost_GetInterface
(
RuntimeHost
*
This
,
REFCLSID
clsid
,
REFIID
riid
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
extern
HRESULT
RuntimeHost_GetInterface
(
RuntimeHost
*
This
,
REFCLSID
clsid
,
REFIID
riid
,
void
**
ppv
);
extern
HRESULT
RuntimeHost_GetIUnknownForObject
(
RuntimeHost
*
This
,
MonoObject
*
obj
,
IUnknown
**
ppUnk
)
DECLSPEC_HIDDEN
;
extern
HRESULT
RuntimeHost_GetIUnknownForObject
(
RuntimeHost
*
This
,
MonoObject
*
obj
,
IUnknown
**
ppUnk
);
extern
HRESULT
RuntimeHost_CreateManagedInstance
(
RuntimeHost
*
This
,
LPCWSTR
name
,
MonoDomain
*
domain
,
MonoObject
**
result
)
DECLSPEC_HIDDEN
;
MonoDomain
*
domain
,
MonoObject
**
result
);
HRESULT
WINAPI
CLRMetaHost_ExitProcess
(
ICLRMetaHost
*
iface
,
INT32
iExitCode
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
CLRMetaHost_ExitProcess
(
ICLRMetaHost
*
iface
,
INT32
iExitCode
);
HRESULT
WINAPI
CLRMetaHost_GetRuntime
(
ICLRMetaHost
*
iface
,
LPCWSTR
pwzVersion
,
REFIID
iid
,
LPVOID
*
ppRuntime
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
CLRMetaHost_GetRuntime
(
ICLRMetaHost
*
iface
,
LPCWSTR
pwzVersion
,
REFIID
iid
,
LPVOID
*
ppRuntime
);
extern
HRESULT
CorDebug_Create
(
ICLRRuntimeHost
*
runtimehost
,
IUnknown
**
ppUnk
)
DECLSPEC_HIDDEN
;
extern
HRESULT
CorDebug_Create
(
ICLRRuntimeHost
*
runtimehost
,
IUnknown
**
ppUnk
);
extern
HRESULT
create_monodata
(
REFCLSID
clsid
,
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
extern
HRESULT
create_monodata
(
REFCLSID
clsid
,
LPVOID
*
ppObj
);
extern
HRESULT
get_file_from_strongname
(
WCHAR
*
stringnameW
,
WCHAR
*
assemblies_path
,
int
path_length
)
DECLSPEC_HIDDEN
;
extern
HRESULT
get_file_from_strongname
(
WCHAR
*
stringnameW
,
WCHAR
*
assemblies_path
,
int
path_length
);
extern
void
runtimehost_init
(
void
)
DECLSPEC_HIDDEN
;
extern
void
runtimehost_uninit
(
void
)
DECLSPEC_HIDDEN
;
extern
void
runtimehost_init
(
void
);
extern
void
runtimehost_uninit
(
void
);
extern
void
CDECL
mono_print_handler_fn
(
const
char
*
string
,
INT
is_stdout
)
DECLSPEC_HIDDEN
;
extern
void
CDECL
mono_print_handler_fn
(
const
char
*
string
,
INT
is_stdout
);
#endif
/* __MSCOREE_PRIVATE__ */
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