Sort entry points alphabetically.
[wine] / dlls / activeds / activeds_main.c
1 /*
2  * Implementation of the Active Directory Service Interface
3  *
4  * Copyright 2005 Detlef Riekenberg
5  *
6  * This file contains only stubs to get the printui.dll up and running
7  * activeds.dll is much much more than this
8  *
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.
13  *
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.
18  *
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22  */
23
24 #include <stdarg.h>
25
26 #define COBJMACROS
27 #define NONAMELESSUNION
28
29 #include "windef.h"
30 #include "winbase.h"
31 #include "winuser.h"
32 #include "winreg.h"
33 #include "winver.h"
34 #include "winnls.h"
35
36 #include "wine/unicode.h"
37 #include "wine/debug.h"
38
39 WINE_DEFAULT_DEBUG_CHANNEL(activeds);
40
41 /*****************************************************
42  * DllMain
43  */
44
45 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
46 {
47     TRACE("(%p, %ld, %p)\n",hinstDLL, fdwReason, lpvReserved);
48     /* For the moment, do nothing here. */
49     return TRUE;
50 }
51
52 /*****************************************************
53  * ADsGetObject     [ACTIVEDS.3]
54  */
55
56 HRESULT WINAPI ADsGetObject(LPWSTR lpszPathName, REFIID riid, VOID** ppObject)
57 {
58     FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName), debugstr_guid(riid), ppObject);
59     return E_NOTIMPL;
60 }
61
62 /*****************************************************
63  * ADsBuildEnumerator    [ACTIVEDS.4]
64  */
65
66 /* HRESULT WINAPI ADsBuildEnumerator(IADsContainer * pADsContainer, IEnumVariant ** ppEnumVariant) */
67 HRESULT WINAPI ADsBuildEnumerator(LPVOID * pADsContainer, LPVOID ** ppEnumVariant)
68 {
69     FIXME("(%p)->(%p)!stub\n",pADsContainer, ppEnumVariant);
70     return E_NOTIMPL;
71 }
72
73 /*****************************************************
74  * ADsEnumerateNext     [ACTIVEDS.6]
75  */
76
77 /* HRESULT WINAPI ADsEnumerateNext(IEnumVariant * pEnumVariant, ULONG cElements, VARIANT * pvar, ULONG * pcElementsFetched) */
78 HRESULT WINAPI ADsEnumerateNext(LPVOID * pEnumVariant, ULONG cElements, LPVOID * pvar, ULONG * pcElementsFetched)
79 {
80     FIXME("(%p)->(%lu, %p, %p)!stub\n",pEnumVariant, cElements, pvar, pcElementsFetched);
81     return E_NOTIMPL;
82 }
83
84 /*****************************************************
85  * ADsOpenObject     [ACTIVEDS.9]
86  */
87
88 HRESULT WINAPI ADsOpenObject(LPWSTR lpszPathName, REFIID riid, VOID** ppObject)
89 {
90     FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName), debugstr_guid(riid), ppObject);
91     return E_NOTIMPL;
92 }
93
94 /*****************************************************
95  * FreeADsMem             [ACTIVEDS.15]
96  */
97 BOOL WINAPI FreeADsMem(LPVOID pMem)
98 {
99     FIXME("(%p)!stub\n",pMem);
100     return FALSE;
101 }