From defbdf76e5d01c6e134edd0bc2589f6d7d10ad61 Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Tue, 27 Nov 2007 20:48:53 +0000 Subject: [PATCH] advapi32: Add stub for CreateProcessWithLogonW. --- dlls/advapi32/advapi32.spec | 2 +- dlls/advapi32/security.c | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec index 97241132ae7..1a346b5a105 100644 --- a/dlls/advapi32/advapi32.spec +++ b/dlls/advapi32/advapi32.spec @@ -96,7 +96,7 @@ @ stdcall CreateProcessAsUserA(long str str ptr ptr long long ptr str ptr ptr) # @ stub CreateProcessAsUserSecure @ stdcall CreateProcessAsUserW(long str str ptr ptr long long ptr str ptr ptr) -# @ stub CreateProcessWithLogonW +@ stdcall CreateProcessWithLogonW(wstr wstr wstr long wstr wstr long ptr wstr ptr ptr) # @ stub CreateRestrictedToken @ stdcall CreateServiceA(long ptr ptr long long long long ptr ptr ptr ptr ptr ptr) @ stdcall CreateServiceW (long ptr ptr long long long long ptr ptr ptr ptr ptr ptr) diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index 4fdbb54eb0d..9b32fdd49a4 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -4252,6 +4252,21 @@ BOOL WINAPI CreateProcessAsUserW( return TRUE; } +/****************************************************************************** + * CreateProcessWithLogonW + */ +BOOL WINAPI CreateProcessWithLogonW( LPCWSTR lpUsername, LPCWSTR lpDomain, LPCWSTR lpPassword, DWORD dwLogonFlags, + LPCWSTR lpApplicationName, LPWSTR lpCommandLine, DWORD dwCreationFlags, LPVOID lpEnvironment, + LPCWSTR lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation ) +{ + FIXME("%s %s %s 0x%08x %s %s 0x%08x %p %s %p %p stub\n", debugstr_w(lpUsername), debugstr_w(lpDomain), + debugstr_w(lpPassword), dwLogonFlags, debugstr_w(lpApplicationName), + debugstr_w(lpCommandLine), dwCreationFlags, lpEnvironment, debugstr_w(lpCurrentDirectory), + lpStartupInfo, lpProcessInformation); + + return FALSE; +} + /****************************************************************************** * DuplicateTokenEx [ADVAPI32.@] */