wineps: Fix a couple of typos in the path painting function.
[wine/testsucceed.git] / dlls / activeds / activeds_main.c
blob67066f01a08702a570806ea4e0807f75fbd24ae2
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"
33 #include "objbase.h"
34 #include "iads.h"
35 #include "adshlp.h"
37 #include "wine/unicode.h"
38 #include "wine/debug.h"
40 WINE_DEFAULT_DEBUG_CHANNEL(activeds);
42 /*****************************************************
43 * DllMain
45 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
47 TRACE("(%p, %d, %p)\n",hinstDLL, fdwReason, lpvReserved);
49 switch(fdwReason)
51 case DLL_WINE_PREATTACH:
52 return FALSE; /* prefer native version */
53 case DLL_PROCESS_ATTACH:
54 DisableThreadLibraryCalls( hinstDLL );
55 break;
57 return TRUE;
60 /*****************************************************
61 * ADsGetObject [ACTIVEDS.3]
63 HRESULT WINAPI ADsGetObject(LPCWSTR lpszPathName, REFIID riid, VOID** ppObject)
65 FIXME("(%s)->(%s,%p)!stub\n",debugstr_w(lpszPathName), debugstr_guid(riid), ppObject);
66 return E_NOTIMPL;
69 /*****************************************************
70 * ADsBuildEnumerator [ACTIVEDS.4]
72 HRESULT WINAPI ADsBuildEnumerator(IADsContainer * pADsContainer, IEnumVARIANT** ppEnumVariant)
74 FIXME("(%p)->(%p)!stub\n",pADsContainer, ppEnumVariant);
75 return E_NOTIMPL;
78 /*****************************************************
79 * ADsFreeEnumerator [ACTIVEDS.5]
81 HRESULT WINAPI ADsFreeEnumerator(IEnumVARIANT* pEnumVariant)
83 FIXME("(%p)!stub\n",pEnumVariant);
84 return E_NOTIMPL;
87 /*****************************************************
88 * ADsEnumerateNext [ACTIVEDS.6]
90 HRESULT WINAPI ADsEnumerateNext(IEnumVARIANT* pEnumVariant, ULONG cElements, VARIANT* pvar, ULONG * pcElementsFetched)
92 FIXME("(%p)->(%u, %p, %p)!stub\n",pEnumVariant, cElements, pvar, pcElementsFetched);
93 return E_NOTIMPL;
96 /*****************************************************
97 * ADsBuildVarArrayStr [ACTIVEDS.7]
99 HRESULT WINAPI ADsBuildVarArrayStr(LPWSTR *lppPathNames, DWORD dwPathNames, VARIANT* pvar)
101 FIXME("(%p, %d, %p)!stub\n",*lppPathNames, dwPathNames, pvar);
102 return E_NOTIMPL;
105 /*****************************************************
106 * ADsBuildVarArrayInt [ACTIVEDS.8]
108 HRESULT WINAPI ADsBuildVarArrayInt(LPDWORD lpdwObjectTypes, DWORD dwObjectTypes, VARIANT* pvar)
110 FIXME("(%p, %d, %p)!stub\n",lpdwObjectTypes, dwObjectTypes, pvar);
111 return E_NOTIMPL;
114 /*****************************************************
115 * ADsOpenObject [ACTIVEDS.9]
117 HRESULT WINAPI ADsOpenObject(LPCWSTR lpszPathName, LPCWSTR lpszUserName, LPCWSTR lpszPassword, DWORD dwReserved, REFIID riid, VOID** ppObject)
119 FIXME("(%s,%s,%u,%p,%p)!stub\n", debugstr_w(lpszPathName),
120 debugstr_w(lpszUserName), dwReserved, debugstr_guid(riid), ppObject);
121 return E_NOTIMPL;
124 /*****************************************************
125 * ADsSetLastError [ACTIVEDS.12]
127 VOID WINAPI ADsSetLastError(DWORD dwErr, LPWSTR pszError, LPWSTR pszProvider)
129 FIXME("(%d,%p,%p)!stub\n", dwErr, pszError, pszProvider);
132 /*****************************************************
133 * ADsGetLastError [ACTIVEDS.13]
135 HRESULT WINAPI ADsGetLastError(LPDWORD perror, LPWSTR errorbuf, DWORD errorbuflen, LPWSTR namebuf, DWORD namebuflen)
137 FIXME("(%p,%p,%d,%p,%d)!stub\n", perror, errorbuf, errorbuflen, namebuf, namebuflen);
138 return E_NOTIMPL;
141 /*****************************************************
142 * AllocADsMem [ACTIVEDS.14]
144 LPVOID WINAPI AllocADsMem(DWORD cb)
146 FIXME("(%d)!stub\n",cb);
147 return NULL;
150 /*****************************************************
151 * FreeADsMem [ACTIVEDS.15]
153 BOOL WINAPI FreeADsMem(LPVOID pMem)
155 FIXME("(%p)!stub\n",pMem);
156 return FALSE;
159 /*****************************************************
160 * ReallocADsMem [ACTIVEDS.16]
162 LPVOID WINAPI ReallocADsMem(LPVOID pOldMem, DWORD cbOld, DWORD cbNew)
164 FIXME("(%p,%d,%d)!stub\n", pOldMem, cbOld, cbNew);
165 return NULL;
168 /*****************************************************
169 * AllocADsStr [ACTIVEDS.17]
171 LPWSTR WINAPI AllocADsStr(LPWSTR pStr)
173 FIXME("(%p)!stub\n",pStr);
174 return NULL;
177 /*****************************************************
178 * FreeADsStr [ACTIVEDS.18]
180 BOOL WINAPI FreeADsStr(LPWSTR pStr)
182 FIXME("(%p)!stub\n",pStr);
183 return FALSE;
186 /*****************************************************
187 * ReallocADsStr [ACTIVEDS.19]
189 BOOL WINAPI ReallocADsStr(LPWSTR *ppStr, LPWSTR pStr)
191 FIXME("(%p,%p)!stub\n",*ppStr, pStr);
192 return FALSE;
195 /*****************************************************
196 * ADsEncodeBinaryData [ACTIVEDS.20]
198 HRESULT WINAPI ADsEncodeBinaryData(PBYTE pbSrcData, DWORD dwSrcLen, LPWSTR *ppszDestData)
200 FIXME("(%p,%d,%p)!stub\n", pbSrcData, dwSrcLen, *ppszDestData);
201 return E_NOTIMPL;