Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
403d8e23
Commit
403d8e23
authored
Feb 14, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Feb 14, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make Ole tests run on Windows 95.
parent
c79342a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
marshal.c
dlls/ole32/tests/marshal.c
+5
-5
No files found.
dlls/ole32/tests/marshal.c
View file @
403d8e23
...
...
@@ -497,7 +497,7 @@ static void test_marshal_proxy_mta_apartment_shutdown()
HANDLE
thread
;
CoUninitialize
();
CoInitializeEx
(
NULL
,
COINIT_MULTITHREADED
);
p
CoInitializeEx
(
NULL
,
COINIT_MULTITHREADED
);
cLocks
=
0
;
...
...
@@ -506,7 +506,7 @@ static void test_marshal_proxy_mta_apartment_shutdown()
tid
=
start_host_object
(
pStream
,
&
IID_IClassFactory
,
(
IUnknown
*
)
&
Test_ClassFactory
,
MSHLFLAGS_NORMAL
,
&
thread
);
ok_more_than_one_lock
();
IStream_Seek
(
pStream
,
ullZero
,
STREAM_SEEK_SET
,
NULL
);
hr
=
CoUnmarshalInterface
(
pStream
,
&
IID_IClassFactory
,
(
void
**
)
&
pProxy
);
ok_ole_success
(
hr
,
CoUnmarshalInterface
);
...
...
@@ -524,7 +524,7 @@ static void test_marshal_proxy_mta_apartment_shutdown()
end_host_object
(
tid
,
thread
);
CoInitializeEx
(
NULL
,
COINIT_APARTMENTTHREADED
);
p
CoInitializeEx
(
NULL
,
COINIT_APARTMENTTHREADED
);
}
struct
ncu_params
...
...
@@ -540,7 +540,7 @@ static DWORD CALLBACK no_couninitialize_proc(LPVOID p)
struct
ncu_params
*
ncu_params
=
(
struct
ncu_params
*
)
p
;
HRESULT
hr
;
CoInitializeEx
(
NULL
,
COINIT_MULTITHREADED
);
p
CoInitializeEx
(
NULL
,
COINIT_MULTITHREADED
);
hr
=
CoMarshalInterface
(
ncu_params
->
stream
,
&
IID_IClassFactory
,
(
IUnknown
*
)
&
Test_ClassFactory
,
MSHCTX_INPROC
,
NULL
,
MSHLFLAGS_NORMAL
);
ok_ole_success
(
hr
,
CoMarshalInterface
);
...
...
@@ -912,7 +912,7 @@ static DWORD CALLBACK bad_thread_proc(LPVOID p)
HRESULT
hr
;
IUnknown
*
proxy
=
NULL
;
CoInitializeEx
(
NULL
,
COINIT_MULTITHREADED
);
p
CoInitializeEx
(
NULL
,
COINIT_MULTITHREADED
);
hr
=
IClassFactory_CreateInstance
(
cf
,
NULL
,
&
IID_IUnknown
,
(
LPVOID
*
)
&
proxy
);
if
(
proxy
)
IUnknown_Release
(
proxy
);
...
...
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