usp10: Update tests in test_ScriptItemIzeShapePlace to match Windows results.
[wine/multimedia.git] / dlls / activeds / activeds_main.c
blob023402976b944e1ebee52a2680f88bfd8634b7ec
1 /*
2 * Implementation of the Active Directory Service Interface
4 * Copyright 2005 Detlef Riekenberg
6 * This file contains only stubs to get the printui.dll up and running
7 * activeds.dll is much much more than this
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
24 #include <stdarg.h>
26 #define COBJMACROS
27 #define NONAMELESSUNION
29 #include "windef.h"
30 #include "winbase.h"
31 #include "winuser.h"
32 #include "winreg.h"
33 #include "winver.h"
34 #include "winnls.h"
36 #include "objbase.h"
37 #include "iads.h"
38 #include "adshlp.h"
40 #include "wine/unicode.h"
41 #include "wine/debug.h"
43 WINE_DEFAULT_DEBUG_CHANNEL(activeds);
45 /*****************************************************
46 * DllMain
48 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
50 TRACE("(%p, %ld, %p)\n",hinstDLL, fdwReason, lpvReserved);
52 switch(fdwReason)
54 case DLL_WINE_PREATTACH:
55 return FALSE; /* prefer native version */
56 case DLL_PROCESS_ATTACH:
57 DisableThreadLibraryCalls( hinstDLL );
58 break;
60 return TRUE;
63 /*****************************************************
64 * ADsGetObject [ACTIVEDS.3]
66 HRESULT WINAPI ADsGetObject(LPCWSTR lpszPathName, REFIID riid, VOID** ppObject)
68 FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName), debugstr_guid(riid), ppObject);
69 return E_NOTIMPL;
72 /*****************************************************
73 * ADsBuildEnumerator [ACTIVEDS.4]
75 HRESULT WINAPI ADsBuildEnumerator(IADsContainer * pADsContainer, IEnumVARIANT** ppEnumVariant)
77 FIXME("(%p)->(%p)!stub\n",pADsContainer, ppEnumVariant);
78 return E_NOTIMPL;
81 /*****************************************************
82 * ADsEnumerateNext [ACTIVEDS.6]
84 HRESULT WINAPI ADsEnumerateNext(IEnumVARIANT* pEnumVariant, ULONG cElements, VARIANT* pvar, ULONG * pcElementsFetched)
86 FIXME("(%p)->(%lu, %p, %p)!stub\n",pEnumVariant, cElements, pvar, pcElementsFetched);
87 return E_NOTIMPL;
90 /*****************************************************
91 * ADsOpenObject [ACTIVEDS.9]
93 HRESULT WINAPI ADsOpenObject(LPCWSTR lpszPathName, LPCWSTR lpszUserName, LPCWSTR lpszPassword, DWORD dwReserved, REFIID riid, VOID** ppObject)
95 FIXME("(%s,%s,%lu,%p,%p)!stub\n", debugstr_w(lpszPathName),
96 debugstr_w(lpszUserName), dwReserved, debugstr_guid(riid), ppObject);
97 return E_NOTIMPL;
100 /*****************************************************
101 * FreeADsMem [ACTIVEDS.15]
103 BOOL WINAPI FreeADsMem(LPVOID pMem)
105 FIXME("(%p)!stub\n",pMem);
106 return FALSE;