[PATCH] adsldpc: Add stub DLL.

Alex Henrie alexhenrie24 at gmail.com
Thu Jun 8 10:14:10 CDT 2017


Fixes https://bugs.winehq.org/show_bug.cgi?id=43152

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 configure.ac              |   1 +
 dlls/adsldpc/Makefile.in  |   4 ++
 dlls/adsldpc/adsldpc.spec | 175 ++++++++++++++++++++++++++++++++++++++++++++++
 dlls/adsldpc/main.c       |  45 ++++++++++++
 4 files changed, 225 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.ac b/configure.ac
index 129a8f62c7..4fada10d40 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2699,6 +2699,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 0000000000..4dad14149c
--- /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 0000000000..6b14e474a2
--- /dev/null
+++ b/dlls/adsldpc/adsldpc.spec
@@ -0,0 +1,175 @@
+@ stub ??0CLexer@@QAE at XZ
+@ stub ??1CLexer@@QAE at 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 at CLexer@@QAEJPAGPAK at Z
+@ stub GetServerAndPort
+@ stub GetSyntaxOfAttribute
+@ stub InitObjectInfo
+@ stub ?InitializePath at CLexer@@QAEJPAG at 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 at CLexer@@QAEXH at Z
+@ stub ?SetExclaimnationDisabler at CLexer@@QAEXH at Z
+@ stub ?SetFSlashDisabler at CLexer@@QAEXH at 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 0000000000..56eff5dbb8
--- /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 <stdarg.h>
+
+#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.13.0




More information about the wine-patches mailing list