Fixes for -Wmissing-declaration and -Wwrite-string warnings.
[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 /* For the moment, do nothing here. */
46 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
47 {
48
49     TRACE("(%p, %ld, %p)\n",hinstDLL, fdwReason, lpvReserved);
50     return TRUE;
51 }
52
53 /*****************************************************
54  * ADsGetObject     [ACTIVEDS.3]
55  */
56
57 HRESULT WINAPI ADsGetObject(LPWSTR lpszPathName, REFIID riid, VOID** ppObject)
58 {
59     FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName), debugstr_guid(riid), ppObject);
60     return E_NOTIMPL;
61 }
62
63 /*****************************************************
64  * ADsBuildEnumerator    [ACTIVEDS.4]
65  */
66
67 /* HRESULT WINAPI ADsBuildEnumerator(IADsContainer * pADsContainer, IEnumVariant ** ppEnumVariant) */
68 HRESULT WINAPI ADsBuildEnumerator(LPVOID * pADsContainer, LPVOID ** ppEnumVariant)
69 {
70     FIXME("(%p)->(%p)!stub\n",pADsContainer, ppEnumVariant);
71     return E_NOTIMPL;
72 }
73
74 /*****************************************************
75  * ADsEnumerateNext     [ACTIVEDS.6]
76  */
77
78 /* HRESULT WINAPI ADsEnumerateNext(IEnumVariant * pEnumVariant, ULONG cElements, VARIANT * pvar, ULONG * pcElementsFetched) */
79 HRESULT WINAPI ADsEnumerateNext(LPVOID * pEnumVariant, ULONG cElements, LPVOID * pvar, ULONG * pcElementsFetched)
80 {
81     FIXME("(%p)->(%lu, %p, %p)!stub\n",pEnumVariant, cElements, pvar, pcElementsFetched);
82     return E_NOTIMPL;
83 }
84
85 /*****************************************************
86  * ADsOpenObject     [ACTIVEDS.9]
87  */
88
89 HRESULT WINAPI ADsOpenObject(LPWSTR lpszPathName, REFIID riid, VOID** ppObject)
90 {
91     FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName), debugstr_guid(riid), ppObject);
92     return E_NOTIMPL;
93 }
94
95 /*****************************************************
96  * FreeADsMem             [ACTIVEDS.15]
97  */
98 BOOL FreeADsMem(LPVOID pMem)
99 {
100     FIXME("(%p)!stub\n",pMem);
101     return FALSE;
102 }