Alex Henrie : adsldpc: Add stub DLL.

Alexandre Julliard julliard at winehq.org
Fri Jun 9 12:43:58 CDT 2017


Module: wine
Branch: master
Commit: 67db7fe94ee20a95a1f821ff48be391259c4b10c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=67db7fe94ee20a95a1f821ff48be391259c4b10c

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Thu Jun  8 09:14:10 2017 -0600

adsldpc: Add stub DLL.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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(+)

diff --git a/configure b/configure
index d12d186..2964b81 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 d5e9456..2db5d6a 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 0000000..4dad141
--- /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 0000000..6b14e47
--- /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 0000000..56eff5d
--- /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;
+}




More information about the wine-cvs mailing list