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
2c31fce1
Commit
2c31fce1
authored
Aug 30, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Test search with alias guid.
parent
88070acc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
actctx.c
dlls/kernel32/tests/actctx.c
+14
-2
No files found.
dlls/kernel32/tests/actctx.c
View file @
2c31fce1
...
...
@@ -1117,8 +1117,8 @@ struct comclassredirect_data {
static
void
test_find_com_redirection
(
HANDLE
handle
,
const
GUID
*
clsid
,
const
GUID
*
tlid
,
ULONG
exid
,
int
line
)
{
struct
comclassredirect_data
*
comclass
;
ACTCTX_SECTION_KEYED_DATA
data
;
struct
comclassredirect_data
*
comclass
,
*
comclass2
;
ACTCTX_SECTION_KEYED_DATA
data
,
data2
;
BOOL
ret
;
memset
(
&
data
,
0xfe
,
sizeof
(
data
));
...
...
@@ -1189,6 +1189,18 @@ todo_wine {
ok_
(
__FILE__
,
line
)(
data
.
hActCtx
==
NULL
,
"data.hActCtx=%p
\n
"
,
data
.
hActCtx
);
ok_
(
__FILE__
,
line
)(
data
.
ulAssemblyRosterIndex
==
exid
,
"data.ulAssemblyRosterIndex=%u, expected %u
\n
"
,
data
.
ulAssemblyRosterIndex
,
exid
);
/* generated guid for this class works as key guid in search */
memset
(
&
data2
,
0xfe
,
sizeof
(
data2
));
data2
.
cbSize
=
sizeof
(
data2
);
ret
=
pFindActCtxSectionGuid
(
0
,
NULL
,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION
,
&
comclass
->
alias
,
&
data2
);
ok_
(
__FILE__
,
line
)(
ret
,
"FindActCtxSectionGuid failed: %u
\n
"
,
GetLastError
());
comclass2
=
(
struct
comclassredirect_data
*
)
data2
.
lpData
;
ok_
(
__FILE__
,
line
)(
comclass
->
size
==
comclass2
->
size
,
"got wrong data length %d, expected %d
\n
"
,
comclass2
->
size
,
comclass
->
size
);
ok_
(
__FILE__
,
line
)(
!
memcmp
(
comclass
,
comclass2
,
comclass
->
size
),
"got wrong data
\n
"
);
}
static
void
test_wndclass_section
(
void
)
...
...
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