From 67db7fe94ee20a95a1f821ff48be391259c4b10c Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Thu, 8 Jun 2017 09:14:10 -0600 Subject: [PATCH] adsldpc: Add stub DLL. Signed-off-by: Alex Henrie Signed-off-by: Alexandre Julliard --- configure | 2 + configure.ac | 1 + dlls/adsldpc/Makefile.in | 4 ++ dlls/adsldpc/adsldpc.spec | 175 ++++++++++++++++++++++++++++++++++++++++++++++ dlls/adsldpc/main.c | 45 ++++++++++++ 5 files changed, 227 insertions(+) create mode 100644 dlls/adsldpc/Makefile.in create mode 100644 dlls/adsldpc/adsldpc.spec create mode 100644 dlls/adsldpc/main.c diff --git a/configure b/configure index d12d18690ee..2964b81192d 100755 --- a/configure +++ b/configure @@ -873,6 +873,7 @@ enable_acledit enable_aclui enable_activeds enable_actxprxy +enable_adsldpc enable_advapi32 enable_advpack enable_amstream @@ -17757,6 +17758,7 @@ wine_fn_config_dll aclui enable_aclui implib wine_fn_config_dll activeds enable_activeds implib wine_fn_config_dll actxprxy enable_actxprxy clean wine_fn_config_lib adsiid +wine_fn_config_dll adsldpc enable_adsldpc wine_fn_config_dll advapi32 enable_advapi32 clean,implib wine_fn_config_test dlls/advapi32/tests advapi32_test wine_fn_config_dll advpack enable_advpack implib diff --git a/configure.ac b/configure.ac index d5e9456a874..2db5d6a5961 100644 --- a/configure.ac +++ b/configure.ac @@ -2701,6 +2701,7 @@ WINE_CONFIG_DLL(aclui,,[implib]) WINE_CONFIG_DLL(activeds,,[implib]) WINE_CONFIG_DLL(actxprxy,,[clean]) WINE_CONFIG_LIB(adsiid) +WINE_CONFIG_DLL(adsldpc) WINE_CONFIG_DLL(advapi32,,[clean,implib]) WINE_CONFIG_TEST(dlls/advapi32/tests) WINE_CONFIG_DLL(advpack,,[implib]) diff --git a/dlls/adsldpc/Makefile.in b/dlls/adsldpc/Makefile.in new file mode 100644 index 00000000000..4dad14149c4 --- /dev/null +++ b/dlls/adsldpc/Makefile.in @@ -0,0 +1,4 @@ +MODULE = adsldpc.dll + +C_SRCS = \ + main.c diff --git a/dlls/adsldpc/adsldpc.spec b/dlls/adsldpc/adsldpc.spec new file mode 100644 index 00000000000..6b14e474a23 --- /dev/null +++ b/dlls/adsldpc/adsldpc.spec @@ -0,0 +1,175 @@ +@ stub ??0CLexer@@QAE@XZ +@ stub ??1CLexer@@QAE@XZ +@ stub ADSIPrint +@ stub ADsAbandonSearch +@ stub ADsCloseSearchHandle +@ stub ADsCreateAttributeDefinition +@ stub ADsCreateClassDefinition +@ stub ADsCreateDSObject +@ stub ADsCreateDSObjectExt +@ stub ADsDeleteAttributeDefinition +@ stub ADsDeleteClassDefinition +@ stub ADsDeleteDSObject +@ stub ADsEnumAttributes +@ stub ADsEnumClasses +@ stub ADsExecuteSearch +@ stub ADsFreeColumn +@ stub ADsGetColumn +@ stub ADsGetFirstRow +@ stub ADsGetNextColumnName +@ stub ADsGetNextRow +@ stub ADsGetObjectAttributes +@ stub ADsGetPreviousRow +@ stub ADsHelperGetCurrentRowMessage +@ stub ADsObject +@ stub ADsSetObjectAttributes +@ stub ADsSetSearchPreference +@ stub ADsWriteAttributeDefinition +@ stub ADsWriteClassDefinition +@ stub AdsTypeToLdapTypeCopyConstruct +@ stub AdsTypeToLdapTypeCopyDNWithBinary +@ stub AdsTypeToLdapTypeCopyDNWithString +@ stub AdsTypeToLdapTypeCopyGeneralizedTime +@ stub AdsTypeToLdapTypeCopyTime +@ stub BerBvFree +@ stub BerEncodingQuotaControl +@ stub BuildADsParentPath +@ stub BuildADsParentPathFromObjectInfo2 +@ stub BuildADsParentPathFromObjectInfo +@ stub BuildADsPathFromLDAPPath2 +@ stub BuildADsPathFromLDAPPath +@ stub BuildADsPathFromParent +@ stub BuildLDAPPathFromADsPath2 +@ stub BuildLDAPPathFromADsPath +@ stub ChangeSeparator +@ stub Component +@ stub ConvertSidToString +@ stub ConvertSidToU2Trustee +@ stub ConvertU2TrusteeToSid +@ stub FindEntryInSearchTable +@ stub FindSearchTableIndex +@ stub FreeObjectInfo +@ stub GetDefaultServer +@ stub GetDisplayName +@ stub GetDomainDNSNameForDomain +@ stub GetLDAPTypeName +@ stub ?GetNextToken@CLexer@@QAEJPAGPAK@Z +@ stub GetServerAndPort +@ stub GetSyntaxOfAttribute +@ stub InitObjectInfo +@ stub ?InitializePath@CLexer@@QAEJPAG@Z +@ stub IsGCNamespace +@ stub LdapAddExtS +@ stub LdapAddS +@ stub LdapAttributeFree +@ stub LdapCacheAddRef +@ stub LdapCloseObject +@ stub LdapCompareExt +@ stub LdapControlFree +@ stub LdapControlsFree +@ stub LdapCountEntries +@ stub LdapCrackUserDNtoNTLMUser2 +@ stub LdapCreatePageControl +@ stub LdapDeleteExtS +@ stub LdapDeleteS +@ stub LdapFirstAttribute +@ stub LdapFirstEntry +@ stub LdapGetDn +@ stub LdapGetNextPageS +@ stub LdapGetSchemaObjectCount +@ stub LdapGetSubSchemaSubEntryPath +@ stub LdapGetSyntaxIdOfAttribute +@ stub LdapGetSyntaxOfAttributeOnServer +@ stub LdapGetValues +@ stub LdapGetValuesLen +@ stub LdapInitializeSearchPreferences +@ stub LdapIsClassNameValidOnServer +@ stub LdapMakeSchemaCacheObsolete +@ stub LdapMemFree +@ stub LdapModDnS +@ stub LdapModifyExtS +@ stub LdapModifyS +@ stub LdapMsgFree +@ stub LdapNextAttribute +@ stub LdapNextEntry +@ stub LdapOpenObject2 +@ stub LdapOpenObject +@ stub LdapParsePageControl +@ stub LdapParseResult +@ stub LdapReadAttribute2 +@ stub LdapReadAttribute +@ stub LdapReadAttributeFast +@ stub LdapRenameExtS +@ stub LdapResult +@ stub LdapSearch +@ stub LdapSearchAbandonPage +@ stub LdapSearchExtS +@ stub LdapSearchInitPage +@ stub LdapSearchS +@ stub LdapSearchST +@ stub LdapTypeBinaryToString +@ stub LdapTypeCopyConstruct +@ stub LdapTypeFreeLdapModList +@ stub LdapTypeFreeLdapModObject +@ stub LdapTypeFreeLdapObjects +@ stub LdapTypeToAdsTypeDNWithBinary +@ stub LdapTypeToAdsTypeDNWithString +@ stub LdapTypeToAdsTypeGeneralizedTime +@ stub LdapTypeToAdsTypeUTCTime +@ stub LdapValueFree +@ stub LdapValueFreeLen +@ stub LdapcKeepHandleAround +@ stub LdapcSetStickyServer +@ stub PathName +@ stub ReadPagingSupportedAttr +@ stub ReadSecurityDescriptorControlType +@ stub ReadServerSupportsIsADAMControl +@ stub ReadServerSupportsIsADControl +@ stub SchemaAddRef +@ stub SchemaClose +@ stub SchemaGetClassInfo +@ stub SchemaGetClassInfoByIndex +@ stub SchemaGetObjectCount +@ stub SchemaGetPropertyInfo +@ stub SchemaGetPropertyInfoByIndex +@ stub SchemaGetStringsFromStringTable +@ stub SchemaGetSyntaxOfAttribute +@ stub SchemaIsClassAContainer +@ stub SchemaOpen +@ stub ?SetAtDisabler@CLexer@@QAEXH@Z +@ stub ?SetExclaimnationDisabler@CLexer@@QAEXH@Z +@ stub ?SetFSlashDisabler@CLexer@@QAEXH@Z +@ stub SortAndRemoveDuplicateOIDs +@ stub UnMarshallLDAPToLDAPSynID +@ stub intcmp +@ stub ADSIAbandonSearch +@ stub ADSICloseDSObject +@ stub ADSICloseSearchHandle +@ stub ADSICreateDSObject +@ stub ADSIDeleteDSObject +@ stub ADSIExecuteSearch +@ stub ADSIFreeColumn +@ stub ADSIGetColumn +@ stub ADSIGetFirstRow +@ stub ADSIGetNextColumnName +@ stub ADSIGetNextRow +@ stub ADSIGetObjectAttributes +@ stub ADSIGetPreviousRow +@ stub ADSIModifyRdn +@ stub ADSIOpenDSObject +@ stub ADSISetObjectAttributes +@ stub ADSISetSearchPreference +@ stub ADsDecodeBinaryData +@ stub ADsEncodeBinaryData +@ stub ADsGetLastError +@ stub ADsSetLastError +@ stub AdsTypeFreeAdsObjects +@ stub AllocADsMem +@ stub AllocADsStr +@ stub FreeADsMem +@ stub FreeADsStr +@ stub LdapTypeToAdsTypeCopyConstruct +@ stub MapADSTypeToLDAPType +@ stub MapLDAPTypeToADSType +@ stub ReallocADsMem +@ stub ReallocADsStr diff --git a/dlls/adsldpc/main.c b/dlls/adsldpc/main.c new file mode 100644 index 00000000000..56eff5dbb88 --- /dev/null +++ b/dlls/adsldpc/main.c @@ -0,0 +1,45 @@ +/* + * Active Directory Services Lightweight Directory Provider C + * + * Copyright 2017 Alex Henrie + * + * 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 + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(adsldpc); + +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; +} -- 2.11.4.GIT