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
b9ecbb61
Commit
b9ecbb61
authored
May 23, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
May 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Marshal objects & monikers into the ROT.
- Test for this behaviour.
parent
0d64267e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
1 deletion
+31
-1
moniker.c
dlls/ole32/moniker.c
+0
-0
marshal.c
dlls/ole32/tests/marshal.c
+31
-1
No files found.
dlls/ole32/moniker.c
View file @
b9ecbb61
This diff is collapsed.
Click to expand it.
dlls/ole32/tests/marshal.c
View file @
b9ecbb61
...
...
@@ -1540,6 +1540,33 @@ static void test_out_of_process_com()
}
#endif
static
void
test_ROT
()
{
static
const
WCHAR
wszFileName
[]
=
{
'B'
,
'E'
,
'2'
,
'0'
,
'E'
,
'2'
,
'F'
,
'5'
,
'-'
,
'1'
,
'9'
,
'0'
,
'3'
,
'-'
,
'4'
,
'A'
,
'A'
,
'E'
,
'-'
,
'B'
,
'1'
,
'A'
,
'F'
,
'-'
,
'2'
,
'0'
,
'4'
,
'6'
,
'E'
,
'5'
,
'8'
,
'6'
,
'C'
,
'9'
,
'2'
,
'5'
,
0
};
HRESULT
hr
;
IMoniker
*
pMoniker
=
NULL
;
IRunningObjectTable
*
pROT
=
NULL
;
DWORD
dwCookie
;
cLocks
=
0
;
hr
=
CreateFileMoniker
(
wszFileName
,
&
pMoniker
);
ok_ole_success
(
hr
,
CreateClassMoniker
);
hr
=
GetRunningObjectTable
(
0
,
&
pROT
);
ok_ole_success
(
hr
,
GetRunningObjectTable
);
hr
=
IRunningObjectTable_Register
(
pROT
,
0
,
(
IUnknown
*
)
&
Test_ClassFactory
,
pMoniker
,
&
dwCookie
);
ok_ole_success
(
hr
,
IRunningObjectTable_Register
);
ok_more_than_one_lock
();
hr
=
IRunningObjectTable_Revoke
(
pROT
,
dwCookie
);
ok_ole_success
(
hr
,
IRunningObjectTable_Revoke
);
ok_no_locks
();
}
START_TEST
(
marshal
)
{
HMODULE
hOle32
=
GetModuleHandle
(
"ole32"
);
...
...
@@ -1575,10 +1602,13 @@ START_TEST(marshal)
test_bad_marshal_stream
();
test_proxy_interfaces
();
test_stubbuffer
(
&
IID_IClassFactory
);
/* FIXME: test GIT */
test_message_reentrancy
();
/* test_out_of_process_com(); */
test_ROT
();
/* FIXME: test GIT */
CoUninitialize
();
return
;
...
...
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