connect: Add stub dll.
This commit is contained in:
parent
ecdaf568b5
commit
be70190c1a
|
@ -942,6 +942,7 @@ enable_comctl32
|
|||
enable_comdlg32
|
||||
enable_compstui
|
||||
enable_comsvcs
|
||||
enable_connect
|
||||
enable_credui
|
||||
enable_crtdll
|
||||
enable_crypt32
|
||||
|
@ -17080,6 +17081,7 @@ wine_fn_config_dll commdlg.dll16 enable_win16
|
|||
wine_fn_config_dll compobj.dll16 enable_win16
|
||||
wine_fn_config_dll compstui enable_compstui implib
|
||||
wine_fn_config_dll comsvcs enable_comsvcs implib
|
||||
wine_fn_config_dll connect enable_connect
|
||||
wine_fn_config_dll credui enable_credui implib,po
|
||||
wine_fn_config_test dlls/credui/tests credui_test
|
||||
wine_fn_config_dll crtdll enable_crtdll implib
|
||||
|
|
|
@ -2793,6 +2793,7 @@ WINE_CONFIG_DLL(commdlg.dll16,enable_win16)
|
|||
WINE_CONFIG_DLL(compobj.dll16,enable_win16)
|
||||
WINE_CONFIG_DLL(compstui,,[implib])
|
||||
WINE_CONFIG_DLL(comsvcs,,[implib])
|
||||
WINE_CONFIG_DLL(connect)
|
||||
WINE_CONFIG_DLL(credui,,[implib,po])
|
||||
WINE_CONFIG_TEST(dlls/credui/tests)
|
||||
WINE_CONFIG_DLL(crtdll,,[implib])
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
MODULE = connect.dll
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
|
@ -0,0 +1,15 @@
|
|||
@ stub AddConnectionOptionListEntries
|
||||
@ stub CreateVPNConnection
|
||||
@ stub DllCanUnloadNow
|
||||
@ stub DllGetClassObject
|
||||
@ stub GetInternetConnected
|
||||
@ stub GetNetworkConnected
|
||||
@ stub GetVPNConnected
|
||||
@ stub HrIsInternetConnected
|
||||
@ stub HrIsInternetConnectedGUID
|
||||
@ stub IsInternetConnected
|
||||
@ stub IsInternetConnectedGUID
|
||||
@ stub IsUniqueConnectionName
|
||||
@ stub RegisterPageWithPage
|
||||
@ stub UnregisterPage
|
||||
@ stub UnregisterPagesLink
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
*
|
||||
* Copyright 2015 Austin English
|
||||
*
|
||||
* 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 "config.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
|
||||
{
|
||||
switch (reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls(instance);
|
||||
break;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
Loading…
Reference in New Issue