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
1593bdf9
Commit
1593bdf9
authored
Jan 22, 2013
by
Ričardas Barkauskas
Committed by
Alexandre Julliard
Jan 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Partially implement CreateProcessWithTokenW.
parent
2c041185
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
advapi32.spec
dlls/advapi32/advapi32.spec
+1
-1
security.c
dlls/advapi32/security.c
+14
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
1593bdf9
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
# @ stub CreateProcessAsUserSecure
# @ stub CreateProcessAsUserSecure
@ stdcall CreateProcessAsUserW(long wstr wstr ptr ptr long long ptr wstr ptr ptr)
@ stdcall CreateProcessAsUserW(long wstr wstr ptr ptr long long ptr wstr ptr ptr)
@ stdcall CreateProcessWithLogonW(wstr wstr wstr long wstr wstr long ptr wstr ptr ptr)
@ stdcall CreateProcessWithLogonW(wstr wstr wstr long wstr wstr long ptr wstr ptr ptr)
# @ stub CreateProcessWithTokenW
@ stdcall CreateProcessWithTokenW(long long wstr wstr long ptr wstr ptr ptr)
@ stdcall CreateRestrictedToken(long long long ptr long ptr long ptr ptr)
@ stdcall CreateRestrictedToken(long long long ptr long ptr long ptr ptr)
@ stdcall CreateServiceA(long str str long long long long str str ptr str str str)
@ stdcall CreateServiceA(long str str long long long long str str ptr str str str)
@ stdcall CreateServiceW(long wstr wstr long long long long wstr wstr ptr wstr wstr wstr)
@ stdcall CreateServiceW(long wstr wstr long long long long wstr wstr ptr wstr wstr wstr)
...
...
dlls/advapi32/security.c
View file @
1593bdf9
...
@@ -5275,6 +5275,20 @@ BOOL WINAPI CreateProcessWithLogonW( LPCWSTR lpUsername, LPCWSTR lpDomain, LPCWS
...
@@ -5275,6 +5275,20 @@ BOOL WINAPI CreateProcessWithLogonW( LPCWSTR lpUsername, LPCWSTR lpDomain, LPCWS
return
FALSE
;
return
FALSE
;
}
}
BOOL
WINAPI
CreateProcessWithTokenW
(
HANDLE
token
,
DWORD
logon_flags
,
LPCWSTR
application_name
,
LPWSTR
command_line
,
DWORD
creation_flags
,
void
*
environment
,
LPCWSTR
current_directory
,
STARTUPINFOW
*
startup_info
,
PROCESS_INFORMATION
*
process_information
)
{
FIXME
(
"%p 0x%08x %s %s 0x%08x %p %s %p %p - semi-stub
\n
"
,
token
,
logon_flags
,
debugstr_w
(
application_name
),
debugstr_w
(
command_line
),
creation_flags
,
environment
,
debugstr_w
(
current_directory
),
startup_info
,
process_information
);
/* FIXME: check if handles should be inherited */
return
CreateProcessW
(
application_name
,
command_line
,
NULL
,
NULL
,
FALSE
,
creation_flags
,
environment
,
current_directory
,
startup_info
,
process_information
);
}
/******************************************************************************
/******************************************************************************
* DuplicateTokenEx [ADVAPI32.@]
* DuplicateTokenEx [ADVAPI32.@]
*/
*/
...
...
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