mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 13:40:50 +00:00
scarddlg: New dll stub.
This commit is contained in:
parent
4cffb2d0a9
commit
81f3d68abd
1
configure
vendored
1
configure
vendored
@ -15279,6 +15279,7 @@ wine_fn_config_dll rstrtmgr enable_rstrtmgr
|
||||
wine_fn_config_dll rtutils enable_rtutils implib
|
||||
wine_fn_config_dll samlib enable_samlib
|
||||
wine_fn_config_dll sane.ds enable_sane_ds po
|
||||
wine_fn_config_dll scarddlg enable_scarddlg
|
||||
wine_fn_config_dll sccbase enable_sccbase
|
||||
wine_fn_config_dll schannel enable_schannel
|
||||
wine_fn_config_test dlls/schannel/tests schannel_test
|
||||
|
@ -2746,6 +2746,7 @@ WINE_CONFIG_DLL(rstrtmgr)
|
||||
WINE_CONFIG_DLL(rtutils,,[implib])
|
||||
WINE_CONFIG_DLL(samlib)
|
||||
WINE_CONFIG_DLL(sane.ds,,[po])
|
||||
WINE_CONFIG_DLL(scarddlg)
|
||||
WINE_CONFIG_DLL(sccbase)
|
||||
WINE_CONFIG_DLL(schannel)
|
||||
WINE_CONFIG_TEST(dlls/schannel/tests)
|
||||
|
6
dlls/scarddlg/Makefile.in
Normal file
6
dlls/scarddlg/Makefile.in
Normal file
@ -0,0 +1,6 @@
|
||||
MODULE = scarddlg.dll
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
||||
|
||||
@MAKE_DLL_RULES@
|
49
dlls/scarddlg/main.c
Normal file
49
dlls/scarddlg/main.c
Normal file
@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Implementation of the SCardDlg Interface
|
||||
*
|
||||
* Copyright 2011 Stefan Leichter
|
||||
*
|
||||
* 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 "winuser.h"
|
||||
#include "wfext.h"
|
||||
|
||||
#include "wine/unicode.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(scarddlg);
|
||||
|
||||
/*****************************************************
|
||||
* DllMain
|
||||
*/
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
|
||||
|
||||
switch (fdwReason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls( hinstDLL );
|
||||
break;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
5
dlls/scarddlg/scarddlg.spec
Normal file
5
dlls/scarddlg/scarddlg.spec
Normal file
@ -0,0 +1,5 @@
|
||||
1 stub GetOpenCardNameA
|
||||
2 stub GetOpenCardNameW
|
||||
3 stub SCardDlgExtendedError
|
||||
4 stub SCardUIDlgSelectCardA
|
||||
5 stub SCardUIDlgSelectCardW
|
Loading…
Reference in New Issue
Block a user