credui: Add stubbed out credui DLL.
This commit is contained in:
parent
e6f4514512
commit
c82fde4058
|
@ -177,6 +177,7 @@ ALL_MAKEFILES = \
|
|||
dlls/comdlg32/Makefile \
|
||||
dlls/comdlg32/tests/Makefile \
|
||||
dlls/compstui/Makefile \
|
||||
dlls/credui/Makefile \
|
||||
dlls/crtdll/Makefile \
|
||||
dlls/crypt32/Makefile \
|
||||
dlls/crypt32/tests/Makefile \
|
||||
|
@ -505,6 +506,7 @@ dlls/comctl32/tests/Makefile: dlls/comctl32/tests/Makefile.in dlls/Maketest.rule
|
|||
dlls/comdlg32/Makefile: dlls/comdlg32/Makefile.in dlls/Makedll.rules
|
||||
dlls/comdlg32/tests/Makefile: dlls/comdlg32/tests/Makefile.in dlls/Maketest.rules
|
||||
dlls/compstui/Makefile: dlls/compstui/Makefile.in dlls/Makedll.rules
|
||||
dlls/credui/Makefile: dlls/credui/Makefile.in dlls/Makedll.rules
|
||||
dlls/crtdll/Makefile: dlls/crtdll/Makefile.in dlls/Makedll.rules
|
||||
dlls/crypt32/Makefile: dlls/crypt32/Makefile.in dlls/Makedll.rules
|
||||
dlls/crypt32/tests/Makefile: dlls/crypt32/tests/Makefile.in dlls/Maketest.rules
|
||||
|
|
|
@ -1548,6 +1548,7 @@ dlls/comctl32/tests/Makefile
|
|||
dlls/comdlg32/Makefile
|
||||
dlls/comdlg32/tests/Makefile
|
||||
dlls/compstui/Makefile
|
||||
dlls/credui/Makefile
|
||||
dlls/crtdll/Makefile
|
||||
dlls/crypt32/Makefile
|
||||
dlls/crypt32/tests/Makefile
|
||||
|
|
|
@ -32,6 +32,7 @@ BASEDIRS = \
|
|||
comctl32 \
|
||||
comdlg32 \
|
||||
compstui \
|
||||
credui \
|
||||
crtdll \
|
||||
crypt32 \
|
||||
cryptdll \
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = credui.dll
|
||||
IMPORTS = kernel32
|
||||
|
||||
C_SRCS = \
|
||||
credui_main.c
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -0,0 +1,17 @@
|
|||
@ stub CredUICmdLinePromptForCredentialsA
|
||||
@ stub CredUICmdLinePromptForCredentialsW
|
||||
@ stub CredUIConfirmCredentialsA
|
||||
@ stub CredUIConfirmCredentialsW
|
||||
@ stub CredUIInitControls
|
||||
@ stub CredUIParseUserNameA
|
||||
@ stub CredUIParseUserNameW
|
||||
@ stub CredUIPromptForCredentialsA
|
||||
@ stub CredUIPromptForCredentialsW
|
||||
@ stub CredUIReadSSOCredA
|
||||
@ stub CredUIReadSSOCredW
|
||||
@ stub CredUIStoreSSOCredA
|
||||
@ stub CredUIStoreSSOCredW
|
||||
@ stub DllCanUnloadNow
|
||||
@ stub DllGetClassObject
|
||||
@ stub DllRegisterServer
|
||||
@ stub DllUnregisterServer
|
|
@ -0,0 +1,41 @@
|
|||
/*
|
||||
* Credentials User Interface
|
||||
*
|
||||
* Copyright 2006 Robert Shearman (for CodeWeavers)
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winnt.h"
|
||||
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(credui);
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
TRACE("(0x%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved);
|
||||
|
||||
if (fdwReason == DLL_WINE_PREATTACH) return FALSE; /* prefer native version */
|
||||
|
||||
if (fdwReason == DLL_PROCESS_ATTACH)
|
||||
DisableThreadLibraryCalls(hinstDLL);
|
||||
|
||||
return TRUE;
|
||||
}
|
Loading…
Reference in New Issue