regapi: Add a stub dll.

This commit is contained in:
Austin English 2011-05-21 20:17:07 -05:00 committed by Alexandre Julliard
parent 14067ac17f
commit d8d7780981
5 changed files with 121 additions and 0 deletions

1
configure vendored
View File

@ -15391,6 +15391,7 @@ wine_fn_config_dll rasapi16.dll16 enable_win16
wine_fn_config_dll rasapi32 enable_rasapi32 implib
wine_fn_config_test dlls/rasapi32/tests rasapi32_test
wine_fn_config_dll rasdlg enable_rasdlg implib
wine_fn_config_dll regapi enable_regapi
wine_fn_config_dll resutils enable_resutils implib
wine_fn_config_dll riched20 enable_riched20 implib
wine_fn_config_test dlls/riched20/tests riched20_test

View File

@ -2764,6 +2764,7 @@ WINE_CONFIG_DLL(rasapi16.dll16,enable_win16)
WINE_CONFIG_DLL(rasapi32,,[implib])
WINE_CONFIG_TEST(dlls/rasapi32/tests)
WINE_CONFIG_DLL(rasdlg,,[implib])
WINE_CONFIG_DLL(regapi)
WINE_CONFIG_DLL(resutils,,[implib])
WINE_CONFIG_DLL(riched20,,[implib])
WINE_CONFIG_TEST(dlls/riched20/tests)

6
dlls/regapi/Makefile.in Normal file
View File

@ -0,0 +1,6 @@
MODULE = regapi.dll
C_SRCS = \
main.c
@MAKE_DLL_RULES@

44
dlls/regapi/main.c Normal file
View File

@ -0,0 +1,44 @@
/*
* regapi implementation
*
* Copyright 2011 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 <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(regapi);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%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;
default:
break;
}
return TRUE;
}

69
dlls/regapi/regapi.spec Normal file
View File

@ -0,0 +1,69 @@
@ stub RegBuildNumberQuery
@ stub RegCdCreateA
@ stub RegCdCreateW
@ stub RegCdDeleteA
@ stub RegCdDeleteW
@ stub RegCdEnumerateA
@ stub RegCdEnumerateW
@ stub RegCdQueryA
@ stub RegCdQueryW
@ stub RegCloseServer
@ stub RegConsoleShadowQueryA
@ stub RegConsoleShadowQueryW
@ stub RegDefaultUserConfigQueryA
@ stub RegDefaultUserConfigQueryW
@ stub RegDenyTSConnectionsPolicy
@ stub RegFreeUtilityCommandList
@ stub RegGetMachinePolicy
@ stub RegGetMachinePolicyEx
@ stub RegGetTServerVersion
@ stub RegGetUserConfigFromUserParameters
@ stub RegGetUserPolicy
@ stub RegIsMachineInHelpMode
@ stub RegIsMachinePolicyAllowHelp
@ stub RegIsTServer
@ stub RegMergeUserConfigWithUserParameters
@ stub RegOpenServerA
@ stub RegOpenServerW
@ stub RegPdCreateA
@ stub RegPdCreateW
@ stub RegPdDeleteA
@ stub RegPdDeleteW
@ stub RegPdEnumerateA
@ stub RegPdEnumerateW
@ stub RegPdQueryA
@ stub RegPdQueryW
@ stub RegQueryOEMId
@ stub RegQueryUtilityCommandList
@ stub RegSAMUserConfig
@ stub RegUserConfigDelete
@ stub RegUserConfigQuery
@ stub RegUserConfigRename
@ stub RegUserConfigSet
@ stub RegWdCreateA
@ stub RegWdCreateW
@ stub RegWdDeleteA
@ stub RegWdDeleteW
@ stub RegWdEnumerateA
@ stub RegWdEnumerateW
@ stub RegWdQueryA
@ stub RegWdQueryW
@ stub RegWinStationAccessCheck
@ stub RegWinStationCreateA
@ stub RegWinStationCreateW
@ stub RegWinStationDeleteA
@ stub RegWinStationDeleteW
@ stub RegWinStationEnumerateA
@ stub RegWinStationEnumerateW
@ stub RegWinStationQueryA
@ stub RegWinStationQueryDefaultSecurity
@ stub RegWinStationQueryEx
@ stub RegWinStationQueryNumValueW
@ stub RegWinStationQuerySecurityA
@ stub RegWinStationQuerySecurityW
@ stub RegWinStationQueryValueW
@ stub RegWinStationQueryW
@ stub RegWinStationSetNumValueW
@ stub RegWinStationSetSecurityA
@ stub RegWinStationSetSecurityW
@ stub WaitForTSConnectionsPolicyChanges