Hans Leidekker : advapi32: Return a fake handle from LogonUserW.

Alexandre Julliard julliard at winehq.org
Wed Nov 13 13:34:40 CST 2013


Module: wine
Branch: master
Commit: 02970b578eb3bd46810508f622437e107abc541d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=02970b578eb3bd46810508f622437e107abc541d

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed Nov 13 15:31:54 2013 +0100

advapi32: Return a fake handle from LogonUserW.

---

 dlls/advapi32/advapi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/advapi32/advapi.c b/dlls/advapi32/advapi.c
index 7025a21..860c728 100644
--- a/dlls/advapi32/advapi.c
+++ b/dlls/advapi32/advapi.c
@@ -280,6 +280,7 @@ BOOL WINAPI LogonUserW( LPCWSTR lpszUsername, LPCWSTR lpszDomain, LPCWSTR lpszPa
     FIXME("%s %s %p 0x%08x 0x%08x %p - stub\n", debugstr_w(lpszUsername),
           debugstr_w(lpszDomain), lpszPassword, dwLogonType, dwLogonProvider, phToken);
 
+    *phToken = (HANDLE *)0xdeadbeef;
     return TRUE;
 }
 




More information about the wine-cvs mailing list