feclient: Add stub dll.

Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Michael Müller 2018-05-10 16:35:14 +02:00 committed by Alexandre Julliard
parent 6d6b4bffb3
commit 7f0b93c7f1
5 changed files with 102 additions and 0 deletions

2
configure vendored
View File

@ -1285,6 +1285,7 @@ enable_ext_ms_win_security_credui_l1_1_0
enable_ext_ms_win_security_cryptui_l1_1_0
enable_ext_ms_win_uxtheme_themes_l1_1_0
enable_faultrep
enable_feclient
enable_fltlib
enable_fltmgr_sys
enable_fntcache
@ -18694,6 +18695,7 @@ wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_wi
wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
wine_fn_config_makefile dlls/faultrep enable_faultrep
wine_fn_config_makefile dlls/faultrep/tests enable_tests
wine_fn_config_makefile dlls/feclient enable_feclient
wine_fn_config_makefile dlls/fltlib enable_fltlib
wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
wine_fn_config_makefile dlls/fntcache enable_fntcache

View File

@ -3291,6 +3291,7 @@ WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-security-cryptui-l1-1-0)
WINE_CONFIG_MAKEFILE(dlls/ext-ms-win-uxtheme-themes-l1-1-0)
WINE_CONFIG_MAKEFILE(dlls/faultrep)
WINE_CONFIG_MAKEFILE(dlls/faultrep/tests)
WINE_CONFIG_MAKEFILE(dlls/feclient)
WINE_CONFIG_MAKEFILE(dlls/fltlib)
WINE_CONFIG_MAKEFILE(dlls/fltmgr.sys)
WINE_CONFIG_MAKEFILE(dlls/fntcache)

View File

@ -0,0 +1,4 @@
MODULE = feclient.dll
C_SRCS = \
main.c

View File

@ -0,0 +1,50 @@
@ stub EfsUtilGetCurrentKey
@ stub EdpAllowFileAccessForProcess
@ stub EdpConsumerCredentialCreate
@ stub EdpConsumerCredentialQuery
@ stub EdpContainerizeFile
@ stub EdpCredentialCreate
@ stub EdpCredentialDelete
@ stub EdpCredentialExists
@ stub EdpCredentialQuery
@ stub EdpDecontainerizeFile
@ stub EdpDplPolicyEnabledForUser
@ stub EdpDplStartCredServiceIfDplEnabledForUser
@ stub EdpDplUpgradePinInfo
@ stub EdpDplUpgradeVerifyUser
@ stub EdpDplUserCredentialsSet
@ stub EdpDplUserUnlockComplete
@ stub EdpDplUserUnlockStart
@ stub EdpFree
@ stub EdpGetContainerIdentity
@ stub EdpGetCredServiceState
@ stub EdpIsConsumerDataProtectionEnforced
@ stub EdpIsConsumerDataProtectionSupported
@ stub EdpPurgeAppLearningEvents
@ stub EdpQueryCredServiceInfo
@ stub EdpQueryDplEnforcedPolicyOwnerIds
@ stub EdpQueryRevokedPolicyOwnerIds
@ stub EdpRmsClearKeys
@ stub EdpSetCredServiceInfo
@ stub EdpUnprotectFile
@ stub EdpWriteLogSiteLearningEvents
@ stub EfsClientCloseFileRaw
@ stub EfsClientCopyFileRaw
@ stub EfsClientDecryptFile
@ stub EfsClientDuplicateEncryptionInfo
@ stub EfsClientEncryptFileEx
@ stub EfsClientFileEncryptionStatus
@ stub EfsClientFreeKeyInfo
@ stub EfsClientFreeProtectorList
@ stub EfsClientGetEncryptedFileVersion
@ stub EfsClientGetKeyInfo
@ stub EfsClientOpenFileRaw
@ stub EfsClientQueryProtectors
@ stub EfsClientReadFileRaw
@ stub EfsClientWriteFileRaw
@ stub EfsClientWriteFileWithHeaderRaw
@ stub EfsReprotectFile
@ stub FeClientInitialize
@ stub GetLockSessionUnwrappedKey
@ stub GetLockSessionWrappedKey
@ stub OefsCheckSupport

View File

@ -0,0 +1,45 @@
/*
* feclient API
*
* Copyright 2016 Michael Müller
*
* 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"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(feclient);
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
{
TRACE("(%p, %u, %p)\n", instance, reason, reserved);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(instance);
break;
}
return TRUE;
}