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
43adec3e
Commit
43adec3e
authored
Jul 26, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Added a number of activation context tests.
parent
a8fd94b1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Makefile.in
dlls/kernel32/tests/Makefile.in
+1
-0
actctx.c
dlls/kernel32/tests/actctx.c
+0
-0
actctx.c
dlls/ntdll/actctx.c
+3
-4
No files found.
dlls/kernel32/tests/Makefile.in
View file @
43adec3e
...
...
@@ -6,6 +6,7 @@ TESTDLL = kernel32.dll
IMPORTS
=
advapi32 kernel32
CTESTS
=
\
actctx.c
\
alloc.c
\
atom.c
\
change.c
\
...
...
dlls/kernel32/tests/actctx.c
0 → 100644
View file @
43adec3e
This diff is collapsed.
Click to expand it.
dlls/ntdll/actctx.c
View file @
43adec3e
...
...
@@ -534,7 +534,7 @@ static WCHAR *build_assembly_id( const struct assembly_identity *ai )
static
const
WCHAR
archW
[]
=
{
','
,
'p'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
'o'
,
'r'
,
'A'
,
'r'
,
'c'
,
'h'
,
'i'
,
't'
,
'e'
,
'c'
,
't'
,
'u'
,
'r'
,
'e'
,
'='
,
0
};
static
const
WCHAR
public_keyW
[]
=
{
','
,
'p'
,
'u'
,
'b'
,
'l'
,
'i'
,
'c'
,
'K'
,
'e'
,
'y'
,
'T'
,
'o'
,
'k'
,
'e'
,
'n'
,
'='
,
'"'
,
0
};
{
','
,
'p'
,
'u'
,
'b'
,
'l'
,
'i'
,
'c'
,
'K'
,
'e'
,
'y'
,
'T'
,
'o'
,
'k'
,
'e'
,
'n'
,
'='
,
0
};
static
const
WCHAR
typeW
[]
=
{
','
,
't'
,
'y'
,
'p'
,
'e'
,
'='
,
'"'
,
'w'
,
'i'
,
'n'
,
'3'
,
'2'
,
'"'
,
0
};
static
const
WCHAR
versionW
[]
=
...
...
@@ -2127,7 +2127,7 @@ NTSTATUS WINAPI RtlCreateActivationContext( HANDLE *handle, const void *ptr )
if
((
status
=
get_module_filename
(
NtCurrentTeb
()
->
Peb
->
ImageBaseAddress
,
&
dir
,
0
)))
goto
error
;
if
((
p
=
strrchrW
(
dir
.
Buffer
,
'\\'
)))
*
p
=
0
;
if
((
p
=
strrchrW
(
dir
.
Buffer
,
'\\'
)))
p
[
1
]
=
0
;
actctx
->
appdir
.
info
=
dir
.
Buffer
;
}
...
...
@@ -2445,8 +2445,7 @@ NTSTATUS WINAPI RtlQueryInformationActivationContext( ULONG flags, HANDLE handle
return
STATUS_BUFFER_TOO_SMALL
;
}
/* FIXME: this is a big HACK */
afdi
->
ulFlags
=
(
index
>
1
)
?
16
:
ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION
;
afdi
->
ulFlags
=
0
;
/* FIXME */
afdi
->
ulEncodedAssemblyIdentityLength
=
(
id_len
-
1
)
*
sizeof
(
WCHAR
);
afdi
->
ulManifestPathType
=
assembly
->
manifest
.
type
;
afdi
->
ulManifestPathLength
=
assembly
->
manifest
.
info
?
(
path_len
-
1
)
*
sizeof
(
WCHAR
)
:
0
;
...
...
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