Added activeds.dll with some stubs to get the native printui.dll to

load.
This commit is contained in:
Detlef Riekenberg 2005-06-13 11:47:46 +00:00 committed by Alexandre Julliard
parent b61c182da8
commit 29056637a5
7 changed files with 158 additions and 1 deletions

3
configure vendored

File diff suppressed because one or more lines are too long

View File

@ -1539,6 +1539,7 @@ libs/Makelib.rules
programs/Makeprog.rules programs/Makeprog.rules
Makefile Makefile
dlls/Makefile dlls/Makefile
dlls/activeds/Makefile
dlls/advapi32/Makefile dlls/advapi32/Makefile
dlls/advapi32/tests/Makefile dlls/advapi32/tests/Makefile
dlls/advpack/Makefile dlls/advpack/Makefile

View File

@ -16,6 +16,7 @@ EXTRADIRS = @GLU32FILES@ @GLUT32FILES@ @OPENGLFILES@ @XFILES@
# Subdir list # Subdir list
BASEDIRS = \ BASEDIRS = \
activeds \
advapi32 \ advapi32 \
advpack \ advpack \
amstream \ amstream \
@ -250,6 +251,7 @@ WIN16_FILES = \
SYMLINKS_SO = \ SYMLINKS_SO = \
$(EXTRADIRS:%=%.dll.so) \ $(EXTRADIRS:%=%.dll.so) \
@WIN16_FILES@ \ @WIN16_FILES@ \
activeds.dll.so \
advapi32.dll.so \ advapi32.dll.so \
advpack.dll.so \ advpack.dll.so \
amstream.dll.so \ amstream.dll.so \
@ -426,6 +428,9 @@ x11drv.dll.so: winex11.drv.so
# Map symlink name to the corresponding library # Map symlink name to the corresponding library
activeds.dll.so: activeds/activeds.dll.so
$(RM) $@ && $(LN_S) activeds/activeds.dll.so $@
advapi32.dll.so: advapi32/advapi32.dll.so advapi32.dll.so: advapi32/advapi32.dll.so
$(RM) $@ && $(LN_S) advapi32/advapi32.dll.so $@ $(RM) $@ && $(LN_S) advapi32/advapi32.dll.so $@
@ -1047,6 +1052,7 @@ IMPORT_SYMLINKS = \
IMPORT_LIBS = \ IMPORT_LIBS = \
$(IMPORT_SYMLINKS) \ $(IMPORT_SYMLINKS) \
activeds/libactiveds.$(IMPLIBEXT) \
advapi32/libadvapi32.$(IMPLIBEXT) \ advapi32/libadvapi32.$(IMPLIBEXT) \
advpack/libadvpack.$(IMPLIBEXT) \ advpack/libadvpack.$(IMPLIBEXT) \
amstream/libamstream.$(IMPLIBEXT) \ amstream/libamstream.$(IMPLIBEXT) \
@ -1181,6 +1187,9 @@ IMPORT_LIBS = \
implib: $(IMPORT_LIBS) implib: $(IMPORT_LIBS)
activeds/libactiveds.$(IMPLIBEXT): activeds/activeds.spec $(WINEBUILD)
@cd activeds && $(MAKE) libactiveds.$(IMPLIBEXT)
advapi32/libadvapi32.$(IMPLIBEXT): advapi32/advapi32.spec $(WINEBUILD) advapi32/libadvapi32.$(IMPLIBEXT): advapi32/advapi32.spec $(WINEBUILD)
@cd advapi32 && $(MAKE) libadvapi32.$(IMPLIBEXT) @cd advapi32 && $(MAKE) libadvapi32.$(IMPLIBEXT)
@ -1630,6 +1639,7 @@ $(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__install-lib__): $(IMPOR
# Map library name to the corresponding directory # Map library name to the corresponding directory
activeds/activeds.dll.so: activeds
advapi32/advapi32.dll.so: advapi32 advapi32/advapi32.dll.so: advapi32
advpack/advpack.dll.so: advpack advpack/advpack.dll.so: advpack
amstream/amstream.dll.so: amstream amstream/amstream.dll.so: amstream

3
dlls/activeds/.cvsignore Normal file
View File

@ -0,0 +1,3 @@
Makefile
activeds.dll.dbg.c
libactiveds.def

12
dlls/activeds/Makefile.in Normal file
View File

@ -0,0 +1,12 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = activeds.dll
IMPORTLIB = libactiveds.$(IMPLIBEXT)
C_SRCS = activeds_main.c
@MAKE_DLL_RULES@
### Dependencies:

View File

@ -0,0 +1,28 @@
3 stdcall ADsGetObject(wstr ptr ptr)
4 stdcall ADsBuildEnumerator(ptr ptr)
5 stub ADsFreeEnumerator
6 stdcall ADsEnumerateNext(ptr long ptr ptr)
7 stub ADsBuildVarArrayStr
8 stub ADsBuildVarArrayInt
9 stdcall ADsOpenObject(wstr ptr ptr)
12 stub ADsSetLastError
13 stub ADsGetLastError
14 stub AllocADsMem
15 stdcall FreeADsMem(ptr)
16 stub ReallocADsMem
17 stub AllocADsStr
18 stub FreeADsStr
19 stub ReallocADsStr
20 stub ADsEncodeBinaryData
21 stub PropVariantToAdsType
22 stub AdsTypeToPropVariant
23 stub AdsFreeAdsValues
24 stub ADsDecodeBinaryData
25 stub AdsTypeToPropVariant2
26 stub PropVariantToAdsType2
27 stub ConvertSecDescriptorToVariant
28 stub ConvertSecurityDescriptorToSecDes
#@ stub DllCanUnloadNow
#@ stub DllGetClassObject
#@ stub DllRegisterServer
#@ stub DllUnregisterServer

View File

@ -0,0 +1,102 @@
/*
* Implementation of the Active Directory Service Interface
*
* Copyright 2005 Detlef Riekenberg
*
* This file contains only stubs to get the printui.dll up and running
* activeds.dll is much much more than this
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdarg.h>
#define COBJMACROS
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "winreg.h"
#include "winver.h"
#include "winnls.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(activeds);
/*****************************************************
* DllMain
*/
/* For the moment, do nothing here. */
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(%p, %ld, %p)\n",hinstDLL, fdwReason, lpvReserved);
return TRUE;
}
/*****************************************************
* ADsGetObject [ACTIVEDS.3]
*/
HRESULT WINAPI ADsGetObject(LPWSTR lpszPathName, REFIID riid, VOID** ppObject)
{
FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName), debugstr_guid(riid), ppObject);
return E_NOTIMPL;
}
/*****************************************************
* ADsBuildEnumerator [ACTIVEDS.4]
*/
/* HRESULT WINAPI ADsBuildEnumerator(IADsContainer * pADsContainer, IEnumVariant ** ppEnumVariant) */
HRESULT WINAPI ADsBuildEnumerator(LPVOID * pADsContainer, LPVOID ** ppEnumVariant)
{
FIXME("(%p)->(%p)!stub\n",pADsContainer, ppEnumVariant);
return E_NOTIMPL;
}
/*****************************************************
* ADsEnumerateNext [ACTIVEDS.6]
*/
/* HRESULT WINAPI ADsEnumerateNext(IEnumVariant * pEnumVariant, ULONG cElements, VARIANT * pvar, ULONG * pcElementsFetched) */
HRESULT WINAPI ADsEnumerateNext(LPVOID * pEnumVariant, ULONG cElements, LPVOID * pvar, ULONG * pcElementsFetched)
{
FIXME("(%p)->(%lu, %p, %p)!stub\n",pEnumVariant, cElements, pvar, pcElementsFetched);
return E_NOTIMPL;
}
/*****************************************************
* ADsOpenObject [ACTIVEDS.9]
*/
HRESULT WINAPI ADsOpenObject(LPWSTR lpszPathName, REFIID riid, VOID** ppObject)
{
FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName), debugstr_guid(riid), ppObject);
return E_NOTIMPL;
}
/*****************************************************
* FreeADsMem [ACTIVEDS.15]
*/
BOOL FreeADsMem(LPVOID pMem)
{
FIXME("(%p)!stub\n",pMem);
return FALSE;
}